Closed ministry-of-code closed 7 months ago
With this command line, you are telling the packager to use the audio track from the file audio-1.mp4
([type=audio]
is a filter), as well as all the tracks from dev_sample_video_1280x720_1mb.mp4
(no filter).
Is it possible that dev_sample_video_1280x720_1mb.mp4
contains both video and audio tracks? (you can use the mp4info
tool to list all the tracks in the file).
If that's the case, you can tell the packager to only use the video track from that file, by prefixing it with [type=video]
. (in this case, it would be: [type=video]dev_sample_video_1280x720_1mb.mp4
).
Hello @barbibulle, thank you for your reply. Yes, the video file contains audio and what you said was my assumption as well. Thanks for the clarification - I could not find any information regarding this in the documentation. I'll try to add a filter for the video as you suggested.
Hello,
I try to create a HLS from an MP4 video input file as well as 1-n audio tracks (AAC) by calling this command
The file
master.m3u8
that is being generated from this command contains an "Audio" section that contains an unspecified language name "Unknown" and language "und". How can this be? I did not specify this audio & language. Where does it come from?For other video files that I used, I see additional audio channels like "Ger" and "Eng" that I did not specify as well. I don't know where this comes from and wonder why these information are being added automatically by mp4hls.
Has anyone an idea what the problem could be?