Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Ubuntu > ffmpeg .sh script to mass convert directory of .ogv files to .mpg or .mp4

Avatar of www_puertoricoautoforo_com
www_puertoricoautoforo_comFlag for United States of America asked on
LinuxMultimedia ProgrammingLinux Distributions
7 Comments1 Solution1514 ViewsLast Modified:
I have a directory full of OGV videos that youtube hates.. Unfortunately 'cheese' does not allow me to save in any other format besides OGV.  But youtube doesn't like it and my videos look like an 8-bit Atari acid tripping or something..

so I have a bunch of OGV files here:
/home/username/Video/webcam/

How can I convert every OGV in the webcam folder to the same resolution .mpg files..
Also for my friends with slow upload speeds, how could I convert them to .mp4 files..

I figure .mpg is less lossy than .mp4

Please attach the code of the .sh script for each.  I would like to just execute the script by placing it in the /webcam directory and clicking it after giving it executable permission.
ASKER CERTIFIED SOLUTION
Avatar of TobiasHolm
TobiasHolmFlag of Sweden image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers