Used 7.x-2.x-dev 2011-Jul-17. Used default presets. Tried to save the video node (with Video upload field). Video doesn't get transcoded.

In Error logs:

PHPVideoToolkit Error: Execute error. Output for file "D7/sites/test.dev/files/videos/original/SDC11322.AVI" was not found. No images were generated.

Thumbnails do get created. But I don't see them in video node edit form.

Is it files permissions issue?

CommentFileSizeAuthor
#15 ffmpegversionfound.png25.89 KBrevu
#15 ffnf.png3.76 KBrevu

Comments

adVid’s picture

Seems to occur with only one thumbnail: if 3 thumbnails are wanted, only 2 are created...

anglo’s picture

I had the default number set - 5 thumbnails. And, yes, only 4 thumbnails are created in the directory, but I can't see any of them in the submit form. Only the radio buttons.

And the critical thing - video doesn't get transcoded. (With the other video module version it does)

hongpong’s picture

I think this is related but not worth a separate ticket:
At

I get these notices.. I don't have any FFMpeg around at all so probably this needs to be caught.

Notice: Undefined offset: 0 in PHPVideoToolkit->getFFmpegInfo() (line 548 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).
Notice: Undefined offset: 0 in PHPVideoToolkit->getFFmpegInfo() (line 548 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).
Notice: Undefined index: configuration in PHPVideoToolkit->getFFmpegInfo() (line 579 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).
Notice: Undefined index: in PHPVideoToolkit->getFFmpegInfo() (line 579 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).
Notice: Undefined index: formats in PHPVideoToolkit->getFFmpegInfo() (line 594 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).
Notice: Undefined index: in PHPVideoToolkit->getFFmpegInfo() (line 594 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).
Notice: Undefined index: codecs in PHPVideoToolkit->getFFmpegInfo() (line 609 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).
Notice: Undefined index: in PHPVideoToolkit->getFFmpegInfo() (line 609 of /modules/video/libraries/phpvideotoolkit/phpvideotoolkit.php5.php).

hypertext200’s picture

Pull up the latest version so for seems working fine for me, welcome patches this is active in developments.

hypertext200’s picture

