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!