[Libav-user] What are the possible reasons for unsyncing of a video in a transmux to TS?

Ajita Pandey Ajita-Pandey at hcl.com
Wed Apr 25 07:45:18 CEST 2012


Even I am facing same problem whenever I am try to transcode a file from mp4 to mpeg even just for verify with mp4 to mp4.
The audio is working fine but mine case there is no vodeo rather freeze first frame of video.

Just to know some thing about audio pts I mean at the time muxing how audio pts effects it.

Acttually whenever there is elementary stream transcoding ie only video or only audio its working fine.


From: libav-user-bounces at ffmpeg.org [mailto:libav-user-bounces at ffmpeg.org] On Behalf Of Wagner Patriota
Sent: Wednesday, April 25, 2012 10:50 AM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
Subject: [Libav-user] What are the possible reasons for unsyncing of a video in a transmux to TS?

I am transmuxing a MP4 to TS.

the original MP4 plays perfect!

After my transmux:
- the audio is perfect.
- the video is playing a little faster than the audio, finishing first... what could be a possible reason for this?

I am doing via code, but the equivalent to this:
ffmpeg -i perfect.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb -y output.ts



The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or contain viruses.The e mail and its contents (with or without referred
errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Any views or opinions
presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its
affiliates. Any form of reproduction, dissemination, copying, disclosure, Modification, distribution and/or publication
of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments
please check them for viruses and defect.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120425/ee6e0fef/attachment.html>

More information about the Libav-user mailing list