<div dir="ltr"><div><div><div>Hi,<br><br>I am using FFmpeg zeranoe build downloaded on Aug 30 2013. Running ffmpeg.exe outputs following data:<br><br>ffmpeg version N-55922-g454a11a Copyright (c) 2000-2013 the FFmpeg developers<br>
built on Aug 30 2013 18:04:08 with gcc 4.7.3 (GCC)<br> configuration: --disable-static --enable-shared --enable-gpl --enable-version3<br> --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena<br>
ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e<br>nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-lib<br>modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw<br>
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge<br>r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en<br>able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --e<br>
nable-libx264 --enable-libxavs --enable-libxvid --enable-zlib<br> libavutil 52. 43.100 / 52. 43.100<br> libavcodec 55. 29.100 / 55. 29.100<br> libavformat 55. 15.100 / 55. 15.100<br> libavdevice 55. 3.100 / 55. 3.100<br>
libavfilter 3. 82.102 / 3. 82.102<br> libswscale 2. 5.100 / 2. 5.100<br> libswresample 0. 17.103 / 0. 17.103<br> libpostproc 52. 3.100 / 52. 3.100<br>Hyper fast Audio and Video encoder<br>usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfi<br>
le}...<br><br></div>I compiled and ran muxing.c sample under windows; while it is working for some other common formats, for webm file, I get the video content, but dummy audio is not audible. Looking further, I discover that audio_pts values are greatly off. Also read this bug report here: <a href="http://trac.ffmpeg.org/ticket/3231">http://trac.ffmpeg.org/ticket/3231</a> , but I don't know if it was resolved (and Windows build uploaded).<br>
<br></div>Does anyone have working muxing.c code that spews correct audio_pts values (hence audible audio)? Merely following the patch that OP posted in above link only provides starting few samples to be audible, rest is still missing.<br>
<br></div><div>Code hosted here: <a href="https://gist.github.com/anonymous/12a6210985814c9d5f09">https://gist.github.com/anonymous/12a6210985814c9d5f09</a><br></div><div><br></div>Thanks for any pointers in advance.<br><br>
<br></div>