Postponed (maintainer needs more info)
Project:
Video
Version:
7.x-2.x-dev
Component:
Video Core
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Sep 2011 at 09:44 UTC
Updated:
17 Apr 2014 at 18:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hypertext200Please see carefully in the file_managed table we've fixed that issue we had in older versions.
Comment #2
sepph commentedThat's the odd thing. The converted files have entries in the file_managed table but they are still not accessible. The entries look correct to me.
Comment #3
hypertext200please provide me more information to re-produce the issue. What are your field configurations and video settings.
Comment #4
sepph commentedFirstly I'm running a multisite setup, though only with 1 site at the moment.
The video field is attached an 'asset' content type with the following settings:
Allowed extensions: mp4, m4v, ogg, avi, mov, wmv, flv, ogv, webm
File directory: videos/original
Maximum upload size: set via PHP settings to 150mb
Progress indicator: Bar with progress meter
Output video dimensions: 640x360
Number of values: 1
Upload destination: Private files
Enable auto video conversion: Checked
Video thumbnails: Don't create thumbnail
My video settings are as follows:
General settings...
Only 'Automatically start video buffering' checked
Players...
All default apart from mp4 which is set to use the VideoJS module
Transcoders...
FFmpeg - path: /usr/bin/ffmpeg - version 0.6.1 found
Path to save thumbnails: videos/thumbnails
Number of thumbnails: 5
Save all thumbnails in {file_managed} table: Unchecked
Manage preset...
Use preset WxH for video conversion: Checked
Using presets from video_presets module (FFmpeg version http://drupal.org/node/1293310)
Metadata...
FlvTool2 - path: /usr/bin/flvtool2
Cron settings...
Use Drupals built in cron: Checked
Video queue timeout (s): 90
Total videos to convert during each cron process: 5
Anything else you need let me know.
Cheers
Comment #5
sepph commentedI've looked further in to this and think I might have found the issue.
The video_file_download function is passing through the converted file's URI to the system file_file_download function which checks to see if the file is associated with a field.
If written a block of code to handle the converted files and attached a patch. It might need a bit more work as I'm still a Drupal noob... this is my 1st patch! I've avoided altering the rest of the code in the function.
Cheers
Comment #6
sepph commentedJust noticed a problem in the last patch. Ignore the last one.
Comment #7
safani commentedI LOVE YOU, MAN.
I was having the same issue, I could not stream video from the private file system. This module is way too far along for that....
Thanks sepph for a job well done. Great first patch I must say.
Comment #8
hypertext200Close duplicate #1330294: Thumbnails generated but not displayed. Videos not transcoded. Private filesystem.
Comment #9
hypertext200Close duplicate of #1310492: Thumbnails generated but not displayed.
Comment #10
hypertext200Comment #11
hypertext200Added to the dev
Comment #12
anglo commentedStill, thumbnails are generated but not displayed - private filesystem.
Video thumbnails are displayed for the public filesystem.
(Image module is showing private photos and thumbnails just fine)
Comment #13
wOOge commentedThis issue seems to have resurfaced for me — using 7.x-2.5 — and dev dated April 3.
Comment #14
wOOge commentedOk have some more info on this:
Seems that thumbnails are generated, and saved in a *public* file system:
/sites/default/files/styles/square_thumbnail/public/videos/thumbnails/287/thumbnail-287_0001.pngBut when the node is opened and re-saved (with or without re-transcoding) — the path to the thumbnail is re-saved as one that the system manages:
/system/files/styles/square_thumbnail/private/videos/thumbnails/291/thumbnail-291_0001.pngWhich points to the *private* file system for the thumbnail, but that's not where it's saved.
Any suggestions?
Comment #15
Jorrit commentedI am working on improving thumbnail generation with respect to various destinations. If I can fix this easily, I'll fix it, but my original intention was to fix all issues with the private file system in one go.
Comment #16
wOOge commentedUnderstood — totally appreciated.
Comment #17
Jorrit commentedYou can try the latest 7.x-2.x-dev if you want. It is quite unstable, but it seems to work for others as well. I recommend to make backups or try it on a separate installation. Also take a look at http://drupal.org/node/1215918 . Let me know if it works.
Comment #18
Jorrit commentedComment #20
fugazi commentedWhen I sat upload destination of original file on a private file I get the error of zencoder Access to the file at
'http://my-sites.de/system/files/video/november.mp4' was denied (HTTP 403 response code). If this is a S3 URL, you probably need to grant read access to Zencoder for this bucket or file. Get more information in the documentation.
If I hire on public files Everything works. What can it be?
The video field is attached an 'asset' content type with the following settings:
Allowed extensions: mp4, m4v, ogg, avi, mov, wmv, flv, ogv, webm
File directory: videos/original
Maximum upload size: set via PHP settings to 150mb
Progress indicator: Bar with progress meter
Output video dimensions: 853x480
Number of values: 1
Upload destination: Private files
Upload destination of converted files: Amazon S3
Upload destination of thumbnails: Amazon S3
Enable auto video conversion: Checked
Video thumbnails: Automatically extract thumbnails from video (with fallback to manual upload)
Only 'Automatically start video buffering' checked
Players...
All default apart from mp4 which is set to use the VideoJS module
Transcoders...
Zencoder:
Number of thumbnails: 5
Location for Zencoder output:
enable: Amazon S3 bucket november-2012
enable: Store files on Amazon S3 privately
Cron settings...
Use Drupals built in cron: Checked
Video queue timeout (s): 90
Total videos to convert during each cron process: 5
Comment #21
Jorrit commentedWhen you're not logged in, are you able to access 'http://my-sites.de/system/files/video/november.mp4'?
Is the node that 'http://my-sites.de/system/files/video/november.mp4' is attached to published when Zencoder tries to access it?
It may be because Zencoder can't access the file while it is in private storage because the node is not visible at that moment.
Comment #22
fugazi commentedall clear to private files can only use registered user. When guest is the file is not available. That was actually the thought but zencoder hospitable needs access? can be the change that gets zencoder more right?
Comment #23
brycefisherfleig commentedIs this bug still ongoing?