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

Vangelis forthnet northmedia1 at the.forthnet.gr
Thu Feb 14 17:43:37 CET 2013


On Thu Feb 14 17:11:44 CET 2013, Liam Condron-Farnos wrote:

>You could try using '-tag:v mp42' (you may need to use -vtag for older
>versions).

 Thanks for your reply Liam...
However, this was one of the first things I tried :-(
I think that the -tag:v switch does not apply to the MP4 container in my 
case,
I know that it does apply to the AVI container to change the
FourCC format (from, say, DX50 to Xvid), feel free to correct me here...

This is the Command Prompt window output I get with your suggestion:

C:\Program Files\WinFF>"C:\Program Files\WinFF\ffmpeg.exe" -i "The Sun 
King.flv" -f mp4 -c copy
 -tag:v mp42 "The Sun King.mp4"
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 20 2013 23:05:28 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb 
 --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger 
 --e
nable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc  
--en
able-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable
-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, flv, from 'The Sun King.flv':
  Metadata:
    moovPosition    : 32
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiochannels   : 2
  Duration: 00:20:08.62, start: 0.000000, bitrate: 1502 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 832x468 [SAR 117:117 DAR 
16:9], 25
 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp
[mp4 @ 03590960] Tag mp42/0x3234706d incompatible with output codec id '28' 
([33
][0][0][0])
Output #0, mp4, to 'The Sun King.mp4':
  Metadata:
    moovPosition    : 32
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiochannels   : 2
    Stream #0:0: Video: h264 (mp42 / 0x3234706D), yuv420p, 832x468 [SAR 
117:117
DAR 16:9], q=2-31, 90k tbn, 1k tbc
    Stream #0:1: Audio: aac, 48000 Hz, stereo
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): 
Invalid
 data found when processing input

... and I get a 0 byte .mp4 file :-(

 Any other suggestions from everyone are most welcome!

Cheers, Vangelis 



More information about the ffmpeg-user mailing list