hno Posted September 23, 2011 Share Posted September 23, 2011 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 b® 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 https://forums.phpfreaks.com/topic/247690-unable-to-convert-3gp-to-flv-using-ffmpeg/ Share on other sites More sharing options...
WebStyles Posted September 23, 2011 Share Posted September 23, 2011 if you could post your code, maybe someone can help. thanks. Link to comment https://forums.phpfreaks.com/topic/247690-unable-to-convert-3gp-to-flv-using-ffmpeg/#findComment-1272066 Share on other sites More sharing options...
hno Posted September 24, 2011 Author Share Posted September 24, 2011 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 https://forums.phpfreaks.com/topic/247690-unable-to-convert-3gp-to-flv-using-ffmpeg/#findComment-1272271 Share on other sites More sharing options...
Buddski Posted September 24, 2011 Share Posted September 24, 2011 That isnt a PHP error. PHP is just giving you the output of the result, in this case is a fail. The issue appears to be with FFmpeg being unable to handle the 3gp file that you are trying to convert.. Link to comment https://forums.phpfreaks.com/topic/247690-unable-to-convert-3gp-to-flv-using-ffmpeg/#findComment-1272278 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.