• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] ffmpeg is exiting with code 1

Started by anokana,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

anokanaTopic starter

Hello!
I am trying to test ffmpeg conversion feature.
It does not convert anything, ffmpeg is always exiting with error code #1.
What does it mean and how to solve it?

  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

anokanaTopic starter

Hi, Mario.
Thank you for the topic update...
I have version 0.6.5 installed on the hosting. I did'nt pay attention to the minimum requirements. The conversion function needs 1.x+ minimum...
Isn't it?
  •  

Marius P.

Indeed, 0.6 doesn't play well with .mp4 and fast start. If you give me the error itself via the tester, I can try to give you an version for 0.6, but is an poor choice (will trow you couple of years back in video conversion).
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

anokanaTopic starter

This is the link for the tester:
http://kippah-tube.com/tester/
I asked the hoster, he told that he can upgrade the ffmpeg, but it will take time..
Could you please give me update for using last phpvibe with ffmpeg 0.6 for now?
Thanks


  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

anokanaTopic starter

Hi, Mario, thank you for update.
This code
$output ="{ffmpeg-cmd} -i {input} -vcodec libx264 -s {ffmpeg-vsize} -threads 4 {output}.mp4 2>&1";
makes the output mp4 but it is always empty (0 bytes length)...
I am using ffmpeg 0.6.5. What is exact code for this version of ffmpeg?


  •  

anokanaTopic starter

This is the output message I'm getting, the target file is empty:

array(16) {
  • =>
    string(67) "FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers"
    [1]=>
    string(74) " built on Aug 15 2012 05:53:07 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)"
    [2]=>
    string(704) " configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libtheora"
    [3]=>
    string(35) " libavutil 50.15. 1 / 50.15. 1"
    [4]=>
    string(35) " libavcodec 52.72. 2 / 52.72. 2"
    [5]=>
    string(35) " libavformat 52.64. 2 / 52.64. 2"
    [6]=>
    string(35) " libavdevice 52. 2. 0 / 52. 2. 0"
    [7]=>
    string(35) " libavfilter 1.19. 0 / 1.19. 0"
    [8]=>
    string(35) " libswscale 0.11. 0 / 0.11. 0"
    [9]=>
    string(35) " libpostproc 51. 2. 0 / 51. 2. 0"
    [10]=>
    string(46) "[avi @ 0x1b0ce8b0]max_analyze_duration reached"
    [11]=>
    string(31) "Input #0, avi, from 'test.avi':"
    [12]=>
    string(60) " Duration: 00:00:06.25, start: 0.000000, bitrate: 1071 kb/s"
    [13]=>
    string(82) " Stream #0.0: Video: IV41 / 0x31345649, 256x240, 40 fps, 40 tbr, 40 tbn, 40 tbc"
    [14]=>
    string(63) "swScaler: Unknown format is not supported as input pixel format"
    [15]=>
    string(29) "Cannot get resampling context"
    }
  •  

Bob.Weston

it makes no sense to continue testing until your servers FFMPEG is updated, phpVibe does not work with FFMPEG 0.6.5

Tell your host to upgrade the FFMPEG, the latest version is 2.4.1

Bob
  •  

Marius P.

The last one should work on 0.6 but with poor results (0.6 was flash till the bone, working with .flv mainly).

$output ="{ffmpeg-cmd} -y -i {input} {output}.mp4 2<&1";
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)