{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf270 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} \margl1440\margr1440\vieww9000\viewh8400\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural \f0\fs24 \cf0 hari jayaram said:\ > Hi I am trying to convert an swf file I uncompressed with the cw2fs\ > utility into a flv file\ >\ > I get the following error while transcoding the file.\ > "Unsupported codec (id=0) for input stream #0.1 should have codec flv \ I have transcoded flv files before but this file that originated with a compressed swf is giving me problems\ The file plays fine with adobe flash player \ \ >\ > The stderr stream is\ >\ > localhost 200 # ffmpeg -i out.swf -s 640x480 -acodec copy -y out.flv\ > FFmpeg version SVN-r11200, Copyright (c) 2000-2007 Fabrice Bellard, et\ > al.\ > configuration: --enable-shared --enable-pthreads --enable-x11grab\ > --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libdc1394\ > --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora\ > --enable-libvorbis --enable-libx264 --enable-libxvid --enable-gpl\ > libavutil version: 49.5.0\ > libavcodec version: 51.48.0\ > libavformat version: 52.1.0\ > built on Dec 10 2007 16:44:42, gcc: 4.1.1 (Gentoo 4.1.1)\ > Input #0, swf, from 'out.swf':\ > Duration: 00:20:44.1, bitrate: 63 kb/s\ > Stream #0.0: Audio: mp3, 44100 Hz, mono, 64 kb/s\ > Stream #0.1: Video: 0x0000, 10.00 tb(r)\ ^^^^\ Above is the unsupported stream (video, not audio).\ \ > PIX_FMT_YUV420P will be used as an intermediate format for rescaling\ > Output #0, flv, to 'out.flv':\ > Stream #0.0: Video: flv, yuv420p, 640x480 [PAR 4:1 DAR 16:3],\ > q=2-31,\ > 200 kb/s, 10.00 tb(c)\ > Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, 64 kb/s\ > Stream mapping:\ > Stream #0.1 -> #0.0\ > Stream #0.0 -> #0.1\ > [flv @ 0x2b1a96b112c0]removing common factors from framerate\ > Unsupported codec (id=0) for input stream #0.1\ \ }