axiomatic-systems / Bento4

Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools
http://www.bento4.com
2.03k stars 483 forks source link

mp4mux ERROR: unsupported input type 'C' #963

Closed grundysf closed 6 months ago

grundysf commented 6 months ago

Is mp4mux not able to accept absolute paths for input files on Windows machines? Having trouble when using absolute paths, always receiving error: ERROR: unsupported input type 'C'

Have tried quotes around paths with no success. Using relative paths is ok and works just fine?

barbibulle commented 6 months ago

Unfortunately, mp4mux uses the : character as a delimiter when specifying the input file type explicitly (instead of guessing from the file extension). That's an oversight... But you should be able to use windows absolute file paths by specifying the file type explicitly. For example: mp4mux --track h264:c:\my_video.h264 --track aac:c:\my_audio.aac muxed.mp4.

grundysf commented 6 months ago

specifying the file type explicitly works perfectly. Thank you