Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

FFMPEG basics

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,327
Loading...
Alert icon
Sign in or sign up now!
Alert icon
  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (metalx1000)

  • Hi Kris!

    The bulk convert worked, but with one problem: the quality of the converted files is so low that I can see those little squares.

    I've been looking elsewhere for solutions, including one of your own with a likely title, but I've not arrived at a solution.

    I tried..

    ffmpeg -i InputFile.wmv -ar 22050 -ab 56 -acodec mp3 -r 25 -f mp4 -b 400 -s 320x240 OutputFile.mp4 ..

    .. but I got an error message mentioning the "mp3".

    That was from another site anyway, not from you.

    Please help!

  • @MeshugenahScientist: Well, try replacing "-acodec mp3" with "-acodec libmp3lame"

    But, the code you got there is still pretty low quality. You could try a shorter command that will try to keep the conversion to the same quality as the original.

    Try this:

    ffmpeg -i InputFile.wmv -sameq Output.mp4

  • @metalx1000

    Worked perfectly, thanks.

    So that I don't take up your (unpaid) time unnecessarily, can I ask you to please recommend a book that I could buy to tutor me in making use of linux in these and other ways?

    I can copy&paste the CLI commands I find, or am given, but if I learn the Linux CLI myself, I'll be able to formulate my own CLI commands.

  • @MeshugenahScientist: The only Shell Script Book I've liked is one called "Wicked Cool Shell Scripts". It's by Dave Taylor. I think it's the same Dave Taylor that does the Shell Scripts each month in the Linux Journal Magazine.

    If you do plan on Buying either the Book or the magazine, I ask that you do so through my site at filmsbykris(dot)com/amazon

    It will help support my site because I get a commission if you use that site, and it doesn't coast you anything extra. Thanks

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • @metalx1000

    Yes, of course .. I've read where u ask that on your website. It's the least I can do4your help :)

    I'd encourage others to visit, & 2buy boox thru yr site; that way u can have more resources to support your efforts. Those r my thoughts anyway.

  • @simonwessel

    Dude, I don't know what "lingau franco" means, but if it's good, that's me!! :D

    *LOL*

    OK, well we can talk in English then.

    I'm very interested in your university in that it "..focuses on applied information technology AND sustainable development;.." I capitalized "and" from text I found on Wikipedia.

    The "applied" aspect tells me that it focuses on the practical, rather than the theoretical (as has been the "great" tradition of studying).

    Can I message u thru YT's PM?

  • @MeshugenahScientist Dude, it's the lingua franca of the Internet :)

  • @simonwessel

    En svensk! * LOL *

    Jag antar att de inte undervisar engelska på Blekinge Tekniska Högskola.

    Jag säger inte att du är dum. Vi kan göra en deal. Vi kan handla vår kunskap med varandra.

  • @MeshugenahScientist: This video will help you understand the -f1: watch?v=xdiZpPsw7mQ (sorry about the bad audio on that one.) but, basically we are using the "cut" command to split the file name at the "." so, file.jpg is split into two fields. field 1 and field 2. Or f1 and f2 f1 = file f2 = jpg so basically we are talking "file.jpg" removing the ".jpg" and leaveing "file", which we then add "_char.jpg" back onto to get "file_char.jpg" hope that makes sense.
  • @metalx1000

    ..cont'd from previous.

    I've been converting vids to .mp4 to be able to play on my iPad. I'd bought it when no other comparable machine was available, but I'll never buy another Apple product again, because of the restrictiveness, but also another HUGE matter with Apple that I won't mention here.

    Another black mark against iPad is that it won't allow me to arrange my vids (or books) into categories; the vids ALL go into the (invisible to user) Videos Folder. I hope I'm wrong.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more