[FFmpeg-user] Convert avi to swf

Andrei Petru Mura mapandrei at gmail.com
Tue Oct 15 16:01:28 CEST 2013


On Tue, Oct 15, 2013 at 4:56 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Andrei Petru Mura <mapandrei <at> gmail.com> writes:
>
> > It works, but it shortens the swf file.
> >
> > ffmpeg -i input.avi -acodec copy -vcodec flv output.swf
>
> Complete, uncut console output missing.
>

/home/netnfork/bin/ffmpeg -i ./Event20131015123035001.avi -acodec copy
-vcodec flv out.swf
ffmpeg version git-2013-10-15-c35d29a Copyright (c) 2000-2013 the FFmpeg
developers
  built on Oct 15 2013 11:56:38 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-3)
  configuration: --prefix=/home/netnfork/ffmpeg_build
--extra-cflags=-I/home/netnfork/ffmpeg_build/include
--extra-ldflags=-L/home/netnfork/ffmpeg_build/lib
--bindir=/home/netnfork/bin --extra-libs=-ldl --enable-gpl --enable-nonfree
--enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex
--enable-libtheora
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 36.100 / 55. 36.100
  libavformat    55. 19.102 / 55. 19.102
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[avi @ 0xada5d60] probed stream 1 failed
[avi @ 0xada5d60] Could not find codec parameters for stream 1 (Subtitle:
none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[avi @ 0xada5d60] Could not find codec parameters for stream 2 (Subtitle:
none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, avi, from './Event20131015123035001.avi':
  Duration: 00:00:36.50, start: 0.000000, bitrate: 6799 kb/s
    Stream #0:0: Video: h264 (High) (X264 / 0x34363258), yuvj420p(pc),
1920x1080, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #0:1: Subtitle: none
    Stream #0:2: Subtitle: none
[swscaler @ 0xad94020] deprecated pixel format used, make sure you did set
range correctly
Output #0, swf, to 'out.swf':
  Metadata:
    encoder         : Lavf55.19.102
    Stream #0:0: Video: flv1 (flv), yuv420p, 1920x1080, q=2-31, 200 kb/s,
90k tbn, 30 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> flv)
Press [q] to stop, [?] for help
frame= 1095 fps= 37 q=31.0 Lsize=   44798kB time=00:00:36.50
bitrate=10054.3kbits/s
video:44777kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.045488%


> Carl Eugen
>


More information about the ffmpeg-user mailing list