Closed (fixed)
Project:
Media Mover
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 May 2008 at 12:29 UTC
Updated:
24 Dec 2008 at 03:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
arthurf commentedI think the easiest way to do this would be to do two configurations for now- harvest the output from the first and do a second pass on it. I think as things move toward 2.0, 2 pass in a single config will be possible, but, for now, I'd do it with one. You could modify the mm_ffmpeg module to do this- it would be straight forward to do.
Comment #2
delykj commentedYou need to set the pass log file to the second pass, so I think that two configuration could not be used currently (we need to store the first pass's log file somewhere and the second config need to get this file).
I think it is easer to do it with one configuration.
Comment #3
arthurf commentedCan you give me an example of how this works on the command line? If it's simple, I could potentially provide it quickly
Comment #4
cameronp commentedI wrote a little addon using a shell script for mine, this does a conversion to h264/aac with 2 pass encoding, and then puts the atoms needed at the start of the file, using atomic parsley..
This is how I produce podcast compatible mp4's for my site...
I've also attached the ipod module that I wrote. It is very specific to a customised version I had of media mover, as there was a few bugs inthe versoin I had. I did submit it though, so it may need some work to use with the current version of media mover.
Here is an example of the custom command used in the ipod module (when you set up a configuration using custom ipod module)
/usr/local/bin/ipodconvert.sh "/home/xxxxx/www/%s" "/home/xxxxx/www/%s"
Thanks,
Cameron
Comment #5
arthurf commentedThere is a forth coming module that anantagi just wrote that maybe able to help you with this: http://drupal.org/project/mm_custom_command, alternatively, there is now a "custom command" that you can use to craft your own command line usage of ffmpeg from media mover (via ffmpeg wrapper).