ffmpeg expects a single k and finds kb and complains. The wrapper is using
the wrong syntax - IIRC ffmpeg changed a bit and broke the wrappers. In
fact, ffmpeg should be more lenient and accept both k and kb (and even KiB).
Oldcpu gives you the solution after all those Sunday posts
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
I’m bit confused. So, I have the new presets file. I edit the ‘presets.xml’ How do use the new file? It lists the presets, but it’s not in xml format. I’v read the messages.
#!/bin/sh
echo -n "\033]0; Converting Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 1 Of 3 - YouTube (1/3)\007"
/usr/bin/ffmpeg -i "/home/alex/Videos/black holes/Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 1 Of 3 - YouTube.mp4" -acodec libmp3lame -vcodec msmpeg4 -ab 192k -b 1000kb -s 640x480 -ar 44100 "/home/alex/Videos/black holes/avi/Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 1 Of 3 - YouTube.avi"
echo -n "\033]0; Converting Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 2 Of 3 - YouTube (2/3)\007"
/usr/bin/ffmpeg -i "/home/alex/Videos/black holes/Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 2 Of 3 - YouTube.mp4" -acodec libmp3lame -vcodec msmpeg4 -ab 192k -b 1000kb -s 640x480 -ar 44100 "/home/alex/Videos/black holes/avi/Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 2 Of 3 - YouTube.avi"
echo -n "\033]0; Converting Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 3 Of 3 - YouTube (3/3)\007"
/usr/bin/ffmpeg -i "/home/alex/Videos/black holes/Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 3 Of 3 - YouTube.mp4" -acodec libmp3lame -vcodec msmpeg4 -ab 192k -b 1000kb -s 640x480 -ar 44100 "/home/alex/Videos/black holes/avi/Through the Wormhole - Season 1, Episode 2 The Riddle of Black Holes Part 3 Of 3 - YouTube.avi"
read -p "Press Enter to Continue" dumbyvar
rm "/home/alex/.winff/ff111115155447.sh"
You may run into other hiccups requiring a change. But congratulations on getting this far.
I’m not surprised at the confusion of my many posts. I think I confused myself a bit in my initial attempts to reply ! …
I note you have decided to stick with the original presets.xml file as opposed to download the new one. I believe you will find other ffmpeg commands will fail.
As noted above, my final recommendation was to go to WinFF - Free Video Converter and LOOK at the bottom of that page for the “Presets for Newer FFmpeg Revisions” (where I use the Presets for FFmpeg (libavcodec53)) … Download that file. Uncompress it. I downloaded " presets-libavcodec53-v1.xml " because I have libavcodec53-0.8.6-1.2.x86_64 installed ] . The advantage of presets-libavcodec53-v1.xml is it already has the necessary ‘kb’ to ‘k’ conversions. Copy presets-libavcodec53-v1.xml to /home/yourusername/.winff/presets.xml (maybe backup your old presets.xml version first).
Then change the new ‘presets.xml’ such that it will work with the packman packaged ffmpeg as follows:
change all occurrences of ’ -vpre ’ to ’ -preset ’
change all occurrences of ’ -acodec libfaac ’ to ’ -acodec aac -strict experimental ’
save the change, and it should hopefully work better.
WinFF now works. I did the preset file changes correctly, thanks.
I’m still getting the same h264 load error in avidemux on the converted AVI file. I need to merge all three pieces together. How do I fix it? Also, I have kdenlive video editor.