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 15th November 2005, 02:02 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
mplayer video converting (-vo) help

Hello all,
I'm trying to make a video-convert like audio-convert.
I noticed there's a -vo option, like the -ao pcm:file=outfile I was wondering if anyone managed to get this to work. If I try
mplayer -vo x11:file=outfile mymovie.mpeg it says it doesn't know the file=outfile part.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #2  
Old 15th November 2005, 02:16 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Well, technically, the main goal for me is to convert the video to .mov .m4v (h-264), but i'm not sure if that's possible.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #3  
Old 15th November 2005, 05:39 AM
qfx Offline
Registered User
 
Join Date: Jan 2005
Posts: 13
Yah, I got the iPod Video as well

What you need is ffmpeg, with a command something like this

ffmpeg -vcodec xvid -b 300 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 96 -i input_file.avi -s 320x240 -aspect 4:3 ipod_output.mp4


Which I shamelessly ripped off from this guy
http://atomized.org/


or try this
ffmpeg -i 'Harvey Birdman Attorney at Law - Identity Theft.mpg' -y -threads 2 -map 0.0:0.0 -f mp4 -vcodec xvid -aspect 4:3 -b 2500 -s 320x240 -r ntsc -g 24 -me epzs -qmin 2 -qmax 9 -acodec aac -ab 128 -ar 48000 -ac 2 -map 0.1:0.1 -benchmark 'Harvey Birdman Attorney at Law - Identity Theft.mpg.mp4'

from these guys
http://episteme.arstechnica.com/grou...r/581004816731


Basically, just check out ffmpeg. It should already be on your machine. The issues you might run into include audio/video losing sync.

Let me know if it works for you. I have just gotten my 5G ipod and I've loaded some things, but some other vids aren't converting very well for me. Mainly due to differences in frames per second.

Also, if you DO have windows installed <shocked!> then you might want to check out videora.

Let me know how it works out for you.



p.s. I'm also in Canada (Burnaby)
Reply With Quote
  #4  
Old 15th November 2005, 09:11 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
I dont know if the issue is related but I posted a fix in my mplayer how-to: http://www.fedoraforum.org/forum/showthread.php?t=53335 see if the works or if related.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #5  
Old 15th November 2005, 09:40 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
@qfx, thanks it worked! (the second method)
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #6  
Old 22nd November 2005, 02:13 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Final EDIT: OK,found it works on only some wmv files??? Some wmv files, after using mcoder to convert them to .avi files, will NOT convert with ffmpeg. Any reasong why? I get the same error about mapping in my quote.
Quote:
Edit... ok this is wierd. It used to work, I guess I upgraded it to ATRPMS's version or something ,but now it won't work. It says
"unknown codec aac"
(it being ffmpeg)
EDIT of the edit:
I re-installed the one from livna. Now, I get this instead:
Input #0, avi, from 'test.avi':
Duration: 00:01:50.2, start: 0.000000, bitrate: 10314 kb/s
Stream #0.0: Video: RGB, 220x176, 15.00 fps
Stream #0.1: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s
Output #0, mp4, to 'ipod_output.mp4':
Stream #0.0: Video: xvid, 320x240, 15.00 fps, q=3-5, 300 kb/s
Stream #0.1: Audio: aac, 32000 Hz, stereo, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
and the output is a 0 byte mp4 file.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)

Last edited by Firewing1; 22nd November 2005 at 03:27 AM.
Reply With Quote
  #7  
Old 22nd November 2005, 02:31 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Sorry for all the trouble, got it working. It only handles .mpg files it seems, not .avi??
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #8  
Old 22nd November 2005, 04:36 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
Quote:
Originally Posted by Firewing1
Sorry for all the trouble, got it working. It only handles .mpg files it seems, not .avi??
Firewing1
Try realplayer for avi files....I dont mess with them a lot or I rarely use them but realplayer may do the trick. At one point I thought xmms had a plugin for avi files but dont recall.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
Reply

Tags
converting, mplayer, video

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
Converting video LizardKing Using Fedora 1 23rd September 2007 10:35 AM
Need a good video converting software joe.pelayo Using Fedora 2 7th July 2007 03:48 PM
Converting Video Formats for use with Kino. andymelton Using Fedora 2 7th June 2006 06:19 AM
Converting Video complete-noobie Using Fedora 4 11th May 2006 01:56 PM
converting yuv video karima Programming & Packaging 3 18th July 2005 10:10 PM


Current GMT-time: 05:31 (Thursday, 20-06-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