[Ffmpeg-devel] How to convert .3g2 .mp4 files to SWF format

shamju joseph shamjuj
Wed Aug 30 08:46:24 CEST 2006


Dear all
I'm getting errors when I tried to convert some .3g2,
.mp4 files to SWF format. The output listings are
given below. Please suggest me some solution.

Thanks
Shamju Joseph

----------------------------------------------------
bash-2.05b$ ./ffmpeg -sameq -i 0616060922.3g2 -f swf
0616060922.swf
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004
Fabrice Bellard
  configuration: 
--extra-cflags=-I/home/shamju/Demo1/lame/include
--extra-ldflags=-L/home/shamju/Demo1/lame/lib
--enable-mp3lame --prefix=/home/shamju/Demo1/ffmpegsvn
--cc=gcc32
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 30 2006 11:32:41, gcc: 3.2.3 20030422
(Red Hat Linux 3.2.3-6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'0616060922.3g2':
  Duration: 00:00:14.8, start: 0.000000, bitrate: 118
kb/s
  Stream #0.0(eng): Video: h263, yuv420p, 176x144,
29.97 fps(r)
  Stream #0.1(eng): Audio: mp4a / 0x6134706D, 8000 Hz,
stereo
Output #0, swf, to '0616060922.swf':
  Stream #0.0: Video: flv, yuv420p, 176x144, q=2-31,
200 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: mp3, 8000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Unsupported codec (id=86043) for input stream #0.1
----------------------------------------------------
bash-2.05b$ ./ffmpeg -sameq -i GetTech.mov -f swf
GetTech.swf
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004
Fabrice Bellard
  configuration: 
--extra-cflags=-I/home/shamju/Demo1/lame/include
--extra-ldflags=-L/home/shamju/Demo1/lame/lib
--enable-mp3lame --prefix=/home/shamju/Demo1/ffmpegsvn
--cc=gcc32
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 30 2006 11:32:41, gcc: 3.2.3 20030422
(Red Hat Linux 3.2.3-6)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8339b5c]negative ctts,
ignoring
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GetTech.mov':
  Duration: 00:00:31.2, start: 0.000000, bitrate: 152
kb/s
  Stream #0.0(eng): Audio: mp4a / 0x6134706D, 32000
Hz, mono
  Stream #0.1(eng): Video: h264, yuv420p, 160x120, 
9.99 fps(r)
Output #0, swf, to 'GetTech.swf':
  Stream #0.0: Video: flv, yuv420p, 160x120, q=2-31,
200 kb/s,  9.99 fps(c)
  Stream #0.1: Audio: mp3, 32000 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
[flv @ 0x83c180c]removing common factors from
framerate
Unsupported codec (id=86018) for input stream #0.0

-------------------------------------------------

bash-2.05b$ ./ffmpeg -sameq -i 2863.wmv -f swf
2863.swf
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004
Fabrice Bellard
  configuration: 
--extra-cflags=-I/home/shamju/Demo1/lame/include
--extra-ldflags=-L/home/shamju/Demo1/lame/lib
--enable-mp3lame --prefix=/home/shamju/Demo1/ffmpegsvn
--cc=gcc32
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 30 2006 11:32:41, gcc: 3.2.3 20030422
(Red Hat Linux 3.2.3-6)

Seems that stream 1 comes from film source: 1000.00
(1000/1) -> 24.00 (24/1)
Input #0, asf, from '2863.wmv':
  Duration: 00:00:41.0, start: 3.000000, bitrate: 408
kb/s
  Stream #0.0: Audio: wmav2, 32000 Hz, stereo, 48 kb/s
  Stream #0.1: Video: wmv2, yuv420p, 320x240, 24.00
fps(r)
Output #0, swf, to '2863.swf':
  Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31,
200 kb/s, 24.00 fps(c)
  Stream #0.1: Audio: mp3, 32000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Could not write header for output file #0 (incorrect
codec parameters ?)
----------------------------------------------------

bash-2.05b$ ./ffmpeg -sameq -i MP4sample_movie.mp4 -f
swf MP4sample_movie.swf
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004
Fabrice Bellard
  configuration: 
--extra-cflags=-I/home/shamju/Demo1/lame/include
--extra-ldflags=-L/home/shamju/Demo1/lame/lib
--enable-mp3lame --prefix=/home/shamju/Demo1/ffmpegsvn
--cc=gcc32
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 30 2006 11:32:41, gcc: 3.2.3 20030422
(Red Hat Linux 3.2.3-6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'MP4sample_movie.mp4':
  Duration: 00:01:14.3, start: 0.000000, bitrate: 902
kb/s
  Stream #0.0(eng): Data: mp4s / 0x7334706D
  Stream #0.1(eng): Data: mp4s / 0x7334706D
  Stream #0.2(eng): Video: mpeg4, yuv420p, 240x176,
29.97 fps(r)
  Stream #0.3(eng): Audio: mp4a / 0x6134706D, 44100
Hz, stereo
Output #0, swf, to 'MP4sample_movie.swf':
  Stream #0.0: Video: flv, yuv420p, 240x176, q=2-31,
200 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: mp3, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.2 -> #0.0
  Stream #0.3 -> #0.1
Unsupported codec (id=86018) for input stream #0.3

-------------------------------------------------






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the ffmpeg-devel mailing list