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:
PostPosted: Sat Nov 19, 2005 2:21 pm 
Offline
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
Divx transcoding using mencoder seems pretty fast (faster than I was expecting at any rate on a 1.4ghz athlon).

unfortunately the quality is suboptimal with

mencoder /myth/tv/1069_20051118233500_20051119020000.nuv -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=680:vhq:vqmin=2:vlelim=-4:vcelim=9:lumi_mask=0.05:dark_mask=0.01 -vop scale -zoom -xy 640 -oac mp3lame -lameopts abr:br=96 -o /myth/video/The_Game__11182335.avi



anyone suggest a better command line for this ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 19, 2005 3:59 pm 
Offline
Joined: Sun Nov 06, 2005 4:34 pm
Posts: 35
I'm not a command line guy when it comes to menencoder, but I don't see anything there for 2-pass. You'll probably get much better quality with 2-pass encoding. Of course it'll take about twice as long, but then it'll probably take about as long as you thought it should. ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 19, 2005 7:25 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
may want to give nuvexport a try. I have been really impressed.

If you want to stick with Divx

Code:
nuvexport


If you want to use multipass XviD

Quote:
nuvexport --transcode


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 20, 2005 6:55 am 
Offline
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
Yeah - looked at this before - but gave up cos it was transcoding at less than 1 frame/second 2 pass

mencoder was managing up to 35 fps which made it seem more attractive to me.

even nuvexport in single pass is much slower - (according to my benchmarks over 100hours elapsed to do a single film (never waited that long for it to complete!) - this compares with 2-3 for mencoder)


Top
 Profile  
 
PostPosted: Tue Nov 22, 2005 1:38 pm 
Offline
Joined: Wed Aug 24, 2005 3:44 am
Posts: 210
More oddness here - keen to explore the diff between nuvexport and mencoder i decided to transcode using nuvexport and just wait and see how long it would take to produce the divx.

When you start it says anything from 1-15fps depending on the options chosen

I chose the following




Code:
Where would you like to export the files to? [.] /myth/video
Enable Myth cutlist? [Yes] n
Enable noise reduction (slower, but better results)? [Yes] n
Enable deinterlacing? [Yes]
Crop broadcast overscan (2% border)? [Yes]
Audio bitrate? [128]
Variable bitrate video? [Yes]
Multi-pass (slower, but better quality)? [Yes]
Video bitrate? [960]
Default resolution based on 4:3 aspect ratio.
Width? [624]
Height? [464]

Now encoding:  Terminator 3: Rise of the Machines:  Untitled
Encode started:  Tue Nov 22 11:35:45 2005
First pass...
Waiting for mythtranscode to set up the fifos.
Starting ffmpeg.
processed:  194155 of 2357976 frames (8.23%),  16.54 fps
mythtranscode finished.
processed:  194156 of 2357976 frames (8.23%),  16.54 fps
ffmpeg finished.
Final pass...
Waiting for mythtranscode to set up the fifos.
Waiting for mythtranscode to set up the fifos.
Starting ffmpeg.
processed:  194143 of 2357976 frames (8.23%),  14.85 fps
mythtranscode finished.
processed:  194156 of 2357976 frames (8.23%),  14.85 fps
ffmpeg finished.

Encode finished:  Tue Nov 22 18:29:21 2005
Encode lasted: 6h 53m 36s


What I cant understand it
1) why it completed in only 7 hours (my estimations based on the framerate and the percentage complete suggested closer to 100hrs)

2) why when it finished it says 8.23% and not 100%


is this a issue with nuvexport or am i missing something ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 22, 2005 2:30 pm 
Offline
Joined: Sun May 23, 2004 1:50 pm
Posts: 78
Location: Palmdale, CA
I use the following to get good results from MPEG2 files...

Code:
#set the variables for transcoding
opt="vbitrate=2160000:mbd=2:keyint=132:vqblur=1.0:cmp=2:subcmp=2:dia=2:mv0:last_pred=3"

#Pass 1
mencoder -oac mp3lame -lameopts abr:br=224 -ovc lavc -lavcopts vcodec=msmpeg4v2:vpass=1:$opt -mf type=sgi:fps=29.97 -vf lavcdeint -vf-add scale -zoom -xy 720 -o /dev/null /PATH/TO/INPUT.FILE

#Pass 2
mencoder -oac mp3lame -lameopts abr:br=224 -ovc lavc -lavcopts vcodec=msmpeg4v2:vpass=2:$opt -mf type=sgi:fps=29.97 -vf lavcdeint -vf-add scale -zoom -xy 720 -o /PATH/TO/OUTPUT.avi /PATH/TO/INPUT.FILE

I use msmpeg4v2 to ensure it will play on windows (I'm normally transcoding unencrypted DVD's of inhouse materials).


To be fair, this is an adaptation of some other info I found on the net...


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 16 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