I have an AVI file with 1 video track and 1 audio track. I want to create an MP4 file with only the video track. Here is the command I use :
$ MP4Box -new -add video.avi#video movie.mp4
This works as expected. However, if I explicitly add the format of the input file, this doesn't work anymore :
$ MP4Box -new -add video.avi:fmt=avi#video movie.mp4
AVI FMP4 video import - 720 x 288 @ 25.0000 FPS - 5052 Frames
Indicated Profile: Simple Profile @ Level 1
Import results: 5052 VOPs (106 Is - 4946 Ps)
Unsupported AVI audio format
Error importing video.avi:fmt=avi#video: Feature Not Supported
Of course, as long as the first command works, why use the second ? Because the files I have doesn't have the .avi extension and I don't want to rename them. Anyway, this looks like a bug.
Regards,
Olivier
Last edit: Olivier Rolland 2014-09-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have an AVI file with 1 video track and 1 audio track. I want to create an MP4 file with only the video track. Here is the command I use :
$ MP4Box -new -add video.avi#video movie.mp4
This works as expected. However, if I explicitly add the format of the input file, this doesn't work anymore :
$ MP4Box -new -add video.avi:fmt=avi#video movie.mp4
AVI FMP4 video import - 720 x 288 @ 25.0000 FPS - 5052 Frames
Indicated Profile: Simple Profile @ Level 1
Import results: 5052 VOPs (106 Is - 4946 Ps)
Unsupported AVI audio format
Error importing video.avi:fmt=avi#video: Feature Not Supported
Of course, as long as the first command works, why use the second ? Because the files I have doesn't have the .avi extension and I don't want to rename them. Anyway, this looks like a bug.
Regards,
Olivier
Last edit: Olivier Rolland 2014-09-01
I cannot reproduce your issue, could you check with latest svn ?