[FFmpeg-user] Can H263+ be in .3gp container?

Zhang Weiwu zhangweiwu at realss.com
Mon Jan 30 11:01:49 CET 2012


Using ffmpeg 0.9.1 (from http://ffmpeg.org/download.html ) on Ubuntu.
The version of ffmpeg from Ubuntu I purged.

Various article on the Internet says .3gp container can contain H263+ in
it, thus can handle 320x240 resolution. It didn't work for me. Error
message:

    [3gp @ 0x8fafea0] track 0: could not find tag, codec not currently
    supported in container


So is it because strictly .3gp cannot contain H263+ or ffmpeg doesn't
support it? Or did I misread it?

Thanks in advance! The full output is below:

$ ffmpeg -i Big_Buck_Bunny_Trailer_1080p.ogg -s 320:240 -vcodec h263p -acodec aac -strict experimental Big_Buck_Bunny_Trailer.3gp
ffmpeg version 0.9.1-4:0.9.1-0ubuntu1~jon1, Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  7 2012 15:09:01 with gcc 4.6.1
  configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu --enable-shared --disable-static
  WARNING: library configuration mismatch
  avutil      configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avconv
  avcodec     configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avconv
  avformat    configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avconv
  avdevice    configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avconv
  avfilter    configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avconv
  swscale     configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avconv
  postproc    configuration: --extra-version='4:0.9.1-0ubuntu1~jon1' --arch=i386 --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-x11grab --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avconv
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 4 / 53. 42. 4
  libavformat  53. 24. 2 / 53. 24. 2
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  52.  0. 0 / 52.  0. 0
[theora @ 0x8fb0f00] 7 bits left in packet 82
Input #0, ogg, from 'Big_Buck_Bunny_Trailer_1080p.ogg':
  Duration: 00:00:32.99, start: 0.000000, bitrate: 6757 kb/s
    Stream #0:0: Video: theora, yuv420p, 1920x1080, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: vorbis, 48000 Hz, stereo, s16, 80 kb/s
    Metadata:
      ENCODER         : ffmpeg2theora 0.19
File 'Big_Buck_Bunny_Trailer.3gp' already exists. Overwrite ? [y/N] y
w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[scale @ 0x9166e80] w:1920 h:1080 fmt:yuv420p -> w:320 h:180 fmt:yuv420p flags:0x4
[pad @ 0x9166ec0] w:320 h:180 -> w:320 h:240 x:0 y:0 color:0x108080FF[yuva]
[theora @ 0x8fb0f00] 7 bits left in packet 82
[3gp @ 0x8fafea0] track 0: could not find tag, codec not currently supported in container
Output #0, 3gp, to 'Big_Buck_Bunny_Trailer.3gp':
  Metadata:
    encoder         : Lavf53.24.2
    Stream #0:0: Video: h263p, yuv420p, 320x240, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      ENCODER         : ffmpeg2theora 0.19
Stream mapping:
  Stream #0:0 -> #0:0 (theora -> h263p)
  Stream #0:1 -> #0:1 (vorbis -> aac)
Could not write header for output file #0 (incorrect codec parameters ?)




More information about the ffmpeg-user mailing list