LinHES Forums
http://forum.linhes.org/

R5A26 Nuvexport Fails
http://forum.linhes.org/viewtopic.php?f=6&t=7017
Page 1 of 1

Author:  goudiemark [ Mon Nov 21, 2005 4:13 pm ]
Post subject:  R5A26 Nuvexport Fails

I have a file recorded by a pvr 150, wanting to encode it into divx or xvid and xvid is disabled, and divx fails. It sits at 0% and waits and the says its compelted but its way to quick, like 4 mins. There is no file produced.

If you trasncode a file with the gui, what do you need to play it on a windows box, because changing the extension does not work like when its in mpeg2.

Author:  phlux0r [ Mon Dec 05, 2005 10:28 pm ]
Post subject: 

Exactly my question too. I'm experiencing the same problem. I have a fresh R5A26 install and when I try to run nuvexport-xvid it tells me that:
Code:
ffmpeg had critical errors:
Unknown video codec 'xvid'

With divx it's similar, it tells me that ffmpeg also had critical errors.

libxvid4 is installed on the box.

Somewhere I read that ffmpeg needs to be compiled with xvid enabled or some-such. So far everything else on this mythbox has worked very well so I was thinking this should too. I've searched google and the forums but the above post is all I found. Anyone else have this problem, or better yet, a tip for a solution? TIA.

Author:  goudiemark [ Tue Dec 06, 2005 12:38 am ]
Post subject: 

ive been using nuvexport --transcode. It works for now. Id prefer to use FFmpeg but i havent found a fix

Author:  phlux0r [ Tue Dec 06, 2005 1:57 am ]
Post subject: 

Thanks for that... indeed it works but, whoa, 1.6fps...

Is there a way to do the transcoding of a myth created nuv file elsewhere, say in windoze with virtualDub or similar?

Author:  phlux0r [ Sat Dec 17, 2005 5:11 am ]
Post subject:  SOLVED?

goudiemark wrote:
ive been using nuvexport --transcode. It works for now. Id prefer to use FFmpeg but i havent found a fix


Ok while nuvexport --transcode works for making XviD I've tinkered a bit more with ffmpeg and, after updating to a later version (with apt-get install ffmpeg) I got the ffmpeg with xvid-enabled so when using nuvexport, I now have the option to create XviD files. However, when I tried doing so, ffmpeg still wasn't working. After debugging, I established that ffmpeg didn't like 2 command line options that were passed to it, namely: -hq and -4mv (I don't know why that is because the ffmpeg documentation has those options - maybe the newer ffmpeg (version CVS, build 3277056 built on Nov 1 2005 21:49:36) has changed in that respect!?

Anyways, I went into the nuvexport scripts and found the places where
-hq:
/usr/local/share/nuvexport/export/ffmpeg.pm
and -4mv appeared:
/usr/local/share/nuvexport/export/ffmpeg/DivX.pm
/usr/local/share/nuvexport/export/ffmpeg/XviD.pm
commented them out and, voila, nuvexport worked and I'm getting about 5-6x the speed compared to transcode - yay.

It'd be nice if someone more knowledegable would comment whether removing those options is a bad idea and why they don't work in the first place?

Author:  eellektron [ Mon Jan 23, 2006 11:46 am ]
Post subject: 

i too was having the same problems cuz i compiled the latest ffmpeg from CVS and make install'ed the latest version of nuvexport

the ffmpeg docs are understandably out of date with the latest CVS version

# ffmpeg -hq foobar.mpg
ffmpeg: unrecognized option '-hq'

# ffmpeg -4mv foobar.mpg
ffmpeg: unrecognized option '-4mv'

i cant find any mentioned replacement for -hq
so i too commented out the reference to it in ffmpeg.pm

but -4mv seems to have been changed to -mv4
and it supposedly provides "four motion vector by macroblock (mpeg4)"

which sounds useful but my nuvexport couldnt parse "ffmpeg -version" output so it was sending -4mv instead of -mv4

so i changed line 62 of ffmpeg.pm to read

if ($data =~ m/ffmpeg\sversion\s(.+?),\s/si) {

and the above regex does not have a $2 and the ffmpeg_build variable is never used so i commented out line 64

#$self->{'ffmpeg_build'} = $2;

and now im transcoding with nuvexport, yay!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/