LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2007, 02:32 AM   #1
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
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$
 
Old 11-02-2007, 05:51 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Have you tried using 'ffmpeg' for the conversion instead ? I've found mencoder to produce horrible results for converting most things.
 
Old 11-02-2007, 06:10 AM   #3
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
ffmpeg works without a cinch.
 
Old 11-02-2007, 11:31 AM   #4
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,452

Rep: Reputation: Disabled
I think you need to use -faacopts not -lavcopts to use the aac codec.
Brian
 
Old 11-02-2007, 11:45 AM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,452

Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
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
 
Old 11-02-2007, 12:14 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
It's different because it's harder to get the settings right ... if not impossible ?
 
Old 11-03-2007, 02:36 PM   #7
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by BCarey View Post
I think you need to use -faacopts not -lavcopts to use the aac codec.
Brian

I tried it - it didn't work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Convert a .dat (vcd?) to ipod-viewable mp4 bruno321 Linux - Software 2 02-03-2009 01:16 PM
does mencoder allows me to convert avi to mp4? sirpelidor Linux - Software 1 12-16-2006 08:34 PM
FFMPEG vs MPLAYER vs MENCODER and batch conversions to MP4 ? AngusM Linux - Software 2 11-08-2006 08:20 AM
How to convert flv to ipod format? depam Linux - Software 1 10-25-2006 08:21 AM
A/V out-of-sync while convert a rmvb to flv using mencoder tclwp Linux - Software 0 08-08-2006 09:29 AM


All times are GMT -5. The time now is 05:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration