I reported problems trying to run OP video 3.1 on two Linux servers running PHP 4.3 and PHP5.
http://drupal.org/node/237190
Now I installed OP Video 3.3 and things are a bit better on server running PHP4.3 (Drupal 5.3, multisite, file system - public) but still not there yet. Now my video file is being transcoded, but audio is out of sync. Another time I only got partial audio.
Next I test installed OP video v.3.3 on another linux server running PHP5 and Drupal 5.3, standalone, file system - private). When I look at the file system I see that file is being transcoded and placed in transcoded/ folder, but when I go to video node and click on Play, video starts spinning, but doesn't play.
I don't know if this is a bug. Please change category if it is something else.
Comments
Comment #1
jbrown commentedYou probably have a rubbish version of ffmpeg. Please post the version info at admin/settings/op_video.
This is probably the problem you are having with php5: #238699: Transcoding Remotely Saves Absolute Path.
Please try 5.x-3.4.
Also, please try to come with more descriptive bug titles! ;-)
Comment #2
gintass commentedI did install OpenPackage Video v.3.4 and tested again on 2 Linux servers running PHP4.3 and PHP5
I'm not sure what do you mean by "post the version info at admin/settings/op_video", but when I run cron.php and ffmpeg starts encoding and see verbose message which includes ffmpeg version.
The server with PHP4.3 has FFmpeg version SVN-r6328. I'll ask our sysadmin to upgrade it.
On another server with PHP5 I have FFmpeg version SVN-r7231. This is not the latest either.
Now in first case (server with PHP4, Drupal file system set to public) after encoding video plays fine, but audio is out of sync, in the second case (server with PHP5 and Drupal file system set to private) problem still the same - video does not play, no thumbnail, only black square, although I see that video has been transcoded and thumbnails (.png) have been created.
You said that absolute path issue in v.3.4 has been resolved, but path still looks strange in one place. Take a look at this excerpt from ffmpeg encoding message:
..............
time ffmpeg -y -i '/home/.allredwasher/nrs/drupal_files/videos/original/nrs_TEST.mov' -b 320k -r 24 -g 48 -ab 64k -ac 2 -ar 44100 /home/nrs/drupal_files//videos/temp/1.flv -pass 1 -passlogfile /home/nrs/drupal_files//videos/temp/2pass.1.log 2>&1 FFmpeg version SVN-r7231
.............
This path is absolute and it has double slash in the middle:
"/home/nrs/drupal_files//videos/temp/1.flv"
I can see that on the server with PHP4 and with Drupal file system set to public ffmpeg encoding message shows relative path to files:
................
time ffmpeg -y -i 'sites/MY.WEBSITE.edu/files/videos/original/test_scb_job_2_22_06_p3.mov' -vcodec copy -ab 64k -ac 2 -ar 44100 sites/MY.WEBSITE.edu/files/videos/temp/2.mp4 2>&1 FFmpeg version SVN-r6328, Copyright (c) 2000-2004 Fabrice Bellard
................
Comment #3
jbrown commentedplease try 5.x-3.5.
Also, I think you may be suffering from this bug: #212767: file_create_url() depends on file_directory_path() returning a path that does not end with '/'
Comment #4
gintass commentedAfter upgrading FFmpeg to version SVN-r12665 OP video module works much better. Now I see 3 new sections in admin/settings/op_video page - Version Info, File formats, Codecs.
In one of my tests (flv to flv) I still got some slight out of sync audio which only becomes visible after 35min video. In another test (HDV .mov to .flv) aspect ratio got messed up - frame got squeezed into 4x3 aspect ratio and no letterbox was added. I suspect that has nothing to do with the module. I still haven't tried 3.5 version. In all other cases module worked perfectly.
Thank you Jonathan for such a great module and for being so helpful and prompt in resolving issues.
Comment #5
ferrangil commentedIf you're adding HDV videos, you should beg as I do for the H.264 encoding feature!! :) BTW, my HD videos keep the aspect ratio without problems...
I'm sure your out of sync is related with the ffmpeg itself, not the op_video module.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.