Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
11-02-2007, 02:32 AM
#1
Member
Registered: Dec 2006
Posts: 271
Rep:
Trying to convert from flv to mp4 (for iPod) using mencoder.
I used the latest 1.0rc2 MPlayer script from SlackBuilds.org. I also have a faac package installed from SBo as well.
Here's the command I'm running to convert the flv file into an mp4 and the output I get:
Code:
me@alkos333_TPT60:~/testing$ mencoder Unleashing\ Video\ Search.flv -oac lavc -lavcopts acodec=aac:aglobal=1:vglobal=1:abitrate=128 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:v>
MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU T2500 @ 2.00GHz (Family: 6, Model: 14, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x7e47ac9
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [FLV1] 320x240 0bpp 29.917 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x31564C46 size:320x240 fps:29.92 ftime:=0.0334
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=320 h=-11]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
Audio LAVC, couldn't find encoder for codec aac.
Exiting...
me@alkos333_TPT60:~/testing$
11-02-2007, 05:51 AM
#2
Guru
Registered: Oct 2005
Posts: 11,388
Have you tried using 'ffmpeg' for the conversion instead ? I've found mencoder to produce horrible results for converting most things.
11-02-2007, 06:10 AM
#3
Member
Registered: Oct 2004
Location: France, Provence
Distribution: Debian sid, aptosid, Linux Mint, MacOS X
Posts: 847
Rep:
ffmpeg works without a cinch.
11-02-2007, 11:31 AM
#4
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295
Rep:
I think you need to use -faacopts not -lavcopts to use the aac codec.
Brian
11-02-2007, 11:45 AM
#5
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295
Rep:
Quote:
Originally Posted by
H_TeXMeX_H
I've found mencoder to produce horrible results for converting most things.
Please don't throw out sweeping comments like that without at least giving some examples. mencoder works very well for many things. It even uses ffmpeg codecs (among others) as well, so if you are converting with the same codecs and the same settings I don't see how the quality would be different.
Brian
11-02-2007, 12:14 PM
#6
Guru
Registered: Oct 2005
Posts: 11,388
It's different because it's harder to get the settings right ... if not impossible ?
11-03-2007, 02:36 PM
#7
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
Quote:
Originally Posted by
BCarey
I think you need to use -faacopts not -lavcopts to use the aac codec.
Brian
I tried it - it didn't work.
Thread Tools
Search this Thread
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
All times are GMT -5. The time now is 04:54 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News