LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2014, 11:17 AM   #1
Livestream
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Rep: Reputation: Disabled
How do I convert 1080p/720p video to 480p using ffmpeg?


I would like to know how to convert 1080p/720p video to 480p using ffmpeg with minimal quality loss(assuming lossless conversion is impossible).
 
Old 10-30-2014, 12:43 PM   #2
c0d3d
Member
 
Registered: Aug 2012
Posts: 74

Rep: Reputation: 12
This should do the trick:
Code:
ffmpeg -i /path/to/input -s WxH /path/to/output
 
Old 10-30-2014, 01:50 PM   #3
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Provide the output of
Code:
ffmpeg -i input.mkv
as well as specific codecs you want to use, and I'll recommend some commands. In general it's something like:

Code:
ffmpeg -i input.mkv -vcodec libx264 -vpre medium -crf 15 -s 640x272 -aspect 640:272 -r 23.976 -threads 4 -acodec libvo_aacenc -ab 128k -ar 48000 -async 48000 -ac 2 -scodec copy output.mkv
https://trac.ffmpeg.org/wiki/Encode/H.264
 
1 members found this post helpful.
Old 10-31-2014, 06:15 AM   #4
Livestream
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by metaschima View Post
Provide the output of
Code:
ffmpeg -i input.mkv
as well as specific codecs you want to use, and I'll recommend some commands. In general it's something like:

Code:
ffmpeg -i input.mkv -vcodec libx264 -vpre medium -crf 15 -s 640x272 -aspect 640:272 -r 23.976 -threads 4 -acodec libvo_aacenc -ab 128k -ar 48000 -async 48000 -ac 2 -scodec copy output.mkv
https://trac.ffmpeg.org/wiki/Encode/H.264
Thank you for providing me with that link. I think I will find what I need there.
 
  


Reply

Tags
ffmpeg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 720p 1080p online videos are too slow greed109 Linux - Newbie 2 12-25-2011 05:36 PM
ffmpeg to convert video to play in mobile phones. skillednerd Linux - Software 13 04-08-2011 07:39 PM
using ffmpeg to convert video files acamus Linux - Newbie 2 01-04-2011 08:41 PM
480p YouTube video doesn't load Mr. Alex Linux - Newbie 5 06-08-2010 12:55 PM
High definition (720p or 1080p) playback on Linux & driver AleLinuxBSD Linux - Software 0 04-12-2010 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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