Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2272 closed defect (fixed)

converted swf file can't play audio when played in Adobe flash player

Reported by: hxuanyu Owned by:
Priority: important Component: avformat
Version: git-master Keywords: swf regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

This issue can be reproduced on both latest Zeranoe build and Linux build.

I used ffmpeg command: ffmpeg.exe -i input.mp4 out.swf to convert a mp4 file into a swf file.

Then the generated swf file when played in Adobe flash player, couldn't stream audio. But the same file can stream audio correctly when played in VLC player.

I tried different versions of Zeranoe build and found that the first version that has this issue is ffmpeg-git-1eabd71-win32-static, which was release in 07 May 2012.

The source file I used to convert is here: https://dl.dropbox.com/u/7854771/big_buck_bunny.mp4

Attachments (1)

log.txt (6.0 KB ) - added by hxuanyu 11 years ago.
ffmpeg console output

Download all attachments as: .zip

Change History (4)

by hxuanyu, 11 years ago

Attachment: log.txt added

ffmpeg console output

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Keywords: regression added; encode removed
Status: newopen
Version: unspecifiedgit-master

Regression since f095391 / 620b88a

comment:2 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: openclosed

Should be fixed, thank you for the report!

comment:3 by Michael Niedermayer, 11 years ago

The problem was that av_get_audio_frame_duration() doesnt support mp3, so it did not set the correct value.

Note: See TracTickets for help on using tickets.