Status: Active » Closed (won't fix)
pixelsweatshop’s picture

Status: Closed (won't fix) » Active

Getting the same issue with the most recent version (2011-Sep-14)

revu’s picture

Anyone who can help on this?

An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /?q=file/ajax/field_avresource/und/form-67whECbtHEJzKPZLOekXfQGRBMh2Lijo2VkAs2Eg6ek
StatusText: n/a
ResponseText: 
More videos here!        
Error          
Error message
Notice: Undefined offset: 0 in PHPVideoToolkit->getFileInfo() (line 820 of ...\sites\all\modules\video\libraries\phpvideotoolkit\phpvideotoolkit.php5.php).
Notice: Undefined index: video in _video_aspect_ratio() (line 287 of ...\sites\all\modules\video\video.utility.inc).
Notice: Undefined index: video in _video_aspect_ratio() (line 288 of ...\sites\all\modules\video\video.utility.inc).
Recoverable fatal error: Object of class stdClass could not be converted to string in _video_aspect_ratio() (line 291 of ...\sites\all\modules\video\video.utility.inc).
The website encountered an unexpected error. Please try again later.    
hypertext200’s picture

Did you install the FFmpeg?

pixelsweatshop’s picture

Yes. Installed FFmpeg with the following:

configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable- libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac -- enable-libfaad --enable-libmp3lame --enable-libtheora -- enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra- ldflags=/usr/local/cpffmpeg/lib --enable-decoder=ac3 --enable-decoder=asv1 --enable-decoder=asv2 --enable-decoder=flac -- enable-decoder=wmv1 --enable-decoder=wmv2 --enable-decoder=wmv3 --enable-decoder=mpeg1video --enable- decoder=mpeg2video --enable-decoder=flv --enable-decoder=fraps --enable- decoder=h263 --enable-decoder=h264 -- enable-decoder=libgsm --enable-decoder=mjpeg --enable-decoder=mpeg4 --enable-decoder=mpeg4aac --enable- decoder=mpegvideo --enable-decoder=mpeg4aac --enable-decoder=msmpeg4v1 --enable-decoder=msmpeg4v2 --enable- decoder=msmpeg4v3 --enable-decoder=pcm_alaw --enable-decoder=pcm_mulaw --enable-encoder=ac3 --enable- encoder=asv1 --enable-encoder=asv2 --enable-encoder=flac --enable-encoder=h263 --enable-encoder=flashsv --enable- encoder=flv --enable-encoder=libgsm --enable-encoder=mjpeg --enable-encoder=msmpeg4v3 --enable-encoder=pcm_alaw --enable-encoder=pcm_mulaw --enable-encoder=mpeg1video --enable-encoder=mpeg2video --enable-encoder=mpeg4 -- enable-encoder=msmpeg4v1 --enable-encoder=msmpeg4v2 --enable-encoder=rv10 --enable-encoder=rv20 --enable- e encoder=vorbis --enable-encoder=wmav1 --enable-encoder=wmav2 --enable-encoder=wmv1 --enable-encoder=wmv2 -- disable- demuxer=v4l --disable-demuxer=v4l2 --enable-version3

revu’s picture

Category: support » bug

yes, ffmpeg is correctly installed.

& since something has gone terribly wrong and Drupal does not seems to find the FFmpeg installed. :(

hypertext200’s picture

@revu where you can see that error? on the node creation page? which are the options you selected in that page and what about watchdog error?

revu’s picture

Yes, on the node creation page as a ajax popup.

hypertext200’s picture

What are the watch dog messages? and did you check node convert on save?

revu’s picture

Hi Heshan,

I deleted the content type entry through which the above mentioned error was occurring and after realising the videos are being transcoded successfully and being played (with fall-back to Flash from HTML5 on IE7) though MediaElements.js

When I replicated the similar settings to that of MediaElements.js with exception to the player from MediaElement Video to VideoJS HTML 5 Video Player, I receive the following error:

Notice: Undefined index: ai_wysiwyg_filter in video_filter_info() (line 34 of ...\sites\all\modules\video\video.filters.inc).
Notice: Undefined index: description in video_filter_info() (line 34 of ...\sites\all\modules\video\video.filters.inc).
Notice: Undefined index: title in _filter_list_cmp() (line 592 of ...\modules\filter\filter.module).
Notice: Undefined index: title in _filter_list_cmp() (line 592 of ...\modules\filter\filter.module).
Notice: Undefined index: title in _filter_list_cmp() (line 592 of ...\modules\filter\filter.module).
Warning: uasort() [function.uasort]: Array was modified by the user comparison function in filter_get_filters() (line 582 of ...\modules\filter\filter.module).

Thanks mate!

revu’s picture

StatusFileSize
new3.76 KB
new25.89 KB

Now I have run into more trouble - Status report is saying I have FFMPEG not installed while on transcoder settings, it says version found - what is going on? I am on Xampp.

revu’s picture

I am really finding it really very hard to fix this transcoder library error in Xampp (Windows). Can someone point me in right direction?

FFmpeg Not found
Missing the transcoder library. Please install FFmpeg in to your server if you intend to transcode or to auto create thumbnails.


Where does this transcoder library sits and what files needs to be housed there for this to work?

revu’s picture

Category: bug » support

More error :(

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: .../.../?q=batch&id=73&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function dpr() in ...\sites\all\modules\media\tests\media.entity.test on line 35
</caption>
hypertext200’s picture

Category: bug » support
Status: Active » Closed (duplicate)
brtamas’s picture

Hello,

I found a little bug in phpvideotoolkit.php5.php near the 1855 line, in extractFrames function. The time code conversation format is not good. The following is given: %hh:%mm:%ss:%ms and the correct is %hh:%mm:%ss.%ms

This correction made my problem go away

brtamas’s picture

Same problem in the next line

ericmaster’s picture

brtamas thanks #19 (and #20) worked for me.

I removed the ffmpeg package and compiled from source, since then, thumbnail image generation stop working for some reason. I suppose ffmpeg_video library was installed as part of the package and was removed when I decided to remove the package and install ffmpeg from the source, I don't know, anyway, thanks.

Jorrit’s picture

brtamas: the fix you suggest is already in the 7.x-2.x-dev version, could you see if it works for you?