Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi! I just installed ffmpeg but it seems that -vpre is deprecated? Which version of ffmpeg do I need to have this module working?
Comments
Comment #1
Jorrit CreditAttribution: Jorrit commentedAre you sure that you are using version 6.x-5.0? In that case, you can customize the FFmpeg command line in your preset settings yourself and replace vpre with the successor of that option.
Personally, I use the following command lines for MP4/H.264 for FFmpeg 0.10:
Comment #2
maria_zk CreditAttribution: maria_zk commentedFirst of all, thank you so much for your reply!! Yes, version 6.x-5.0.
I know that this is not the right place to ask but I spent all day trying to do it right :( Any help would be really appreaciated.
I run debian squeeze and installed ffmpeg with apt-get install ffmpeg. Trying to get this working I first installed ffmpeg 0.7 and then downgraded to 0.5, but no luck. Will your commands work with 0.9?
Now the question is, is it possible to install 0.10 with apt-get or do I have to compile it on the server? Do I need to install anything else? Any suggestions?
Comment #3
Jorrit CreditAttribution: Jorrit commentedCould you post the error messages you receive in your Drupal log when you try to transcode a file? If you want, I can take a look at the settings on your site. I need administrator access to your site for that. If you're willing to give me that, please send me a message via my profile page.
Comment #4
maria_zk CreditAttribution: maria_zk commentedWow! Amazing, thank you so much for this! I have managed to install the latest ffmpeg and with your commands in #1 it works perfectly!
One more question about the other presets:
If it is not too much to ask, could you please help me with the commands once more??
Comment #5
Jorrit CreditAttribution: Jorrit commentedWhat is the webm command line that you entered in the preset configuration?
Comment #6
maria_zk CreditAttribution: maria_zk commentedI used the default one that comes with the module (preset HTML5 WebM (extension: webm)):
Command 1:
!cmd_path -strict experimental -y -i !videofile -pass 1 -s !widthx!height -b 500k -threads 0 -vcodec libvpx -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -f webm -vf "pad:!paddingwidth:!paddingheight:!paddingleft:!paddingtop:000000" -an -y NUL
Command 2:
!cmd_path -strict experimental -y -i !videofile -pass 2 -s !widthx!height -b 500k -threads 0 -vcodec libvpx -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -f webm -vf "pad:!paddingwidth:!paddingheight:!paddingleft:!paddingtop:000000" -acodec libvorbis -ac 2 -y !convertfile
Same for iPhone MOV (extension: mov):
Command 1:
!cmd_path -strict experimental -y -i !videofile -s !widthx!height -f mp4 -vcodec mpeg4 -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096k -g 300 -acodec aac -ab 192k -vf "pad:!paddingwidth:!paddingheight:!paddingleft:!paddingtop:000000" !convertfile
Comment #7
Jorrit CreditAttribution: Jorrit commentedPlease try the following:
Command 1:
!cmd_path -strict experimental -y -i !videofile -pass 1 -s !widthx!height -b 500k -threads 0 -vcodec libvpx -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -f webm -vf "pad=!paddingwidth:!paddingheight:!paddingleft:!paddingtop:000000" -an -y NUL
Command 2:
!cmd_path -strict experimental -y -i !videofile -pass 2 -s !widthx!height -b 500k -threads 0 -vcodec libvpx -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -f webm -vf "pad=!paddingwidth:!paddingheight:!paddingleft:!paddingtop:000000" -acodec libvorbis -ac 2 -y !convertfile
Same for iPhone MOV (extension: mov):
Command 1:
!cmd_path -strict experimental -y -i !videofile -s !widthx!height -f mp4 -vcodec mpeg4 -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096k -g 300 -acodec aac -ab 192k -vf "pad=!paddingwidth:!paddingheight:!paddingleft:!paddingtop:000000" !convertfile
The fix is to replace
pad:
withpad=
.Comment #8
maria_zk CreditAttribution: maria_zk commentedMagic!!! I can't thank you enough!! :D
Comment #9
maria_zk CreditAttribution: maria_zk commented