convert mp4 to avi video

ReginaBob

Member
Credits
107
Is it possible to convert mp4 video,shot with my Sony a6000 camera,to AVI,to play on a tv that apparently only supports AVI?There are other formats I could shoot with on this camera, but I think they are proprietary sony, so probably not Linux compatible.I am using Mint 20.1.I tried Handbreak, but it only seems to convert to mkv and m4u.Also tried VLC,but the convert button does nothing.Maybe I need a plugin or something.Scratching already hairess head....
 


KGIII

Super Moderator
Staff member
Gold Supporter
Credits
13,294
You probably want ffmpeg. This is for 'Ubuntu' but the commands would be universal across all distros.

 

jglen490

Well-Known Member
Credits
4,106
There is an application, handbrake, that does conversions like this.
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
13,708

Hammer7

New Member
Credits
90
Yeah, similar to KGIII I'd recommend FFMPEG. It seems to be good for conversions. It can also trim and compress videos. Just note that its terminal based.
 

Hammer7

New Member
Credits
90
Ok, so I tried converting an mp4video to an AVI video with ffmpeg and it seems like the quality went down a bit.
Not sure about that.
 

jglen490

Well-Known Member
Credits
4,106
Handbrake does use ffmpeg, under the hood/bonnet. Based on the documentation, it does work on mp4 source files, as it should since it uses ffmpeg. I would refer the OP to the Handbrake doc at
Code:
https://handbrake.fr/docs/en/
just so there's no mistake in my explanation of what the application does. I've used the app more than once.

There probably are multiple applications that use ffmpeg. No offense to the ffmpeg devs, but mature GUI front ends are typically more useful than the native CLI for a number of applications.
 

JasKinasis

Well-Known Member
Credits
5,990
Ok, so I tried converting an mp4video to an AVI video with ffmpeg and it seems like the quality went down a bit.
Not sure about that.
You’re converting from one lossey format to another lossey format, so there’s naturally going to be some degradation. Also, did you specify any quality settings? Or did you just convert directly from mp4 to avi using the default settings? I haven’t used ffmpeg in a while, so I can’t remember what options you have. But it’s never failed me in the past.

Results will also depend on the quality of the source material.
If the source mp4 is low quality, then the resulting avi will also be low quality. If the mp4 is good quality, you should be able to get a decent quality avi with the default settings. But sometimes you might have to try converting a few times with different settings to try to get the best result.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top