[MEncoder-users] MEncoder-users Digest, Vol 84, Issue 3

SilentShade lifeemulation at gmail.com
Mon Aug 8 12:07:03 CEST 2011


Thanks for reply.
I haven't tried this yet, but i found that specifying -noskip option helps in my case. However a/v sync issue still exist in some cases, but it's minor and can be ignored.. I only add it when the source is variable frame rate.
I'll try -demuxer option and post back if it helps.

08.08.2011, в 14:00, mencoder-users-request at mplayerhq.hu написал(а):

> Send MEncoder-users mailing list submissions to
> 	mencoder-users at mplayerhq.hu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> or, via email, send a message with subject or body 'help' to
> 	mencoder-users-request at mplayerhq.hu
> 
> You can reach the person managing the list at
> 	mencoder-users-owner at mplayerhq.hu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MEncoder-users digest..."
> Today's Topics:
> 
>   1. Re: transcoding from variable framerate MP4 to avi, a/v sync
>      problem - video stream much shorter (L. Lee)
> 
> От: "L. Lee" <llee040 at sbcglobal.net>
> Дата: 8 августа 2011 г. 8:00:44 Московское летнее время
> Кому: MEncoder usage discussions <mencoder-users at mplayerhq.hu>
> Тема: Ответ: [MEncoder-users] transcoding from variable framerate MP4 to avi, a/v sync problem - video stream much shorter
> Ответ-Кому: MEncoder usage discussions <mencoder-users at mplayerhq.hu>
> 
> 
> On 7/30/11 3:01 PM, "SilentShade" <lifeemulation at gmail.com> wrote:
> 
>> Hello everybody.
>> I'm trying make an all-in-one transcoder for any types of video, for web
>> streaming. The output is AVC/AAC in MP4 container. For that i use the
>> following techique:
>> 1. Encode input to avc/aac and remux it to avi container. (mencoder)
>> 2. Demux audio and video steams into separate files
>> 3. Mux to mp4 with gpac MP4Box
>> 
>> I ran into problem with an input mp4 file having variable framerate.
>> The sample command for stage 1 is:
>> mencoder -af volnorm=2 -oac faac -faacopts br=98:mpeg=4:object=2 -channels 2
>> -srate 44100 -ovc x264 -x264encopts
>> bitrate=500:subq=5:frameref=6:cabac:threads=auto:bframes=3:b_pyramid=normal:we
>> ight_b -ofps 30000/1001 -vf pp=hb/vb/lb,dsize=960:720:0,scale=-8:-8,harddup
>> infile.mp4 -o tmp.avi
>> 
> 
> Have you tried specifying a demuxer (-demuxer lavf, for example)?
> 
> 
> 
> 
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users



More information about the MEncoder-users mailing list