Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th November 2010, 05:25 PM
azmark Offline
Registered User
 
Join Date: Nov 2010
Location: Palominas, AZ
Posts: 2
linuxfedorafirefox
Unhappy New guy...MP4 resolution question

Hi,

My name is Mark and I'm new here. I would like to learn how to reduce the resolution on video files. I have MP4 and .avi files that I want to work with. I'm new to Linux but I'm not a computer newbie. I have avidemux on my machine but I can't figure out how to do what I want to do with it. Can somebody help me out?
Reply With Quote
  #2  
Old 20th November 2010, 06:12 PM
assen Offline
Registered User
 
Join Date: Oct 2008
Posts: 492
linuxfedorafirefox
Re: New guy...MP4 resolution question

Hi,

Install ffmpeg from RPMFusion repository. It will do the job.

WWell,
Reply With Quote
  #3  
Old 20th November 2010, 06:52 PM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 858
linuxfedorafirefox
Re: New guy...MP4 resolution question

hi,

For conversion of videos you could use such programs like ogmrip, handbrake, arista or the firefox extension firefogg. Arista is not in the Fedora or rpmfusion repo, therefore you would have to compile it.

If your also happy with command line programs, you could use ffmpeg2theora, ffmpeg or h264enc

Personally I use ffmpeg2theora and Arista. Ogmrip is not bad either.
Reply With Quote
  #4  
Old 20th November 2010, 06:52 PM
azmark Offline
Registered User
 
Join Date: Nov 2010
Location: Palominas, AZ
Posts: 2
linuxfedorafirefox
Re: New guy...MP4 resolution question

Okay. I got the program and extracted it. How do I install it? Sorry, I have no clue what I'm doing.
Reply With Quote
  #5  
Old 20th November 2010, 07:19 PM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 858
linuxfedorafirefox
Re: New guy...MP4 resolution question

I just noticed that with ogmrip you can only rip DVD's but not rip single videofiles. So this program probably doesn't fit your needs.

to install ffmpeg, ffmpeg2theora you first have to install the rpmfusion repos
Code:
su
rpm -Uvh  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Then install these packages via yum.
Code:
yum install ffmpeg ffmpeg2theora
If you want to try out handbrake you can download it here. To install it use "rpm -ivh HandBrake*.rpm" from the place where you saved this rpm package.

The Arista website is here, but if you don't have experience with compiling of programs you maybe better try the alternatives first.

a short example how you could use ffmpeg2theora:
Code:
ffmpeg2theora -x 768 -y 432 -v 7 -a 0 --optimize 'inputfile.mp4' -o 'outputfile.ogv'
But in this example you have first to cd to the path where the videofile inputfile.mp4 is stored, e.g. if it's in /home/user/Videos then "cd /home/user/Videos". To see the different options of ffmpeg2theora use "ffmpeg2theora --help"

Last edited by Fenrin; 20th November 2010 at 07:22 PM.
Reply With Quote
  #6  
Old 21st November 2010, 03:02 PM
ryzingsrinivas Offline
Registered User
 
Join Date: Sep 2010
Location: india,hyderabad
Posts: 41
linuxfedorafirefox
Re: New guy...MP4 resolution question

hi,
i am using fedora 11 64bit.
myscreen resolution was decreased to 800*600.
i tried in display settings but at that no more than 800*600.
how to improve my screen resolution.

from two days iam facing this problem.

help me.
...............
srinu
Reply With Quote
  #7  
Old 22nd November 2010, 11:52 AM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 858
linuxfedorafirefox
Re: New guy...MP4 resolution question

Quote:
Originally Posted by ryzingsrinivas View Post
...
Do you have a NVIDIA card and are you using the Noveau drivers or did you install the proprietary NVIDIA driver?

If you use the Noveau driver then I suggest that you try the proprietary NVIDIA driver. If you have to use the Noveau driver, maybe this guide in the Arch Linux wiki can help you: https://wiki.archlinux.org/index.php...nitor_settings and also this Nouveau#Configuration.

This advice is maybe useful in your case (but it is probably much easier to install the proprietary NVIDIA driver):
Quote:
If, for some odd reason, the nvidia drivers don't set the correct DPI, you can turn off auto-detection:

Option "UseEdidDpi" "false"
You would add this option in the 10-monitor.conf file below the monitor section.
Reply With Quote
  #8  
Old 22nd November 2010, 01:22 PM
bonedome's Avatar
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 726
windows_98_nt_2000ie
Re: New guy...MP4 resolution question

Hello
seems this thread has been hijacked
for the resizing of videos using ffmpeg see here http://dnmouse.org/forum/viewtopic.p...b102a3513f9b72 for a basic resize try this command
Code:
ffmpeg -i ~/videos/input.mp4 -acodec copy -s 480x272 -vcodec libx264 -vpre hq -vpre main -level 21 -refs 2 -b 384k -threads 0 ~/videos/output.mp4
the resolution is forced by the -s the -b is the bitrate I have the bitrate very low for 480x272 (psp/ipod friendly size) as it gives a good enough quality for the small screen and very small file size.
Note: setting -b is only setting an average bitrate and the default tolerance is +/-300k
Instead of -b 384k you can also use -crf 25 (constant rate factor), which according to man ffmpeg is better for 1 pass encoding, 25 is the lowest bitrate and 1 the highest, I found 25 to be around 400k.
You can press q at anytime during encoding to check the results

Edit: if you want to use aac for audio you'll have to build ffmpeg yourself, it's pretty easy http://dnmouse.org/forum/viewtopic.p...852bff0b29f08f


assen
Quote:
Install ffmpeg from RPMFusion repository. It will do the job.
as superb as ffmpeg is it's not magic, it still needs to be told what to do
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension

Last edited by bonedome; 22nd November 2010 at 01:31 PM.
Reply With Quote
Reply

Tags
guymp4, question, resolution

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf / resolution question JeremyLeonard Using Fedora 2 7th February 2010 10:36 PM
iMac 24 inch resolution question veroaero Using Fedora 7 7th November 2007 04:53 PM
Widescreen resolution question? scribes200581 Hardware & Laptops 2 16th January 2007 01:04 AM
Screen Resolution configuration question brookdel Using Fedora 4 19th February 2006 04:42 PM
GDM Screen Resolution Question zerofx Using Fedora 2 17th June 2005 03:46 AM


Current GMT-time: 04:42 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat