Gentoo Archives: gentoo-amd64

From: Beso <givemesugarr@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] slightly OT -- ffmpeg codecs
Date: Wed, 12 Mar 2008 19:50:43
Message-Id: d257c3560803121250x30b1f87do5cba928886142051@mail.gmail.com
In Reply to: [gentoo-amd64] slightly OT -- ffmpeg codecs by Mark Haney
1 2008/3/12, Mark Haney <mhaney@××××××××××××.org>:
2 >
3 > I've got a bunch of video MP4 files (vacation footage from my sister)
4 > and want to convert them to DVD format for regular DVD viewing. The
5 > problem is, I must be missing a USE flag for ffmpeg to make it work.
6 >
7 > When I try:
8 >
9 > ffmpeg -i movie.mp4 movie.avi
10 >
11 > I get this as output:
12 >
13 > > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
14 > > Duration: 00:48:11.4, start: 0.000000, bitrate: 372 kb/s
15 > > Stream #0.0(und): Video: mpeg4, yuv420p, 320x176, 25.00 fps(r)
16 > > Stream #0.1(und): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
17 >
18 > > Unsupported codec (id=86018) for input stream #0.1
19 >
20 > I thought at first it was the video codec causing the problem, but it's
21 > not, it's the audio. I rather thought the 'mp4' use flag would have
22 > covered video and audio, but it's not (at least with ffmpeg).
23 >
24 > Any ideas?
25
26
27 you might want to try out avidemux. it's one of the best movie editing
28 software around the world. it should be based on ffmpeg. also, for encoding
29 in ffmpeg you should enable the encode use flag. the last hard masked
30 version works like a real charm for me. versions newer need some fix since
31 ffmpeg has moved its includes in the second half of february, so i would
32 advise you not to use the live ffmpeg.
33 you might want to try out the hardcoded-tables use flag that would improve
34 by some ammount your ram use also.
35 my ffmpeg use flags are:
36
37 aac altivec amr -debug -doc ieee1394 a52 encode imlib -ipv6 mmx vorbis test
38 theora threads truetype x264 xvid -network zlib -sdl X mp3 hardcoded-tables
39 -bindist
40
41 they work really well for me.
42
43
44 --
45 dott. ing. beso