Convert swf file to mp4 file using FFMPEG
        Posted  
        
            by 
                user1624004
            
        on Super User
        
        See other posts from Super User
        
            or by user1624004
        
        
        
        Published on 2012-09-24T09:04:32Z
        Indexed on 
            2013/11/01
            10:02 UTC
        
        
        Read the original article
        Hit count: 485
        
ffmpeg
|video-conversion
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!
© Super User or respective owner