[FFmpeg-user] TS to MP4 Audio Sync issues

tommiy tommiyau at gmail.com
Sun Jul 17 01:29:58 CEST 2011


I'm trying to take a ts stream to a mp4 but for some reason the end mp4 is
always out of sync. It doesn;t sem to suffer drift its just off from start
to finish. I get the error message below when encoding but can not determine
if this is the reason for the audio sync issues or is unrelated. Can some on
tell me the right direction to proceed in to try and get my encoding to
work. On the off chance that the ts stream had incorrcet indices I also
passed it through megrepair but the end result was the same. Thanks.

ffmpeg version N-31329-g58257ea, Copyright (c) 2000-2011 the FFmpeg
developers
  built on Jul  8 2011 22:30:39 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack
--enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype
--enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 3 /  2. 24. 3
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mp3 @ 00000000019424E0] Header missing
[mpegts @ 000000000031EC40] *max_analyze_duration 5000000 reached at
5016000*
[NULL @ 000000000031FA00] *start time is not set in
av_estimate_timings_from_pts*
Input #0, mpegts, from 'test 6_Fixed.ts':
  Duration: 00:31:38.36, start: 2.771000, bitrate: 2875 kb/s
  Program 1
    Stream #0.0[0x11]: Video: mpeg2video (Main), yuv420p, 704x576 [PAR 16:11
DAR
 16:9], 10000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x14]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s


I've also tried -maxanlyze being the entire length of the ts file but that
didn;t help.

Suggestions please?

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/TS-to-MP4-Audio-Sync-issues-tp3672620p3672620.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list