Closed (duplicate)
Project:
Video
Version:
7.x-1.x-dev
Component:
Video Trasncoding
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2011 at 20:55 UTC
Updated:
15 Aug 2011 at 12:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
hypertext200Awesome, this is what I was working with for the next release of the video module, I've half done and it is awesome to see you have complete it before me. I will discontinue all other transcoders as this one will be the best one. I was wondering is there any transcoding feature?. I couldn't see any of function in API docs.
Changing to need review as we need to test and and it seems ready to go.
Comment #2
silvio commentedI think that ffmpeg-php doesn't have any transcoding methods as it's mostly intended to retrieve basic video information and extract frames for thumbnails. I also feel a lack of docs relating to error handling.
I'm testing with a debian squeeze package, which might not work with every video codec, so additional testing would be important.
Comment #3
silvio commentedI added some error handling to this transcoder.
Comment #4
yooperjb commentedI installed the ffmpeg-php transcoder and selected it in the video configuration. When trying to upload video I get this error:
An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /file/ajax/field_video/und/0/form-RL4G1gLbgxgNrzYyWfbv0pCiDvSDBDzIDml2_XeGfe0
StatusText: n/a
ResponseText:
Fatal error: Class 'ffmpeg_movie' not found in /home/content/05/6666005/html/sites/all/modules/video/transcoders/video_ffmpeg_php.inc on line 96
ReadyState: undefined
Any suggestions? I've been having a struggle with the video module trying to get it to work correctly.
Comment #5
kezeo commentedplease how install this patch thank you in advance
Comment #6
yooperjb commented@kezeo
Simply select the link above to the patch. Cut and paste the code into a new file and save it as:
video_ffmpeg_php.inc (pascal source file).
Then place the file into your transcoder directory:
/sites/all/modules/video/transcoders
You will then see a choice for the video_ffmpeg_php in your transcoder options under your video configuration.
Comment #7
kezeo commentedthank you for your great help
Comment #8
kezeo commentedSorry but doesn't i tried but when i go to transcoder i have a blank page with code
regards
Comment #9
yooperjb commented@kezeo
Make sure you grab all of the code, not just the difference. It can be grabbed from here. Save that as your file and place in the transcoder folder. Should be all you need, however, it may still have issues as it did for me.
Comment #10
silvio commented@yooperjb: You probably don't have ffmpeg-php installed on your system. This reminds me that a proper check is needed in the transcoder to inform the admins if the extension is not installed. I'll try to do that soon.
Comment #11
silvio commentedThe attached patch (also available here) adds a check on whether ffmpeg extension is available for the video_ffmpeg_php transcoder. This is an incremental patch related to my latest change in my git repo. I can also provide an unified patch including all video_ffmpeg_php transcoder.
Comment #12
hypertext200#1216206: 7.x-2.x of video module developments development of 7.x-2.x has been started and ffmpeg-php added as optional. @silvio please see if you can wrap up some patch there to handle if any issues. Marking this as duplicate effort.