upload within node edit seems to have worked in that it says my file is there and it shows thumbs but:
- displaying node states: Something went wrong with your video transcoding. Please check your recent log entries for further debugging.
watchdog shows:
- Error set options PHPVideoToolkit Error: Input file "/home/admin/public_html/clf3/sites/all/files/videos/screencasts/screen1.avi" does not exist
- PHPVideoToolkit Error: Execute error. Output for file "" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().
- Video conversion has been failed!. Please check further logs for debugging
my guess would be that i haven't picked the right settings for my presets. but how would i know what to pick? there are tons of these... i think, for HTML5 i likely need ogg and mp4 and have those.. but there are quite a few mp4 codec to pick from
Comments
Comment #1
hypertext200What is the version of video_preset your using?
Comment #2
liquidcms commentedjust installed now.. odd that nothing states this is required and not a dependency
i have 7.x-2.1
i actually tried again and same result except that file is uploaded this time with
PHPVideoToolkit Error: Execute error. Output for file "/home/admin/public_html/clf3/sites/all/files/videos/screencasts/test.avi" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().
- even though file does exist there
- also, how would i run PHPVideoToolkit::getFFmpegInfo()?
Comment #3
hypertext200Check the files directory permissions. What is the version of FFmpeg that you have installed?. Can you see file has been attached when you go to edit?
Comment #4
liquidcms commentedtried ffmpeg wrapper and it seem to upload and read the avi
when i try to transcode (ogg, mp4) it just sits at transcoding; showing 0% for a while.. then progress bar simply disappears.
Comment #5
liquidcms commentedahhh.. i see now where video presets actually does something.. it has some predefined presets.. trying those now
Comment #6
liquidcms commentedwith the presets created by v presets module i select ogg, mp4 and now have different errors:
Error set options PHPVideoToolkit Error: Value "h264" set from $toolkit->setVideoCodec, can not be used to encode the output as the version of FFmpeg that you are using does not have the capability to encode video with this codec.
- FFmpeg version 0.6.1
/files 777
/files/videos 755
/files/videos/screencasts 775
Comment #7
liquidcms commentedand file is attached: http://screencast.com/t/MJn189Khirn
Comment #8
liquidcms commentedand wow.. i have an mp4 file here now as well at:
sites/all/files/videos/screencasts/23/test_mp4_1322034324.mp4
no ogg file ; perhaps thats the codec that cant encode
Comment #9
liquidcms commentedok,m seems presets dont work too well.. i edit the mp4 one and it has codec set as simply first in the list - asus v1,
i changed it to one of the mpeg4 ones and i no longer get errors about codec; now i get:
PHPVideoToolkit Error: Execute error. Output for file "/home/admin/public_html/clf3/sites/all/files/videos/screencasts/test_0.avi" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().
likely getting mixed up with file being already uploaded.. will delete and try all from scratch
Comment #10
liquidcms commentedok, same error, new file is there.. no conversion this time.. but /29 subfolder is created.. uggghh this is frustrating.. lol
Comment #11
hypertext200Configurations of presets can be different from FFmpeg version to version. I encourage you to use Zencoder and Amazon S3 then you can trasncode and host videos properly.
Comment #12
liquidcms commentedseems silly to pay monthly account fees for a couple small screencasts; but didn't realize that ffmpeg solution did not exist for this module - perhaps something on the project page stating it may/may not work with ffmpeg would save people a fair bit of time.
i'll check out the Media module as they suggested it does work with ffmpeg (although developer there suggested Video might be an easier way to go).
thanks a lot for the your help with this.
Comment #13
Vitaby commentedHello. How I can change configurations of ffmpeg presets in plugin?
And how to see what error the ffmpeg write? In apache is all good. watchdog says:
I have turned all the ways
but not working(((((
version of video_presets plugin is 7.x-2.0
also trying 7.x-2.1
not working
also try to make my presets
not works(
Wanna to try from SSH command to FFMPEG and see what the wrong. Or how to see logs.
Beforehand I thank
Comment #14
PedroMiguel commentedI have the same problem.
Thumbs are created but the video itself always give errors.
At command line everything works.
Comment #15
redhatmatt commentedComment #16
michael.k commentedHas anyone actually had any success with FFmpeg?? I can't get this module to transcode a video for the life of me, and certainly not into multiple file types for HTML5. When I check the directories to see if any new files were created, there are new directories (or buckets in Amazon), but no files.
I would think this module would be highly desirable for localized transcoding since Zencoder is a paid service that adds up quickly when you've got a lot of videos.
Like the others in this thread, I have a functional installation of FFmpeg, too, but the module doesn't seem to use it. Nor does it use the poster frames. I simply get the original uploaded file in page and it gets handled by videojs. Interestingly, I can see thumbnails after the file upload, but they are never used in the displays.
I'm running CENTOS 5.7 x86_64, PHP 5.3.8, and Apache 2.2.21. Here is my FFmpeg config:
So when I try to save a video node, I see this generic error:
And interestingly, the video will display if it's the right file type to begin with because the original video is used for display, not a transcoded one.
But there are more indications of the problem, like this grammatically challenged error:
I also get one of these dreaded PHPVideo Toolkit errosr:
or
In addition to all this, I can't see the appropriate codecs in their presets list. So while I may be able to check the box for Ogg or WebM, the proper video codecs do not appear on the list under Video settings.
I have always had a lot of trouble with the documentation for this module. Any help getting through this would be much appreciated.
Comment #17
broncomania commentedI ran into the same issues and I think the main problem is that everyone works with a different ffmpeg version. I searched now for some time to find some infos with which ffmpeg version the video module definitely works without success. I also think the author of this great module should give us a hint which version to use.
Next thing is, it is not necessary to use always the latest version due to changes which the developer of ffmpeg made. This will cause also problems. So it would be the best to make for this time a decision which version has to be used to find the problems and resolve them instead of trying this and that and everyone uses his own version without sucess. This will result in chaos and doesn't help anyone and will also annoy those guys which develops this module.
This is just my point of view after spending lots of hours to get this module run ... without success.
Comment #18
Jorrit commentedPlease try again with the latest 7.x-2.x-dev version. It is true that the FFmpeg installation (and its plugins) determine the behavior of the Video module to a large extent. Unfortunately, that's not something that the module can solve. The only thing you can do is use Zencoder.
Comment #19
Jorrit commentedClosed because of lack of response.
Comment #20
davidam commentedI'm sad with this attitude, there are people who is using drupal because it's free software, introducing an external web service as zencoder breaks this philosophy, because I couldn't modify the zencoder code... But I'll say more, for me the video module is not useful without a good ffmpeg support because if I want use an external service I can use youtube or vimeo, I want use video module because I want have my video files and the conversion process in my own server, I want have the control of my data and my software.
Comment #21
Jorrit commentedFor most people, ffmpeg does work. However, in certain situations it may not be possible to install a proper FFmpeg version. In those cases, Zencoder is the only other option. At this moment, the Video module does not optimally support higher FFmpeg versions, which use different command line options to configure x264. I am going to work on that for the upcoming release.
Video module version 2.5 also includes a change that writes the entire command line and output to the Drupal log when a video fails to convert. If you encounter such an error and don't know why the command is failing, please open an issue in the Video issue queue.
I am not going to ignore incompatibilities between the Video module and ffmpeg, but users must be aware that some problems can't be solved by the module.
I closed this issue because I want to keep the issue queue clean and this issue has been open for too long. The code that causes the errors in this issue has been changed since this issue has been created, so I prefer that users open new issues for problems they encounter with the current version of the code.
Comment #22
yuseferi commentedI have the same problem
Error set options PHPVideoToolkit error: Input file "/var/www/vhosts/imodb.ir/mysite.com/sites/default/files/videos/original/barsandtoneddd_2.flv" does not exist !!!!
I check there , the file exist, the file attached to the content, but nothing happened,
I have the latest version of video module ("7.x-2.10") and video preset "7.x-2.0'.
:(
what is the right solution ?