[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 16:10:50 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):

 No particular reason I use a batch script/mcebuddy program to convert the
 files, just a template.

 Here is the simplest command I can use to replicate the issue.


 {{{
 ffmpeg.239-2310 -i ..\House.wtv -vcodec mpeg4 -b 700k -acodec aac -strict
 -2 -ab 12
 8k test.mp4
 ffmpeg version N-46726-g2f74f8d Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Nov 13 2012 19:29:51 with gcc 4.7.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-pthreads
 --enable-runtime-cpudetect --enable-avisynth --enable
 -bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libfreetype --enab
 le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroed
 inger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-li
 bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      52.  6.100 / 52.  6.100
   libavcodec     54. 71.100 / 54. 71.100
   libavformat    54. 36.100 / 54. 36.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 23.100 /  3. 23.100
   libswscale      2.  1.102 /  2.  1.102
   libswresample   0. 16.100 /  0. 16.100
   libpostproc    52.  1.100 / 52.  1.100
 [mpeg2video @ 02fd52c0] mpeg_decode_postinit() failure
     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,
 s16, 384 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         : Lavf54.36.100
     Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x480 [SAR
 8:9 DAR 4:3], q=2-31, 700 kb/s, 30k tbn, 29.9
 7 tbc
     Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo,
 fltp, 128 kb/s
 Stream mapping:
   Stream #0:1 -> #0:0 (mpeg2video -> mpeg4)
   Stream #0:2 -> #0:1 (mp2 -> aac)
 Press [q] to stop, [?] for help
 ac-tex damaged at 19 172.9 size=  122373kB time=00:20:10.29 bitrate=
 828.3kbits/s dup=30 drop=0
 [mpeg2video @ 02fd52c0] Warning MVs not available
 [mpeg2video @ 02fd52c0] concealing 585 DC, 585 AC, 585 MV errors in P
 frame
 [mp2 @ 02fd58a0] incomplete frame
 Error while decoding stream #0:2: Invalid data found when processing input
 frame=36379 fps=143 q=15.5 Lsize=  123802kB time=00:20:13.84 bitrate=
 835.5kbits/s dup=32 drop=0
 video:103942kB audio:18827kB subtitle:0 global headers:0kB muxing overhead
 0.841531%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3064#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list