빠르고 좋네 +_+

ffmpeg 만세


If you only want to convert mkv to mp4 then you will save quality and a lot of time by just changing the containers. Both of these are just wrappers over the same content so the cpu only needs to do a little work. Don't re encode as you will definitely lose quality.


It's very straight forward using ffmpeg:


ffmpeg -i LostInTranslation.mkv -vcodec copy -acodec copy LostInTranslation.mp4

Here, you are copying the video codec and audio codec so nothing is being encoded.


Tip:


To convert all the mkv files in current directory, run a simple loop in terminal:


for i in *mkv; do ffmpeg -i $i -vcodec copy -acodec copy $i.mp4; done 


[링크 : http://askubuntu.com/questions/396883/how-to-simply-convert-video-files-i-e-mkv-to-mp4]

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

ffmpeg concat  (0) 2018.10.10
ffmpeg huffyuv  (0) 2017.02.28
ffmpeg 으로 파일 재생하기  (0) 2015.02.10
Mplayer/ffmpeg 크로스 컴파일 하기  (0) 2015.01.27
ffmpeg arm 아키텍쳐별 최적화 코덱  (0) 2015.01.26
Posted by 구차니