[ Video Sharing CMS v4 ] ffmpeg problem, video not working

Started by anb1990,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

anb1990Topic starter

I installed ffmpeg on my server and tried it with tester,every thing was ok.
But when i'm trying to upload a video, thumbnail is showing up but i cant play the video with following message:
Error loadin media: file not found
any help please?
  •  

Marius P.

Hi,

it depends on your setup. Please check this http://www.phpvibe.com/forum/discussions/error/msg21097/#msg21097 and provide the details of the error, so I can guide you.

Quote from: @Mario on
Tutorials to read:


- Uploaded video not working on PHPVibe / Missing Video/ FFMPEG debug
http://www.phpvibe.com/uploading-not-working-on-phpvibe-missing-video-ffmpeg-debug/
- Choosing and configuring a server for PHPVibe
http://www.phpvibe.com/choosing-a-server-for-phpvibe/
- FFMPEG installation for a video script
http://www.phpvibe.com/ffmpeg-installation-for-a-video-script/



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!
  •  

anb1990Topic starter

  •  

Marius P.

Can you paste all the output of the ffmpeg debug? In the picture is cut off, at the end there could be an error which may tell what the problem is.
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!
  •  

anb1990Topic starter

Many thanks
Here it is:
array(22) {
  =>
  string(77) "ffmpeg version N-69208-gb4f5da2 Copyright (c) 2000-2015 the FFmpeg developers"
  [1]=>
  string(69) "  built on Jan 23 2015 02:09:27 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)"
  [2]=>
  string(94) "  configuration: --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib"
  [3]=>
  string(40) "  libavutil      54. 17.100 / 54. 17.100"
  [4]=>
  string(40) "  libavcodec     56. 20.100 / 56. 20.100"
  [5]=>
  string(40) "  libavformat    56. 19.100 / 56. 19.100"
  [6]=>
  string(40) "  libavdevice    56.  4.100 / 56.  4.100"
  [7]=>
  string(40) "  libavfilter     5.  8.101 /  5.  8.101"
  [8]=>
  string(40) "  libswscale      3.  1.101 /  3.  1.101"
  [9]=>
  string(40) "  libswresample   1.  1.100 /  1.  1.100"
  [10]=>
  string(40) "  libpostproc    53.  3.100 / 53.  3.100"
  [11]=>
  string(54) "Guessed Channel Layout for  Input Stream #0.1 : stereo"
  [12]=>
  string(31) "Input #0, avi, from 'test.avi':"
  [13]=>
  string(11) "  Metadata:"
  [14]=>
  string(35) "    encoder         : Lavf56.19.100"
  [15]=>
  string(59) "  Duration: 00:00:04.90, start: 0.000000, bitrate: 677 kb/s"
  [16]=>
  string(113) "    Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 426x240, 286 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc"
  [17]=>
  string(93) "    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 44100 Hz, 2 channels, s16, 352 kb/s"
  [18]=>
  string(76) "[libx264 @ 0x3565560] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX"
  [19]=>
  string(45) "[libx264 @ 0x3565560] profile High, level 3.0"
  [20]=>
  string(684) "[libx264 @ 0x3565560] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
  [21]=>
  string(132) "[aac @ 0x35664a0] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it."
}
int(1)






  •  

anb1990Topic starter

  •  

Marius P.

This seems to be the error in your ffmpeg :

  string(132) "[aac @ 0x35664a0] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it."



Add that -strict -2 to the PHPVibe ffmpeg command seems to be the easy solution , the conversion process can be found here http://www.phpvibe.com/forum/tutorials/altering-the-conversion-for-ffmpeg/
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!
  •  

Marius P.

Quote from: anb1990 on
any help please?

Sorry, just posted.
We've been busy with financial control on our heads.
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)

Replies: 13
Views: 3559

Replies: 3
Views: 7091

Replies: 45
Views: 9383

Replies: 6
Views: 4526

Replies: 3
Views: 6332