Visit Jeremy's Blog.
Go Back > Blogs > LINUX mostly DEBIAN - hardware and software
User Name


18 years of DEBIAN starting from version 5 "Sid" until the recent 10 "Buster".
Before that done 6 years of system administration including a SCO UNIX Server and a couple of Windows Servers and dozens of workstations. The largest system was nearly 100 PC's, devices etc. at 3 locations with LAN and VPN's, Firewall and Phone via landline and VoIP.

Have fun, and maybe share your knowledge with me.
Rate this Entry

ffmpeg - and why it mostly won't work for normal users

Posted 06-19-2012 at 10:38 AM by error_401
Updated 12-18-2015 at 05:31 PM by error_401

Since I've got a new compact digital camera about a year ago I have the trouble that it's internal format is .MTS

.MTS ? What the heck is that? A question a lot of people will come up with as not all of us are the video cracks and sooo knowledgeable about all that stuff.

So - what would work under Linux to do something useful with all your videos having an .mts format?

Searches will lead you to ffmpeg a very powerful tool for video conversion. But unless you have a weeks time to figure out all the tecnicalities of video conversion which will drive you crazy when doing it the try-and-error way what does work?

After some fiddling and not hitting jackpot at all with direct conversions I figured out that the main problem ist how to get your command line right for ffmpeg. Normally a search on the internet will not produce the cookbook solution for your problem so I had to figure another way.

The solution was kdenlive. I'm running Debian which makes some things very easy. Do a:

apt-get install kdenlive
Run the application and open the menu command. It contains a line for clip conversion. Neat - the conversion window even shows you the input to the ffmpeg command line. Now the videos do correctly convert into a usable format e.g. DVD-PAL (.mov) files. And kdenlive has matured into a usable video editing tool.

Views 9696 Comments 2
« Prev     Main     Next »
Total Comments 2


  1. Old Comment
    I hate when I'm trying to find out how to do something with video conversion (or anything else really) and then I find a relatively easy instruction, like "ffmpeg -cropx 100 -cropy 200" (I made it up, but there was something like that in some program), and then I'm going to try it, and I get some message like "cropx and cropy are deprecated. Use this obscure and hardly intelligible alternative command instead: ffmpeg -wxz X(##)=<desired resolution multiplied by the square root of 2> Y(##)=<desired resolution divided by the last two digits of pi> Z(###/###)=<time lenght of the movie in picoseconds since 1976 multiplied by the greek alphabet upside down, multiplied by E=mc²> <desired resolution>/<least desired resolution>*<md5sum of the input file>.

    Most of the time I use avidemux, I prefer the QT version. The GUI is way less intimidating than kdenlive's.
    Posted 07-03-2012 at 06:19 PM by the dsc the dsc is offline
  2. Old Comment
    I fully agree - was about the same here. Tried first to get to reformat the videos with several hours of trying, reading, fiddling - no result to get .mov for the "Openshot" video editor.

    Then I thought about installing kdenlive in order to give it another try as I had it installed about two years ago but shortly after removed it again as it was not stable.

    Today it has matured into a very useful application including the transformation of videos.

    Today if i want to use ffmpeg I open kdenlive define a project output and then have a look into what it offers as settings. Works
    Posted 07-09-2012 at 09:22 AM by error_401 error_401 is offline


All times are GMT -5. The time now is 10:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration