Have you had that problem with multiple videos? Can you confirm that the videos are not actually being encoded? It’s not a perfect system. Sometimes the plugin will give you an error message even though it works. Also, a real link to one of your videos would be helpful for troubleshooting.
Thank you for answering soo fast!!!
I can’t link you, because the server is in internal testing and does not have a public address, unfortunately.
Anyway, I’ve used this video downloaded from the internet for the test: http://cdn.clipcanvas.com/sample/clipcanvas_14348_offline.mp4
It’s a single video. It generates the thumbnails correctly, but if I press Encode (480p H.264) I get that error and no re-encoded files are created.
I’ve tried both during the article creation procedure and also later from the media library, no way.
Many thanks!!!
Ok, try entering this in the command line:
libav -i "http://cdn.clipcanvas.com/sample/clipcanvas_14348_offline.mp4"
and post the entire output.
The command “libav” is not registered (it outputs “-bash: libav: command not found”), while the command “avconv” outputs this:
root@testing:~# avconv -i “http://cdn.clipcanvas.com/sample/clipcanvas_14348_offline.mp4”
avconv version 0.8.6-6:0.8.6-1~bpo60+1, Copyright (c) 2000-2013 the Libav developers
built on Jul 11 2013 15:36:12 with gcc 4.4.5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x195b9c0] max_analyze_duration reached
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘http://cdn.clipcanvas.com/sample/clipcanvas_14348_offline.mp4’:
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41avc1
creation_time : 2009-02-19 18:49:05
Duration: 00:00:08.00, start: 0.000000, bitrate: 3141 kb/s
Stream #0.0(eng): Video: h264 (Main), yuv420p, 1024×576 [PAR 1:1 DAR 16:9], 3009 kb/s, 25 fps, 25 tbr, 600 tbn, 50 tbc
Metadata:
creation_time : 2009-02-19 18:49:05
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 2009-02-19 18:49:05
Stream #0.2(eng): Data: mp4s / 0x7334706D, 0 kb/s
Metadata:
creation_time : 2009-02-19 18:49:05
Stream #0.3(eng): Data: mp4s / 0x7334706D, 0 kb/s
Metadata:
creation_time : 2009-02-19 18:49:05
At least one output file must be specified
root@testing:~#
Right, sorry avconv
is the command I meant. It’s opening that externally hosted video fine. Try this:
- In the post edit window hit “Add Media”
- Switch to the “Embed Video from URL” tab
- Enter http://cdn.clipcanvas.com/sample/clipcanvas_14348_offline.mp4 in the “Video URL” field.
- Wait a few seconds while the plugin loads information about the clip then hit the Encode button.
If that works, try entering the URL of one of your locally-hosted videos in the “Video URL” field.
Many thanks, Kyle!
I’ve done what you suggested and the video encoding was queued! Then in the queue it reported the error “AVCONV missing library libfaac libvo-aacenc libx264 required for H.264/AAC encoding.”.
After some researches, I installed the debian package “libavcodec-extra-53” and it fixed the problem: the file has now been correctly encoded into 480p H.264!
But unfortunately, if I upload the file instead of embedding it directly from the URL, it outputs the same input/output error and it doesn’t encode it. I’ve also tried to upload it and the embedding it using the WordPress URL…but nothing, the usual input/output error occurs.
Do you have any ideas?
PS = It’s really really hard to see the error messages: they become gray and disappears within milliseconds, so I always have to press “Print Screen” and then paste the screen to read the message…I’d suggest you to slow down the animation, if possible!
I’m not sure why the error messages are disappearing so quickly. I’ll look into that. You might be able to see them in the Video Encode Queue at /wp-admin/tools.php?page=kgvid_video_encoding_queue
AVCONV seems unable to input URLs hosted on your server. The thumbnails are input using file paths, which is why you can make thumbnails. This is a little beyond my ability. I rely on public web servers to be mostly configured the same. I have to guess at how your particular server is set up. Do you have cURL installed?
Many thanks Kyle, your phrase “AVCONV seems unable to input URLs hosted on your server” opened my eyes. Actually, WordPress runs in a virtual environment and the Linux hosts file was not set properly (it couldn’t resolve itself in Curl). I fixed it and now everything works perfectly!
Many thanks again for this excellent piece of software!!!
Great! Glad it’s working.