that worked over many years now and with 4.1 "[mp4 @ 0x5618adfe4b80] Could not find tag for codec mpeg4 in stream #0, codec not currently supported in container"
/usr/local/bin/ffmpeg -hide_banner -i '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k' -bt '64k' -maxrate '544k' -ar '44100' -ac '2' -r '25' -vf 'scale=480:266,setdar=16/9,pad=480:270:0:2:000000' -async '1' -f 'mp4' -codec:v 'mpeg4' -codec:a 'aac' -strict 'experimental' -cutoff '15000' -vtag 'xvid' -threads '4' -metadata 'creation_time=2018-11-08T13:13:16' '/mnt/data/autotest/parts/ffmpeg/targets/test.xvid' >> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_xvid.log' 2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_xvid.log' Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/data/autotest/parts/ffmpeg/demo.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01T00:00:00.000000Z encoder : Lavf52.31.0 Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 80:81 DAR 16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25 fps, 25 tbr, 25 tbn, 50 tbc (default) Metadata: creation_time : 1970-01-01T00:00:00.000000Z handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default) Metadata: creation_time : 1970-01-01T00:00:00.000000Z handler_name : SoundHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help -async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0. [mpeg4 @ 0x5618adfed880] Automatically choosing VBV buffer size of 86 kbyte [mp4 @ 0x5618adfe4b80] Could not find tag for codec mpeg4 in stream #0, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Error initializing output stream 0:0 -- _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".