slightly OT -- ffmpeg codecs

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

slightly OT -- ffmpeg codecs

Mark Haney
I've got a bunch of video MP4 files (vacation footage from my sister)
and want to convert them to DVD format for regular DVD viewing.  The
problem is, I must be missing a USE flag for ffmpeg to make it work.

When I try:

ffmpeg -i movie.mp4 movie.avi

I get this as output:

> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
>   Duration: 00:48:11.4, start: 0.000000, bitrate: 372 kb/s
>   Stream #0.0(und): Video: mpeg4, yuv420p, 320x176, 25.00 fps(r)
>   Stream #0.1(und): Audio: mp4a / 0x6134706D, 44100 Hz, stereo

> Unsupported codec (id=86018) for input stream #0.1

I thought at first it was the video codec causing the problem, but it's
not, it's the audio.  I rather thought the 'mp4' use flag would have
covered video and audio, but it's not (at least with ffmpeg).

Any ideas?


--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: slightly OT -- ffmpeg codecs

Ben de Groot-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Haney wrote:
|>   Stream #0.1(und): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
|
|> Unsupported codec (id=86018) for input stream #0.1
|
| I thought at first it was the video codec causing the problem, but it's
| not, it's the audio.  I rather thought the 'mp4' use flag would have
| covered video and audio, but it's not (at least with ffmpeg).

mp4a is usually AAC audio, so check if you have the aac useflag enabled.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH19y5i+u7I1rvkiYRAi6bAJ49y4RLvPn8RwePwNx7pBQfeIf7IwCeLO4a
cHVJy7s+1DFHhQHL439A0gg=
=nk0B
-----END PGP SIGNATURE-----
--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: slightly OT -- ffmpeg codecs

Mark Haney
Ben de Groot wrote:
> Mark Haney wrote:
> |>   Stream #0.1(und): Audio: mp4a / 0x6134706D, 44100 Hz, stereo

>
> mp4a is usually AAC audio, so check if you have the aac useflag enabled.
>
>

Yeah that was my problem. I thought I had enabled it in make.conf, but I
had only needed that support in transcode before, so I enabled it only
for that.  Adding it in fixed it.

Thanks.

--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: slightly OT -- ffmpeg codecs

Beso-2
In reply to this post by Mark Haney

2008/3/12, Mark Haney <[hidden email]>:
I've got a bunch of video MP4 files (vacation footage from my sister)
and want to convert them to DVD format for regular DVD viewing.  The
problem is, I must be missing a USE flag for ffmpeg to make it work.

When I try:

ffmpeg -i movie.mp4 movie.avi

I get this as output:

> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
>   Duration: 00:48:11.4, start: 0.000000, bitrate: 372 kb/s
>   Stream #0.0(und): Video: mpeg4, yuv420p, 320x176, 25.00 fps(r)
>   Stream #0.1(und): Audio: mp4a / 0x6134706D, 44100 Hz, stereo

> Unsupported codec (id=86018) for input stream #0.1

I thought at first it was the video codec causing the problem, but it's
not, it's the audio.  I rather thought the 'mp4' use flag would have
covered video and audio, but it's not (at least with ffmpeg).

Any ideas?

you might  want to try out avidemux. it's one of the best movie editing software around the world. it should be based on ffmpeg. also, for encoding in ffmpeg you should enable the encode use flag. the last hard masked version works like a real charm for me. versions newer need some fix since ffmpeg has moved its includes in the second half of february, so i would advise you not to use the live ffmpeg.
you might want to try out the hardcoded-tables use flag that would improve by some ammount your ram use also.
my ffmpeg use flags are:

aac altivec amr -debug -doc ieee1394 a52 encode imlib -ipv6 mmx vorbis test theora threads truetype x264 xvid -network zlib -sdl X mp3 hardcoded-tables -bindist

they work really well for me.


--
dott. ing. beso