CMAF
Posted: Sat Mar 22, 2025 4:30 pm
Hello,
Thank you for this soft that seems to be an oasis in the desert.
I'm a student in audiovisual infrastructure ans we have to project to create a channel in a week.
I'm trying to generate CMAF with ffastrans but for now i didn't manage to make it work.
The workflow is pretty simple as:
watchfolder -> ffmpeg transcoding -> delivery
This is the command i use in a "ffmpeg custom" block.
-i "%s_source%" \
-map 0:v -map 0:a \
-c:v:0 libx264 -b:v:0 3000k -s:0 1920x1080 -profile:v:0 main \
-c:v:1 libx264 -b:v:1 1500k -s:1 1280x720 -profile:v:1 main \
-c:v:2 libx264 -b:v:2 800k -s:2 854x480 -profile:v:2 main \
-f dash -seg_duration 4 -use_template 1 -use_timeline 1 \
-init_seg_name "%o%/%s_name%_init.mp4" \
-media_seg_name "%o%/%s_name%_media_$Number$.m4s" \
"%o%/%s_name%_manifest.mpd"
As a return i get this error message
"Encoding: Unable to choose an output format for '\\-map'; use a standard extension for the filename or specify the format manually."
i don't understand what the mistake is. I understood that "%s_source%" would complete the file name with the file that the watchfolder is treating.
Thanks for your help
Thank you for this soft that seems to be an oasis in the desert.
I'm a student in audiovisual infrastructure ans we have to project to create a channel in a week.
I'm trying to generate CMAF with ffastrans but for now i didn't manage to make it work.
The workflow is pretty simple as:
watchfolder -> ffmpeg transcoding -> delivery
This is the command i use in a "ffmpeg custom" block.
-i "%s_source%" \
-map 0:v -map 0:a \
-c:v:0 libx264 -b:v:0 3000k -s:0 1920x1080 -profile:v:0 main \
-c:v:1 libx264 -b:v:1 1500k -s:1 1280x720 -profile:v:1 main \
-c:v:2 libx264 -b:v:2 800k -s:2 854x480 -profile:v:2 main \
-f dash -seg_duration 4 -use_template 1 -use_timeline 1 \
-init_seg_name "%o%/%s_name%_init.mp4" \
-media_seg_name "%o%/%s_name%_media_$Number$.m4s" \
"%o%/%s_name%_manifest.mpd"
As a return i get this error message
"Encoding: Unable to choose an output format for '\\-map'; use a standard extension for the filename or specify the format manually."
i don't understand what the mistake is. I understood that "%s_source%" would complete the file name with the file that the watchfolder is treating.
Thanks for your help