[Libav-user] Muxing sample under 'docs' section compatibility with webm format
Taha Ansari
mtaha.ansari at gmail.com
Thu Jan 9 13:44:40 CET 2014
Hi,
I am using FFmpeg zeranoe build downloaded on Aug 30 2013. Running
ffmpeg.exe outputs following data:
ffmpeg version N-55922-g454a11a Copyright (c) 2000-2013 the FFmpeg
developers
built on Aug 30 2013 18:04:08 with gcc 4.7.3 (GCC)
configuration: --disable-static --enable-shared --enable-gpl
--enable-version3
--disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
--ena
ble-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --e
nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--en
able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --e
nable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 43.100 / 52. 43.100
libavcodec 55. 29.100 / 55. 29.100
libavformat 55. 15.100 / 55. 15.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 82.102 / 3. 82.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfi
le}...
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:
http://trac.ffmpeg.org/ticket/3231 , but I don't know if it was resolved
(and Windows build uploaded).
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.
Code hosted here: https://gist.github.com/anonymous/12a6210985814c9d5f09
Thanks for any pointers in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140109/a188460a/attachment.html>
More information about the Libav-user
mailing list