Closed (fixed)
Project:
FlashVideo
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2007 at 23:01 UTC
Updated:
1 Mar 2007 at 19:31 UTC
Hi,
I'm not able to use ffmpeg-php to automatically obtain video information.
I see in the code that if the width and height are not automatically detected or specified in the node by using [video: width=320 : height=240], that the default is set to 450 x 337.
Could you add a setting to the flashvideo settings page for the default width and height? I don't want to set it on a per video basis or in the node, but would like to set it for all videos for a content type.
Also, can the default size be used as a flag in the command to create the flv? I believe the syntax is "-s 450 x337".
Thanks!
Courtney
Comments
Comment #1
travist commentedYeah,
I will probably make a new version soon to where you can set the defaults for the width and height. I was also going to add an option to where you can actually specify what commands you would like to send to ffmpeg.
This would probably be much better. I just haven't had much time lately to work on a new revision. I will get to it soon enough, though.
Thanks for the suggestions.
Travis.
Comment #2
travist commentedI also forgot to mention, that the reason I didn't provide the deault size in the actual command for ffmpeg was just for speed purposes. It actually takes more time for ffmpeg to convert a video while at the same time scaling the video. If you are converting the video to Flash, then scaling of that video is provided anyway when you specify the video width and height AFTER the conversion has been made. So, as far as I was concerned, adding the extra processing to do scaling wasn't the best solution.
However, one feature that I am going to add in the next revision will be to allow people to customize thier command to ffmpeg, so if they wish to do this, then by all means I'll let them...I just don't see the point.
Thanks,
Travis.
Comment #3
travist commentedThis has been added to the new release.
Thanks,
Travis T.
Comment #4
courtney commentedThanks Travis! I really appreciate your work on this module - it's a perfect solution for a project I'm working on for a nonprofit digital storytelling site. I'll share the link when it's launched. :)
Comment #5
(not verified) commented