Hi All,
I'm upgrading our application from old version of ffmpeg to latest version.
Our application uses
ffmpeg libraries to do format conversion.
While current version of our application can successfully convert a mp4
file into a swf. After latest
ffmpeg code is used, generated swf, when played in adobe flash player
(installer
here
http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.exe
)
there's no audio heard. But the same file when played in VLC player, can
play audio correctly.
I also tried ffmpeg executable of latest version, versions on Apr, May and
Jun of 2012. None swf file
generated by them can play audio in flash player. The command I used is the
simplest form: ffmpeg -i input.mp4 output.swf
Since current version of our application uses ffmpeg at about May 2012, and
it can generate correct swf.
I guess there are some settings our application set got deprecated or
changed.
Does anyone have an idea of this?
Great thanks.
source mp4 link here:
https://dl.dropbox.com/u/7854771/big_buck_bunny.mp4and command line
log attached.
$ ffmpeg -i big_buck_bunny.mp4 big_buck_bunny.1.swf
ffmpeg version N-49844-g1ac0fa5 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 12 2013 17:42:46 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-libass --enable-libbluray --enable-libcaca
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.103 / 54. 91.103
libavformat 54. 63.100 / 54. 63.100
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 37.101 / 3. 37.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'big_buck_bunny.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2010-02-09 01:55:39
Duration: 00:01:00.10, start: 0.000000, bitrate: 733 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, fltp,
65 kb/s
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : Apple Sound Media Handler
Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 640x360, 612 kb/s, 23.96 fps, 24 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : Apple Video Media Handler
Stream #0:2(eng): Data: none (rtp / 0x20707472), 45 kb/s
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : hint media handler
Stream #0:3(eng): Data: none (rtp / 0x20707472), 5 kb/s
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : hint media handler
Output #0, swf, to 'big_buck_bunny.1.swf':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
encoder : Lavf54.63.100
Stream #0:0(eng): Video: flv1, yuv420p, 640x360, q=2-31, 200 kb/s, 90k tbn,
24 tbc
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : Apple Video Media Handler
Stream #0:1(eng): Audio: mp3, 22050 Hz, stereo, fltp
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : Apple Sound Media Handler
Stream mapping:
Stream #0:1 -> #0:0 (h264 -> flv)
Stream #0:0 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
frame= 1440 fps=391 q=31.0 Lsize= 2469kB time=00:01:00.16 bitrate=
336.1kbits/s
video:1959kB audio:470kB subtitle:0 global headers:0kB muxing overhead 1.622427%
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user