Results 1 to 6 of 6

Thread: Convert to 3gp with ffmpeg

  1. #1
    Join Date
    Aug 2011
    Beans
    40
    Distro
    Ubuntu 13.10 Saucy Salamander

    Cool Convert to 3gp with ffmpeg

    I tried running this command to convert to 3gp with no luck.

    ffmpeg -i filename.flv -s qcif -vcodec h264 -b 200k -acodec libfaac -ab 64k -y filename.3gp

    ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
    built on Jun 12 2012 16:37:58 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [flv @ 0x8f74240] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'filename.flv':
    Metadata:
    starttime : 0
    totalduration : 170
    totaldatarate : 335
    bytelength : 7146005
    canseekontime : true
    sourcedata : B4A7D6203HH1300837429600021
    purl :
    pmsg :
    Duration: 00:02:50.24, start: 0.000000, bitrate: 335 kb/s
    Stream #0.0: Video: h264 (Main), yuv420p, 320x240 [PAR 1:1 DAR 4:3], 281 kb/s, 25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 44100 Hz, mono, s16, 53 kb/s
    Unknown encoder 'h264'

    ffmpeg -i filename.flv -s qcif -vcodec h264 -b 200k -acodec libvo_aacenc -ab 64k -y filename.3gp

    ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
    built on Jun 12 2012 16:37:58 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [flv @ 0x9218240] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'filename.flv':
    Metadata:
    starttime : 0
    totalduration : 170
    totaldatarate : 335
    bytelength : 7146005
    canseekontime : true
    sourcedata : B4A7D6203HH1300837429600021
    purl :
    pmsg :
    Duration: 00:02:50.24, start: 0.000000, bitrate: 335 kb/s
    Stream #0.0: Video: h264 (Main), yuv420p, 320x240 [PAR 1:1 DAR 4:3], 281 kb/s, 25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 44100 Hz, mono, s16, 53 kb/s
    Unknown encoder 'h264'
    Isa Dsouza
    onionous.wordpress.com

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,658
    Distro
    Ubuntu

    Re: Convert to 3gp with ffmpeg

    Question moved to it's own thread.

  3. #3
    Join Date
    Aug 2011
    Beans
    40
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Convert to 3gp with ffmpeg

    Isa Dsouza
    onionous.wordpress.com

  4. #4
    Join Date
    Oct 2010
    Location
    London
    Beans
    481
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Convert to 3gp with ffmpeg

    'h264' isn't a valid encoder in ffmpeg, you'd need to use 'libx264' instead. here is a guide for encoding with libx264. Used correctly, this will get you better quality/size than using mpeg4.

  5. #5
    Join Date
    Aug 2011
    Beans
    40
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Convert to 3gp with ffmpeg

    I guessed as much about the h264 bit. I will give the guide a shot. It is very complicated though.
    Isa Dsouza
    onionous.wordpress.com

  6. #6
    Join Date
    Sep 2006
    Beans
    3,475

    Re: Convert to 3gp with ffmpeg

    Quote Originally Posted by isa.dsouza View Post
    I guessed as much about the h264 bit. I will give the guide a shot. It is very complicated though.
    If there are some particular confusing sections, or if you have any suggestions to make it more user friendly, then please let me know.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •