[mythtv-users] transcode keeping AC3 and internal player/mencoder strangeness

Michael T. Dean mtdean at thirdcontact.com
Mon Feb 19 15:34:02 UTC 2007


On 02/18/2007 10:30 PM, Jason Ferrara wrote:
> I'm trying to transcode HD recordings down to a reasonable file size  
> while keeping the AC3 5.1 audio intact.
>
> I wrote a user job script which basically does...
>
> mencoder infile -oac copy -ovc xvid -vf scale=1280:-3 -xvidencopts  
> pass=1:vhq=0:me_quality=5:turbo:quant_type=mpeg:max_bframes=0:bitrate=22 
> 00
> mencoder infile -oac copy -ovc xvid -vf scale=1280:-3 -xvidencopts  
> pass=2:quant_type=mpeg:max_bframes=0:bitrate=2200 -of lavf -lavfopts  
> i_certify_that_my_video_stream_does_not_use_b_frames:format=avi -o   
> outfile
> update recorded set basename = oufile where basename = infile
> update recorded set filesize = newFileSize where basename = outfile
> /usr/bin/mythcommflag --rebuild -f  outfile
>
> The resulting file initially plays ok in mythtv, but if seek around  
> the file a few times, the audio gets out of sync by about 1/2 second.  
> I can seek around the file in mplayer without any problems.

What happens when you use "mythtranscode --buildindex" (with appropriate 
arguments to select the appropriate file) instead of "mythcommflag 
--rebuild"?

Mike



More information about the mythtv-users mailing list