View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: R5A26 Nuvexport Fails
PostPosted: Mon Nov 21, 2005 4:13 pm 
Offline
Joined: Tue Oct 04, 2005 3:14 pm
Posts: 21
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 10:28 pm 
Offline
Joined: Sun Dec 04, 2005 2:53 am
Posts: 26
Location: NZ
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2005 12:38 am 
Offline
Joined: Tue Oct 04, 2005 3:14 pm
Posts: 21
ive been using nuvexport --transcode. It works for now. Id prefer to use FFmpeg but i havent found a fix


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2005 1:57 am 
Offline
Joined: Sun Dec 04, 2005 2:53 am
Posts: 26
Location: NZ
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?


Top
 Profile  
 
 Post subject: SOLVED?
PostPosted: Sat Dec 17, 2005 5:11 am 
Offline
Joined: Sun Dec 04, 2005 2:53 am
Posts: 26
Location: NZ
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 11:46 am 
Offline
Joined: Thu Dec 01, 2005 4:51 am
Posts: 6
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!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu