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

15th November 2005, 02:02 AM
|
 |
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
|

15th November 2005, 02:16 AM
|
 |
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
|

15th November 2005, 05:39 AM
|
|
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)
|

15th November 2005, 09:40 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
@qfx, thanks it worked! (the second method)
Firewing1
|

22nd November 2005, 02:13 AM
|
 |
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
Last edited by Firewing1; 22nd November 2005 at 03:27 AM.
|

22nd November 2005, 02:31 AM
|
 |
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
|

22nd November 2005, 04:36 AM
|
 |
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:31 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|