WordPress.org

Ready to get started?Download WordPress

Forums

Video Embed & Thumbnail Generator
ffmpeg (thumbnails) can't open movie file (6 posts)

  1. zdukat1095
    Member
    Posted 1 year ago #

    Hi Kyle,

    This is a great plugin. I can't get the thumbnail generator to work though. I had my webhost install ffmpeg on my site. They installed bin, include, shared, and lib folders and ffmpeg & ffserver are inside the bin folder. I got the path right but when I click to generate the thumbnails it always says "can't open movie file." Here is a part of the error message I get:
    sh: line 1: 2662 Segmentation fault ../../bin/ffmpeg -i "/home/0000xx/public_html/myblog/wp-content/uploads/2011/03/mymovie.m4v" -vstats 2>&1, referer: http://mysite.com/myblog/wp-admin/media-upload.php?post_id=18&tab=library&post_mime_type=video

    Any ideas why it's not working? It plays the movies fine. I added the correct mime types to the server. Thank you.

    http://wordpress.org/extend/plugins/video-embed-thumbnail-generator/

  2. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    Are you actually using the .. in your path or are you just leaving out the full path for security reasons? If you are using ..s you should replace them with the actual path to ffmpeg, not a relative path.

  3. zdukat1095
    Member
    Posted 1 year ago #

    Yes, I was using "../../" relative path, but I also tried it w/ this type of absolute path: /home/0000xx/public_html/bin and it gave me the same result: can't open movie file. I had tried /bin and that didn't work. Any idea what the "Segmentation fault" means?

  4. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have shell access? Can you try running the command /home/0000xx/public_html/bin/ffmpeg -i "/home/0000xx/public_html/myblog/wp-content/uploads/2011/03/mymovie.m4v" -vstats 2>&1 (with the appropriate substitutions for the real paths) from the command line?

  5. zdukat1095
    Member
    Posted 1 year ago #

    Thanks so much Kyle for your replies. I'm sorry but I tried once to get shell access and I couldn't understand it, couldn't get in. So I will have to do some research & try your command later. I'm on OS 10.6.8.

  6. zdukat1095
    Member
    Posted 1 year ago #

    Hi Kyle,

    I typed in ssh myusername@mysite.com and it said "Shell access is not enabled on your account!" Shall I ask my host to give me access, is that something they'd easily grant?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic