[MEncoder-users] Why Mencoder's mpeg output can not be

DD DD d2ncal2 at gmail.com
Sun Nov 26 08:02:26 CET 2006


On 11/25/06, DD DD <d2ncal2 at gmail.com> wrote:
>
> On 11/22/06, RC <rcooley at spamcop.net> wrote:
> >
> > On Wed, 22 Nov 2006 14:53:48 -0800
> > "DD DD" <d2ncal2 at gmail.com> wrote:
> >
> > > It works pretty well, and am able to play the file in windows media
> > > player fine. However, im having some AV sync issues.. any idea how to
> > > fix it?
> >
> > -vf harddup may help.  But really, I would recomend dumping the
> > audio/video to seperate files, and muxing with mplex, tcmplex, or
> > similar.
> > _______________________________________________
> > MEncoder-users mailing list
> > MEncoder-users at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> >
>
> Used this:
>
> ffmpeg -i t.flv -acodec mp2  t.mp2
> ffmpeg -i t.flv -an -vcodec mpeg1video t.m1v
> mplex -r 640 -f 0 -o t.mpg t.mp2 t.m1v
>
> However, the av sync is really bad now, even worst than not using mplex.
>
> If i specify a specific bitrate while extracting the video, mplex starts
> giving 'Frame data under-runs detected' errors till the bitrate is increased
> to a very very high number. And even so, the final a/v is not synced.
>
> Its the same if i extract the video using mencoder.
> D.
>
>
>
Also tried the raw dump + encoding using mpeg2enc, but doesn't improve the
avsync :(.

mplayer -vo yuv4mpeg -ao null t.flv
mplayer -vo null -vc null -ao pcm:fast t.flv

mpeg2enc --verbose 0 --format 0 --interlace-mode 0 --video-norm n
--frame-rate 1 --aspect 2 -o t.m1v < stream.yuv
mp2enc -o t.mp2 < audiodump.wav

mplex -f 0 -o t.mpg t.m1v t.mp2

D.



More information about the MEncoder-users mailing list