Discussion:
[MEncoder-users] Audio format 0x4134504d is incompatible with '-oac copy',
Marc MERLIN
2013-02-24 06:05:34 UTC
Permalink
Howdy,

I'd like to concatenate several files from a gopro into a single file.
But I can't find the right mencoder options to use so that I don't re-encode
the files.

I've tried something like this, can you recommend something better/a fixed command line?

Thanks,
Marc

gandalfthegreat [mc]$ mencoder -ovc copy -oac copy -of lavf -lavfopts format=mp4 gopr0005.mp4 -o gopro_0004.avi
MPlayer SVN-r34531 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0x506212
libavformat version 53.29.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 1280x720 24bpp 29.970 fps 11179.0 kbps (1364.6 kbyte/s)
[V] filefmt:44 fourcc:0x34363248 size:1280x720 fps:29.970 ftime:=0.0334
** 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.
videocodec: framecopy (1280x720 24bpp fourcc=34363248)
Audio format 0x4134504d is incompatible with '-oac copy', please try '-oac pcm' instead or use '-fafmttag' to override it.

Exiting...
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
Carl Eugen Hoyos
2013-02-25 11:13:25 UTC
Permalink
Post by Marc MERLIN
gandalfthegreat [mc]$ mencoder -ovc copy -oac copy -of lavf
-lavfopts format=mp4 gopr0005.mp4 -o gopro_0004.avi
MPlayer SVN-r34531 (C) 2000-2010 MPlayer Team
This is too old, but please use FFmpeg for such simple
conversions, MEncoder is not an actively maintained
application for several years, only use it if you
need a feature not present in FFmpeg.
(Inverse telecine, binary decoding)

Carl Eugen

Loading...