Jump to content

unable to convert 3gp to flv using ffmpeg


hno

Recommended Posts

HI,

When I trying to covnert 3gp to FLV I got this error:

 

FFmpeg version SVN-r12665, Copyright © 2000-2008 Fabrice Bellard, et al.

  configuration: --enable-gpl --enable-postproc --enable-swscale --enable-avfilt

er-lavf --enable-pthreads --enable-liba52 --enable-avisynth --enable-libfaac --e

nable-libfaad --enable-libgsm --enable-memalign-hack --enable-libmp3lame --enabl

e-libnut --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid

--cpu=i686 --extra-ldflags=-static

  libavutil version: 49.6.0

  libavcodec version: 51.54.0

  libavformat version: 52.13.0

  libavdevice version: 52.0.0

  built on Apr  2 2008 22:35:11, gcc: 4.2.3

 

Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/

1001) -> 15.00 (15/1)

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/v_1.3gp':

  Duration: 00:01:03.6, start: 0.000000, bitrate: 189 kb/s

    Stream #0.0(und): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 15.00 t

    Stream #0.1(und): Audio: samr / 0x726D6173, 8000 Hz, mono

WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not

kbits/s

Output #0, flv, to 'uploads/a.flv':

    Stream #0.0(und): Video: flv, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 20

0 kb/s, 15.00 tb©

    Stream #0.1(und): Audio: libmp3lame, 22050 Hz, mono, 0 kb/s

Stream mapping:

  Stream #0.0 -> #0.0

  Stream #0.1 -> #0.1

Unsupported codec (id=73728) for input stream #0.1

 

 

What should I do?

 

Thanks

Link to comment
Share on other sites

if you could post your code, maybe someone can help. thanks.

 

This is the converting code:shell_exec("$ffmpegpath -i uploads/$video_name -ar 22050 -ab 32 -f flv -s 320×240 uploads/$video_name2");

 

actually it converts most of the video files to FLV except 3gp which gave that error.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.