简体   繁体   English

上载从同一服务器下载的视频时,不会生成缩略图

[英]Thumbnail is not generated while uploading a video which is downloaded from the same server

I am using drupal 7 video module and ffmpeg together to upload video on my site. 我正在一起使用drupal 7视频模块和ffmpeg在我的网站上上传视频。 My problem: 我的问题:

  1. Upload a video, everything works fine, thumbnail is generated and video is uploaded successfully 上传视频,一切正常,生成缩略图,视频成功上传
  2. Now download the above uploaded video. 现在下载上面上传的视频。
  3. Now Try to upload the same video, on same drupal site. 现在,尝试在相同的drupal网站上上传相同的视频。

Thumbnail is not generating and also I am not able to play the newly uploaded video. 缩略图未生成,并且我也无法播放新上传的视频。 In all other cases video upload is working fine, I am able to upload same video again and again with no fuss,but when I try to upload the downloaded video , everything goes wrong even if I change the file name after downloading the video and uploading again. 在所有其他情况下,视频上传都可以正常工作,我可以一次又一次地上传相同的视频,而不必大惊小怪,但是,当我尝试上传下载的视频时,即使我在下载视频并上传后更改了文件名,一切都会出错再次。

Please let me know if I am not clear, will try to explain more. 如果不清楚,请让我知道,将尝试解释更多。

I would suggest you take a look at the ffmpeg log/console output when you try to re-upload a previously downloaded file. 我建议您在尝试重新上传以前下载的文件时,先看一下ffmpeg日志/控制台的输出。 There could be something wrong while the file is re-processed. 重新处理文件时可能出现问题。

If you need more help please provide the output of the ffmpeg console of the video and a sample file that is not working with encoding/processing settings. 如果您需要更多帮助,请提供视频的ffmpeg控制台的输出以及无法使用编码/处理设置的示例文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM