[FFmpeg-user] Remux to a "brand mp42" MP4 file

Tarun singhal tsinghal18 at gmail.com
Tue Oct 22 13:35:37 CEST 2013


On Sun, Jul 7, 2013 at 5:02 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> svnpenn <svnpenn <at> gmail.com> writes:
>
> > > Could you explain your use-case, so we would
> > > know what to test?
> > > (Why is mp41 not godd enough?)
> >
> > Carl, I believe my issue is also caused by bad
> > "atoms" being written by FFmpeg
>
> Command line and complete, uncut console output missing.
>
> Please test -f ipod
>
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

Dear Carl/All,

I am responding in continuation this email chain-

1) Does ffmpeg supports mp4v2 or not?

2) Why do I need mp4v2, reason for that-

It seems eac3 codec is not supported in mp4v1 container.
Console Output:
*ffmpeg version N-57147-ga06dcde Copyright (c) 2000-2013 the FFmpeg
developers*
*  built on Oct 14 2013 18:09:04 with gcc 4.8.1 (GCC)*
*  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --*
*bcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libo*
*le-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --ena*
*-enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib*
*  libavutil      52. 46.101 / 52. 46.101*
*  libavcodec     55. 36.100 / 55. 36.100*
*  libavformat    55. 19.102 / 55. 19.102*
*  libavdevice    55.  4.100 / 55.  4.100*
*  libavfilter     3. 88.101 /  3. 88.101*
*  libswscale      2.  5.101 /  2.  5.101*
*  libswresample   0. 17.103 /  0. 17.103*
*  libpostproc    52.  3.100 / 52.  3.100*
*Input #0, mpeg, from 'source.mpg':*
*  Duration: 00:00:09.08, start: 0.739989, bitrate: 8253 kb/s*
*    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576
[SAR 64:45 DAR 16:9], max. 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 t*
*    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s*
*File 'out2.mp4' already exists. Overwrite ? [y/N] y*
*[mp4 @ 0000000004d2b520] track 1: could not find tag, codec not currently
supported in container*
*Output #0, mp4, to 'out2.mp4':*
*  Metadata:*
*    encoder         : Lavf55.19.102*
*    Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x576 [SAR
64:45 DAR 16:9], q=2-31, 200 kb/s, 12800 tbn, 25 tbc*
*    Stream #0:1: Audio: eac3, 48000 Hz, 2.1, fltp, 192 kb/s*
*Stream mapping:*
*  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)*
*  Stream #0:1 -> #0:1 (mp2 -> eac3)*
*Could not write header for output file #0 (incorrect codec parameters ?):
Error number -1 occurred*


But I downloaded one mp4 video from dolby
http://download.dolby.com/Content_Download/channelcheck-cXp.mp4

This video contains eac3 codec, the only diff is its mp4v2.

BTW, I tried with -f ipod also, But I get almost same output as of above.

Thanks,
Tarun


More information about the ffmpeg-user mailing list