#3064: Audio drafting out of sync on Samsung TV with ffmpeg created MP4 or MKV file -------------------------------------+------------------------------------- Reporter: ramitbhalla | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: When I create a MP4 file with AAC Audio or MKV with AC3 Audio the final file, the audio slowly over time drifts out of sync with the video when playing back on a Samsung TV.
This is wierd for 2 reasons: 1. This ONLY happens with ffmpeg created MP4 and MKV files. I create the same file with Handbrake it plays back fine with the Samsung TV 2. The file plays fine on other players (WMP, MCE, KMPlayer etc). Not sure what it is about ffmpeg created MP4 and MKV files that cause the audio to drift out. Is there some tag or setting I need to enable to make it more compliant universally? What is Handbrake doing to make it play fine. Not sure how to report this. This it the command I'm using to create the file. {{{ ffmpeg -probesize 100M -analyzeduration 300M -threads 0 -y -i "How I Met Your Mother_WGCL_2013_10_14_19_59_00.ts" -ss 3 -vf yadif=0:-1,hqdn3d,crop=704:384:8:34 -vcodec libx264 -b 1916444 -x264opts me=hex:trellis=1:subq=8:partitions=all:8x8dct=1:ref=3:rc- lookahead=50:keyint=25:min- keyint=20:bframes=1:weightb=1:level=4.0:b-pyramid=normal:direct=auto :mixed-refs=1:deblock=-1,-1:no-fast-pskip=1:no-dct- decimate=1:b-adapt=0:threads=auto -map 0:a -map 0:v -acodec libfdk_aac -ab 160k -cutoff 18000 -af volume=3.9dB -ac 2 "How I Met Your Mother_WGCL_2013_10_14_19_59_00-converted.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-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-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 --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass libavutil 52. 40.100 / 52. 40.100 }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3064> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac