[FFmpeg-user] video delay after audio fix

funtastic officemab at gmail.com
Sun Mar 4 15:23:44 CET 2012


Am 4. März 2012 13:29 schrieb Carl Eugen Hoyos <cehoyos at ag.or.at>:

> funtastic <officemab <at> gmail.com> writes:
>
> > I tried to fix the file by applying the following command:
> > ffmpeg -i share.mp4 -sameq output.mp4
>
> Complete, uncut console output missing.
> Does the original sample play correct with MPlayer or ffplay?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


Sorry for the missing details... (will provide them now in greater detail)
Please see the output of "ffmpeg -i share.mp4 -sameq output.mp4"
here: http://pastebin.com/n40GJG3s

ffplay:
Playing the video with ffplay shows correct audio
and video BUT with a kind of slow motion for
the first several seconds.... (audio and video are
in sync after that)

MPlayer:
Plays the video but here, audio and video
are NOT in sync....

I obtained the share.mp4 video file with the following command:
ffmpeg -i rtsp://url.mp4 -vcodec copy -acodec copy -ss 0.00001 share.mp4

Thats the URL (rtsp://url.mp4) I use: http://pastebin.com/JWdXKiZc

Note: I need the -vcodec copy and -acodec copy options since my
system is too weak to perform heavy calculations during download... (so
please consider
this as necessary)

One interessing aspect: When I execute the "ffmpeg -i share.mp4 -sameq
output.mp4"
command, ffmpeg responds with:
"multiple edit list entries, a/v desync might occur, patch welcome"

Could this be a part of the problem and how to resolve the issue???

It would be great if it would be possible to download the correct stream
with
the -vcodec copy -acodec copy options...

Excited to hear your thoughts...

Regards
Martin


More information about the ffmpeg-user mailing list