-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to pipe multi bitarte livestream content generated from ffmpeg? #8
Comments
That's because it doesn't do that. :) Adrian |
Most of what you need is in x9k3.I did a project about six months back that works like that, it was mostly x9k3 code, |
Hi Futzu, Pass 1 Pass 2 Pass 3 If SCTE message is set to insert after seg-3.ts, it should insert in all 3 version of media manifest. Another issue what I observe is, when I tried ad detection and replacement with AWS media tailor it returning error like master manifest is required and seems to be you have pass a media manifest. Can you do some quick modification on this so that it can support multi bitrate livestream content piping with ffmpeg? Suggesting any alternative solution is also highly appreciated. Thank You |
There is no alternative man. |
Hi @futzu , Few query on the package,
If yes please share any guide. Thank You |
Read the the README man, all of that is covered. X-SCTE35, X-CUE, X-DATERANGE, or X-SPLICEPOINT HLS tags can be generated. set with the --hls_tag switch. |
pip3 install --upgrade iframes |
Hi, |
I am going to close this it's not an x9k3 issue. |
I am not sure if the below command is correct or not. My requirement is to insert SCTE35 marker to multi-bitrate livestream content generated from ffmpeg.
ffmpeg -i source.mp4 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -c:v libx264 -crf 22 -c:a aac -ar 48000 -filter:v:0 scale=w=480:h=360 -maxrate:v:0 600k -b:a:0 64k -filter:v:1 scale=w=640:h=480 -maxrate:v:1 900k -b:a:1 128k -filter:v:2 scale=w=1280:h=720 -maxrate:v:2 900k -b:a:2 128k -var_stream_map "v:0,a:0,name:360p v:1,a:1,name:480p v:2,a:2,name:720p" -preset slow -hls_list_size 0 -threads 0 -f hls -hls_playlist_type event -hls_time 3 -hls_flags independent_segments -master_pl_name "master.m3u8" "stream-%v.m3u8" -f mpegts - | x9k3 -s sidecar.txt -l
When I tried with this x9k3 always generating a index.m3u8 file with single bitrate. I want a master file and that should linked to resolution specific child manifest. Example,
master.m3u8
media-1
segment-1.ts
segment-2.ts
segment-n.ts
stream.m3u8
media-2
segment-1.ts
segment-2.ts
segment-n.ts
stream.m3u8
media-3
segment-1.ts
segment-2.ts
segment-n.ts
stream.m3u8
Appreciate your quick response.
Thank you
The text was updated successfully, but these errors were encountered: