Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I now want to show an html5 video on a html page.

Now I have an sample.swf file, I want to convert it to .mp4 or .ogg or .webm file.

I have tried: ffmpeg -i sample.swf sample.mp4

But I got this error:

[swf @ 0000000001feef40] Could not find codec parameters for stream 0 (Audio: pcm_s16le, 5512 Hz, 1 channels, 88 kb/s): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[swf @ 0000000001feef40] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, swf, from 'sample.swf':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Audio: pcm_s16le, 5512 Hz, mono, 88 kb/s
    Stream #0:1: Video: mjpeg, yuvj444p, 1024x768 [SAR 100:100 DAR 4:3], 16 fps, 16 tbr, 16 tbn
File 'sample.mp4' already exists. Overwrite ? [y/N] y
Invalid sample format '(null)'
Error opening filters!
share

migration rejected from stackoverflow.com Jul 3 at 9:17

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as unclear what you're asking by slhck Jul 3 at 9:17

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Your console output is cut. Please include the full, uncut version. Hint: Try ffmpeg -i sample.swf -c:v libx264 -c:a libvo_aacenc -ac 2 sample.mp4 or similar. –  slhck Sep 24 '12 at 9:52