[FFmpeg-user] Convert avi to swf
Andrei Petru Mura
mapandrei at gmail.com
Wed Oct 16 14:31:47 CEST 2013
On Wed, Oct 16, 2013 at 2:23 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Andrei Petru Mura <mapandrei <at> gmail.com> writes:
>
> > I don't know how to play with ffmpeg (probably you mean ffplay).
>
> I meant FFmpeg the project which also contains ffplay.
> But the sample also plays fine with the following here:
> $ ffmpeg -i geo_vision_format.avi -f sdl -pix_fmt yuv420p 0
>
$ ./bin/ffmpeg -i
/media/artaxerxe/AC1B-69A3/avi_from_server/geo_vision_format.avi -f sdl
-pix_fmt yuv420p 0
ffmpeg version git-2013-10-16-10c6d1b Copyright (c) 2000-2013 the FFmpeg
developers
built on Oct 16 2013 14:56:56 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: --prefix=/home/artaxerxe/ffmpeg_build
--extra-cflags=-I/home/artaxerxe/ffmpeg_build/include
--extra-ldflags=-L/home/artaxerxe/ffmpeg_build/lib
--bindir=/home/artaxerxe/bin --extra-libs=-ldl --enable-gpl --enable-libass
--enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
--enable-x11grab
libavutil 52. 46.101 / 52. 46.101
libavcodec 55. 37.100 / 55. 37.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 @ 0x9e2ad60] probed stream 1 failed
[avi @ 0x9e2ad60] Could not find codec parameters for stream 1 (Subtitle:
none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[avi @ 0x9e2ad60] 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
'/media/artaxerxe/AC1B-69A3/avi_from_server/geo_vision_format.avi':
Duration: 00:00:42.13, start: 0.000000, bitrate: 8301 kb/s
Stream #0:0: Video: h264 (High) (GAVC / 0x43564147), yuvj420p(pc),
1920x1080, 30 fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Subtitle: none
Stream #0:2: Subtitle: none
[swscaler @ 0x9e19020] deprecated pixel format used, make sure you did set
range correctly
Output #0, sdl, to '0':
Metadata:
encoder : Lavf55.19.102
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080,
q=2-31, 200 kb/s, 90k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> rawvideo)
Press [q] to stop, [?] for help
frame= 49 fps=8.2 q=0.0 Lsize=N/A time=00:00:01.63 bitrate=N/A
video:148838kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-100.000014%
Received signal 2: terminating.
So, it seems that something is missing (Stream #0:1 and #0:2). But it is
the same with the video played with GeoVision's codecs.
>
> > To make mplayer use ffplay I don't know
>
> The following works fine here:
> $ mplayer geo_vision_format.avi
> (ffplay only supports sdl which is a bad choice, MPlayer
> supports OpenGl, XVideo and VDPAU which all should perform
> better.)
>
$ mplayer /media/artaxerxe/AC1B-69A3/avi_from_server/geo_vision_format.avi
MPlayer svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing /media/artaxerxe/AC1B-69A3/avi_from_server/geo_vision_format.avi.
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO: [GAVC] 1920x1080 24bpp 30.000 fps 8280.1 kbps (1010.8 kbyte/s)
Load subtitles in /media/artaxerxe/AC1B-69A3/avi_from_server/
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Cannot find codec matching selected -vo and video format 0x43564147.
==========================================================================
Exiting... (End of file)
Andrei M.
More information about the ffmpeg-user
mailing list