[FFmpeg-trac] #3064(undetermined:new): Audio drafting out of sync on Samsung TV with ffmpeg created MP4 or MKV file
FFmpeg
trac at avcodec.org
Mon Oct 21 00:55:18 CEST 2013
#3064: Audio drafting out of sync on Samsung TV with ffmpeg created MP4 or MKV
file
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by ramitbhalla):
Okay so there are the results, I tried 2 additional configurations:
1. With only libx264, no filter chains
2. With mpeg4, no filter chains
With both it created a mp4 file in which the audio slowly drifts out of
sync when played back on the TV.
I also tried using handbrake on the same file and it doesn't drift when
playing back on the TV.
This is happening with ALL the files, not just one.
{{{
ffmpeg.2314Custom1.exe -y -i "..\House.wtv" -vcodec mpeg4 -b 1368888 -map
0:a -map
0:v -acodec libfdk_aac -ab 160k -cutoff 18000 -ac 2 test.mp4
ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg
developers
built on Oct 14 2013 09:33:16 with gcc 4.8.0 (GCC)
configuration: --arch=x86 --target-os=mingw32 --cross-
prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264
--enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-
libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype
--enable-libopus --disable-w32threads --enable-frei0r
--enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-
libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc
--enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-
cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libcaca
--prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32
--enable-static --disab
le-shared --enable-libsoxr --enable-fontconfig --enable-libass libavutil
52. 40.100 / 52. 40.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 81.101 / 3. 81.101
libswscale 2. 4.100 / 2. 4.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[wtv @ 03b24640] truncated file
Last message repeated 2 times
[mpeg2video @ 03b15360] Invalid frame dimensions 0x0.
Last message repeated 13 times
Input #0, wtv, from '..\House.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : House
WM/SubTitle : Fetal Position
WM/SubTitleDescription: A pregnant photographer collapses in the midst
of a photo shoot with a famous musician (Tyso
n Ritter); Foreman and Cuddy learn about Cameron and Chase's secret
relationship.
genre : Drama;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : Hugh Laurie/Lisa Edelstein/Omar Epps/Robert Sean
Leonard/Jennifer Morrison/Jesse Spencer;;;Anne Ra
msay/Tyson Ritter/Jeff Sugarman/Bobbin Bergstrom
service_provider: USA
service_name : USA Network
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 42
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2007-04-03T04:00:00Z
WM/MediaOriginalRunTime: 12784870062
WM/MediaIsStereo: true
WM/MediaIsRepeat: true
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : false
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/ParentalRating: TV-14
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-02-01 18:40:41
WM/WMRVSeriesUID: !MCSeries!00688359
WM/WMRVServiceID: !MCService!28459373
WM/WMRVProgramID: !MCProgram!165184208
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 2498
WM/WMRVOriginalSoftPostPadding: 120
WM/WMRVHardPrePadding: -2438
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: false
WM/WMRVHDContent: false
Duration : 12344800341
WM/WMRVEndTime : 2012-02-01 19:01:15
WM/WMRVBitrate : 8.074463
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: -3
WM/WMRVActualSoftPostPadding: 75
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
Duration: 00:20:13.31, start: 11.593745, bitrate: 8215 kb/s
Stream #0:0[0x32]: Subtitle: eia_608
Stream #0:1[0x33]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9
DAR 4:3], 29.97 fps, 29.97 tbr, 10000k tbn, 5
9.94 tbc
Stream #0:2[0x34]: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo,
s16p, 256 kb/s
Please use -b:a or -b:v, -b is ambiguous
Output #0, mp4, to 'test.mp4':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : House
WM/SubTitle : Fetal Position
WM/SubTitleDescription: A pregnant photographer collapses in the midst
of a photo shoot with a famous musician (Tyso
n Ritter); Foreman and Cuddy learn about Cameron and Chase's secret
relationship.
genre : Drama;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : Hugh Laurie/Lisa Edelstein/Omar Epps/Robert Sean
Leonard/Jennifer Morrison/Jesse Spencer;;;Anne Ra
msay/Tyson Ritter/Jeff Sugarman/Bobbin Bergstrom
service_provider: USA
service_name : USA Network
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 42
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2007-04-03T04:00:00Z
WM/MediaOriginalRunTime: 12784870062
WM/MediaIsStereo: true
WM/MediaIsRepeat: true
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : false
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/ParentalRating: TV-14
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-02-01 18:40:41
WM/WMRVSeriesUID: !MCSeries!00688359
WM/WMRVServiceID: !MCService!28459373
WM/WMRVProgramID: !MCProgram!165184208
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 3
WM/WMRVOriginalSoftPrePadding: 2498
WM/WMRVOriginalSoftPostPadding: 120
WM/WMRVHardPrePadding: -2438
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: false
WM/WMRVHDContent: false
Duration : 12344800341
WM/WMRVEndTime : 2012-02-01 19:01:15
WM/WMRVBitrate : 8.074463
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: -3
WM/WMRVActualSoftPostPadding: 75
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
encoder : Lavf55.12.102
Stream #0:0: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 48000
Hz, stereo, s16, 160 kb/s
Stream #0:1: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x480 [SAR
8:9 DAR 4:3], q=2-31, 1368 kb/s, 30k tbn, 29.
97 tbc
Stream mapping:
Stream #0:2 -> #0:0 (mp2 -> libfdk_aac)
Stream #0:1 -> #0:1 (mpeg2video -> mpeg4)
Press [q] to stop, [?] for help
ac-tex damaged at 19 17.2 size= 226259kB time=00:20:11.84
bitrate=1529.5kbits/s dup=30 drop=0
[mpeg2video @ 03b15360] Warning MVs not available
[mpeg2video @ 03b15360] concealing 585 DC, 585 AC, 585 MV errors in P
frame
[mp2 @ 021fd0c0] incomplete frame
Error while decoding stream #0:2: Invalid data found when processing input
frame=36379 fps=186 q=6.3 Lsize= 227746kB time=00:20:13.84
bitrate=1537.0kbits/s dup=32 drop=0
video:203016kB audio:23696kB subtitle:0 global headers:0kB muxing overhead
0.455695%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3064#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list