Closed akouSDN closed 5 years ago
@akouSDN Thanks for trying this out. The json file you have tried is little incorrect. Please try the below json example for the correct configuration.
{
"output": {
"burn_tc": "off",
"dash_master_manifest": "out.mpd",
"out_type": "CMAF",
"enable_abs_seg_path": "off",
"ingest_url": "http://192.168.2.2",
"abs_seg_path_base_url": "",
"create_muxed_av": "off",
"b_ingest_url": "",
"dash_chunked": "on",
"segment_size": "8"
},
"input_id": "0",
"video": {
"variants": [
{
"video_height": "360",
"video_width": "640",
"codec": "libx264",
"bitrate": "300",
"audio_tag": "aud0"
},
{
"video_height": "480",
"video_width": "720",
"codec": "libx264",
"bitrate": "700",
"audio_tag": "aud0"
},
{
"video_height": "720",
"video_width": "1280",
"codec": "libx264",
"bitrate": "1500",
"audio_tag": "aud1"
}
],
"enable_cc": "off",
"rate_control": "cbr",
"speed_preset": "fast",
"num_b_frame": 8
},
"audio": {
"aud0": {
"codec": "aac",
"bitrate": "32"
},
"aud1": {
"codec": "aac",
"bitrate": "92"
}
}
}
Thanks @jkarthic-akamai for the prompt reply. Everything is working fine now, but I could not see the generated mpd or segments in the defined location (192.168.2.2/)? and we I requested it form the server. It gives me file not found issue. Is there any solution?
@akouSDN Which server are you running on 192.168.2.2? Does it support HTTP PUT and POST for file creation from http request body?
Thank you @jkarthic-akamai I am using Apache2 on Ubuntu 18.04.
@akouSDN I don't think Apache2 supports file creation from HTTP PUT or POST. You could try out nginx server with dav module enabled http://nginx.org/en/docs/http/ngx_http_dav_module.html for such a support.
The general streaming architecture is that encoder usually does a HTTP PUT or POST to the origin server. Maybe you could refer to the README document of streamline project to get an idea of a typical live streaming system's architecture. This project caters to the encoder part of such a system.
@jkarthic-akamai thank you. I will try other server and let you know.
@akouSDN Hey, Hold on a sec! The nginx server doesn't support POST. It supports only PUT. Hence I changed ABR Broadcaster to use PUT instead of POST. This will make it compatible with nginx server. I request you update your ABR Broadcaster version (git pull, sudo service apache2 restart) before you try out nginx server.
ok great. Thanks @jkarthic-akamai.
Closing it as the issue is with the webserver and not with the ABR-Broadcaster.
Hi @jkarthic-akamai Thanks for this project. It really helps in live streaming test. But I have an issue. So, after running everything fine but I can not find the MPD (out.mpd) and the generated chunks. This the configuration of my json file:
Error.log file shows:
But when i started the CURL command, see this the log file of broacaster-error.log
Is there any solution? thanks.