Title: Sometime video path gets wrong
Last modified: August 31, 2016

---

# Sometime video path gets wrong

 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sometime-video-path-gets-wrong/)
 * Hi,
 * this plugin is working fine for my site, generating encoded videos but for some
   video it failed and show this error when try to encode:
 * /var/www/html/wp-content/uploads/http://zzzz.com/wp-content/uploads/user_uploads/
   jay2016/me_shooting_bow.mp4: No such file or directory
 * You see in path it’s using site URL after uploads/, is this? normal? Why mostly
   videos are encoded fine but some won’t?
 * Please help.
 * [https://wordpress.org/plugins/video-embed-thumbnail-generator/](https://wordpress.org/plugins/video-embed-thumbnail-generator/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sometime-video-path-gets-wrong/#post-7313323)
 * That is definitely not normal. You appear to have a plugin that modifies the 
   location of your upload directory. It’s difficult to say why this is happening,
   but I would start with that. If you can identify a pattern with the videos that
   have the error that would be really useful. Is it only a problem with videos 
   in a particular folder or with a particular file name? Is it a consistent error
   with user uploaded files? Using phpmyadmin or similar can you take a look at 
   the `_wp_attached_file` post_meta database entry for a video that’s giving you
   this error? It should have a relative path like `user_uploads/jay2016/me_shooting_bow.
   mp4` rather than the full URL. If it has a full URL like `http://zzzz.com/wp-
   content/uploads/user_uploads/jay2016/me_shooting_bow.mp4` that would explain 
   the error and it’s caused by the user upload plugin entering the wrong information
   for that meta value.

Viewing 1 replies (of 1 total)

The topic ‘Sometime video path gets wrong’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/sometime-video-path-gets-wrong/#post-7313323)
 * Status: not resolved