jkarthic-akamai / ABR-Broadcaster

A real time encoder for Adaptive Bitrate Broadcast
Apache License 2.0
93 stars 24 forks source link

MPD and Chunks are not generated #1

Closed akouSDN closed 5 years ago

akouSDN commented 6 years ago

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:

{
    "devices": [
        {
            "status": "Active", 
            "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": "", 
                "hls_master_manifest": "master.m3u8", 
                "create_muxed_av": "off", 
                "b_ingest_url": "", 
                "dash_chunked": "on", 
                "segment_size": "8"
            }, 
            "input_id": "0", 
            "input": {
                "status": "Active", 
                "scantype": "", 
                "input_interface": "v4l2 -ts abs -video_size 1280x720", 
                "framerate": "30", 
                "height": "720", 
                "width": "1280", 
                "input_url": "/dev/video0 -f alsa -i default"
            }, 
            "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"
                }
            }
        }
    ], 
    "codecs": [
        "libx264"
    ]
}

Error.log file shows:

[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00245.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00237.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00246.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00238.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00247.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00239.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00248.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00240.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00249.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00241.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00250.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00242.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00251.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00243.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00252.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00244.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00253.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00245.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00254.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00246.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00255.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00247.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00256.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00248.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00257.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00249.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00258.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00250.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00259.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00251.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00260.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00252.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00261.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00253.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00262.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00254.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00263.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00255.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00264.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00256.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00265.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00257.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00266.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00258.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00267.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00259.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00268.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00260.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00269.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00261.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00270.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00262.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00271.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00263.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00272.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00264.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00273.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00265.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00274.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00266.m4s' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_0.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_1.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_2.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_3.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/media_4.m3u8' for writing
[dash @ 0x562cced6e4c0] Opening 'http://192.168.2.2/163919/chunk-stream_t_0-00275.m4s' for writing

But when i started the CURL command, see this the log file of broacaster-error.log


[Mon Nov 19 16:37:14.372782 2018] [wsgi:error] [pid 2670:tid 139705320421120] [client 192.168.2.5:34790] input_src_id None, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:37:14.376514 2018] [wsgi:error] [pid 2670:tid 139705320421120] [client 192.168.2.5:34790] INSERT INTO CapInputNames  ( InputInterface, InputId, InputUrl )  VALUES( "v4l2 -ts abs -video_size 1280x720", "0", "/dev/video0 -f alsa -i default" ) , referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:16.787979 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] Starting encoder, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:16.788823 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] Storing default value for [audio] codec, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:16.789208 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] Storing default value for [audio] codec, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:16.789455 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] Storing default value for dash_master_manifest, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:16.789592 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] Storing default value for abs_seg_path_base_url, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:16.789718 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] Storing default value for hls_master_manifest, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:16.797258 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] Inside start_encoder.py input_id:0, referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:19.356194 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] ffmpeg   -copyts  -probesize 10M -f v4l2 -ts abs -video_size 1280x720 -i /dev/video0 -f alsa -i default -flags +global_header -r 30/1   -af aresample=async=1  -c:v:0 libx264 -pix_fmt:0 yuv420p -preset:0 fast -a53cc:0 0 -b:v:0 300k -bufsize:0 30k -nal-hrd:0 cbr  -s:0 640x360 -force_key_frames:0 "expr:gte(t,n_forced*8)"  -bf:0 8 -x264opts:0 scenecut=-1:rc_lookahead=0  -c:v:1 libx264 -pix_fmt:1 yuv420p -preset:1 fast -a53cc:1 0 -b:v:1 700k -bufsize:1 70k -nal-hrd:1 cbr  -s:1 720x480 -force_key_frames:1 "expr:gte(t,n_forced*8)"  -bf:1 8 -x264opts:1 scenecut=-1:rc_lookahead=0  -c:v:2 libx264 -pix_fmt:2 yuv420p -preset:2 fast -a53cc:2 0 -b:v:2 1500k -bufsize:2 150k -nal-hrd:2 cbr  -s:2 1280x720 -force_key_frames:2 "expr:gte(t,n_forced*8)"  -bf:2 8 -x264opts:2 scenecut=-1:rc_lookahead=0  -c:a:0 aac  -ar 16000 -b:a:0 32k  -c:a:1 aac  -ar 32000 -b:a:1 92k  -f tee -map 0:v -map 0:v -map 0:v -map 1:a? -map 1:a? "[f=dash:media_seg_name='163919/chunk-stream_t_\\$RepresentationID\\$-\\$Number%05d\\$.m4s':init_seg_name='163919/init-stream\\$RepresentationID\\$.m4s':min_seg_duration=8000000:window_size=3:use_timeline=0:http_user_agent=Akamai_Broadcaster_v1.0:streaming=1:index_correction=1:timeout=0.5:hls_playlist=1 ]http://192.168.2.2/out.mpd ", referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:19.370895 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] INSERT INTO StreamConfig  ( ProcessID, InputID, SubStreamID, TIME, InScanType, VidInWidth, VidInHt, FrameRate, VidInFrameRate )  VALUES( "4341", "0", "0", "1542641959370346", "", "1280", "720", "30", "30" ) , referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:19.376204 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] INSERT INTO StreamConfig  ( ProcessID, InputID, SubStreamID, TIME, InScanType, VidInWidth, VidInHt, FrameRate, VidInFrameRate )  VALUES( "4341", "0", "1", "1542641959370346", "", "1280", "720", "30", "30" ) , referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:19.380759 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] INSERT INTO StreamConfig  ( ProcessID, InputID, SubStreamID, TIME, InScanType, VidInWidth, VidInHt, FrameRate, VidInFrameRate )  VALUES( "4341", "0", "2", "1542641959370346", "", "1280", "720", "30", "30" ) , referer: http://192.168.2.2:8888/
[Mon Nov 19 16:39:19.384417 2018] [wsgi:error] [pid 2670:tid 139705278457600] [client 192.168.2.5:34794] All Ok, encoder started successfully, referer: http://192.168.2.2:8888/
[Mon Nov 19 17:07:46.944783 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194] Starting encoder
[Mon Nov 19 17:07:46.948213 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194] 'video'
[Mon Nov 19 17:07:46.964361 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194] ERROR:root:'video'
[Mon Nov 19 17:07:46.964627 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194] Traceback (most recent call last):
[Mon Nov 19 17:07:46.964694 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1535, in __call__
[Mon Nov 19 17:07:46.964722 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     rv = self.handle_exception(request, response, e)
[Mon Nov 19 17:07:46.964747 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1529, in __call__
[Mon Nov 19 17:07:46.964772 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     rv = self.router.dispatch(request, response)
[Mon Nov 19 17:07:46.964797 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1278, in default_dispatcher
[Mon Nov 19 17:07:46.964823 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     return route.handler_adapter(request, response)
[Mon Nov 19 17:07:46.964847 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1102, in __call__
[Mon Nov 19 17:07:46.964873 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     return handler.dispatch()
[Mon Nov 19 17:07:46.964897 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 572, in dispatch
[Mon Nov 19 17:07:46.964922 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     return self.handle_exception(e, self.app.debug)
[Mon Nov 19 17:07:46.964947 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 570, in dispatch
[Mon Nov 19 17:07:46.964972 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     return method(*args, **kwargs)
[Mon Nov 19 17:07:46.964996 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/home/test/Desktop/ABR-Broadcaster/wsgi-scripts/wc_config_handler.py", line 43, in post
[Mon Nov 19 17:07:46.965096 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     status_code, reason = startencoder.start_encoder(enc_params)
[Mon Nov 19 17:07:46.965125 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/home/test/Desktop/ABR-Broadcaster/wsgi-scripts/wc_startencoder.py", line 289, in start_encoder
[Mon Nov 19 17:07:46.965148 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     store_default_config(default_config, enc_params)
[Mon Nov 19 17:07:46.965170 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]   File "/home/test/Desktop/ABR-Broadcaster/wsgi-scripts/wc_startencoder.py", line 55, in store_default_config
[Mon Nov 19 17:07:46.965193 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194]     curr_config[key][common_vid_params] = default_config[key][common_vid_params]
[Mon Nov 19 17:07:46.965215 2018] [wsgi:error] [pid 2670:tid 139705395955456] [client 192.168.2.5:36194] KeyError: 'video'
[Mon Nov 19 17:08:36.973978 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598] Starting encoder
[Mon Nov 19 17:08:36.975063 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598] 'video'
[Mon Nov 19 17:08:36.977573 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598] ERROR:root:'video'
[Mon Nov 19 17:08:36.977872 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598] Traceback (most recent call last):
[Mon Nov 19 17:08:36.977979 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1535, in __call__
[Mon Nov 19 17:08:36.978025 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     rv = self.handle_exception(request, response, e)
[Mon Nov 19 17:08:36.978066 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1529, in __call__
[Mon Nov 19 17:08:36.978107 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     rv = self.router.dispatch(request, response)
[Mon Nov 19 17:08:36.978291 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1278, in default_dispatcher
[Mon Nov 19 17:08:36.978343 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     return route.handler_adapter(request, response)
[Mon Nov 19 17:08:36.978383 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1102, in __call__
[Mon Nov 19 17:08:36.978423 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     return handler.dispatch()
[Mon Nov 19 17:08:36.978463 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 572, in dispatch
[Mon Nov 19 17:08:36.978503 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     return self.handle_exception(e, self.app.debug)
[Mon Nov 19 17:08:36.978543 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 570, in dispatch
[Mon Nov 19 17:08:36.978584 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     return method(*args, **kwargs)
[Mon Nov 19 17:08:36.978623 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/home/test/Desktop/ABR-Broadcaster/wsgi-scripts/wc_config_handler.py", line 43, in post
[Mon Nov 19 17:08:36.978665 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     status_code, reason = startencoder.start_encoder(enc_params)
[Mon Nov 19 17:08:36.978706 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/home/test/Desktop/ABR-Broadcaster/wsgi-scripts/wc_startencoder.py", line 289, in start_encoder
[Mon Nov 19 17:08:36.979253 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     store_default_config(default_config, enc_params)
[Mon Nov 19 17:08:36.979307 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]   File "/home/test/Desktop/ABR-Broadcaster/wsgi-scripts/wc_startencoder.py", line 55, in store_default_config
[Mon Nov 19 17:08:36.979345 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598]     curr_config[key][common_vid_params] = default_config[key][common_vid_params]
[Mon Nov 19 17:08:36.979381 2018] [wsgi:error] [pid 2670:tid 139705286850304] [client 192.168.2.5:36598] KeyError: 'video'
[Mon Nov 19 17:09:54.760222 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220] ERROR:root:Extra data: line 1 column 2 - line 1 column 7 (char 1 - 6)
[Mon Nov 19 17:09:54.761076 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220] Traceback (most recent call last):
[Mon Nov 19 17:09:54.761495 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1535, in __call__
[Mon Nov 19 17:09:54.761773 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     rv = self.handle_exception(request, response, e)
[Mon Nov 19 17:09:54.761882 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1529, in __call__
[Mon Nov 19 17:09:54.761928 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     rv = self.router.dispatch(request, response)
[Mon Nov 19 17:09:54.762041 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1278, in default_dispatcher
[Mon Nov 19 17:09:54.762093 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     return route.handler_adapter(request, response)
[Mon Nov 19 17:09:54.762133 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1102, in __call__
[Mon Nov 19 17:09:54.762173 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     return handler.dispatch()
[Mon Nov 19 17:09:54.762212 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 572, in dispatch
[Mon Nov 19 17:09:54.762253 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     return self.handle_exception(e, self.app.debug)
[Mon Nov 19 17:09:54.762293 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 570, in dispatch
[Mon Nov 19 17:09:54.762333 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     return method(*args, **kwargs)
[Mon Nov 19 17:09:54.762372 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/home/test/Desktop/ABR-Broadcaster/wsgi-scripts/wc_config_handler.py", line 41, in post
[Mon Nov 19 17:09:54.762414 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     enc_params = self.request.json
[Mon Nov 19 17:09:54.762453 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 715, in _json_body__get
[Mon Nov 19 17:09:54.762838 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     return json.loads(self.body.decode(self.charset))
[Mon Nov 19 17:09:54.762906 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
[Mon Nov 19 17:09:54.763027 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     return _default_decoder.decode(s)
[Mon Nov 19 17:09:54.763105 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]   File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
[Mon Nov 19 17:09:54.763142 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220]     raise ValueError(errmsg("Extra data", s, end, len(s)))
[Mon Nov 19 17:09:54.763178 2018] [wsgi:error] [pid 2670:tid 139705421133568] [client 192.168.2.5:37220] ValueError: Extra data: line 1 column 2 - line 1 column 7 (char 1 - 6)

Is there any solution? thanks.

jkarthic-akamai commented 6 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"
        }
    }
}
akouSDN commented 6 years ago

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?

jkarthic-akamai commented 6 years ago

@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?

akouSDN commented 6 years ago

Thank you @jkarthic-akamai I am using Apache2 on Ubuntu 18.04.

jkarthic-akamai commented 6 years ago

@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.

akouSDN commented 6 years ago

@jkarthic-akamai thank you. I will try other server and let you know.

jkarthic-akamai commented 6 years ago

@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.

akouSDN commented 6 years ago

ok great. Thanks @jkarthic-akamai.

jkarthic-akamai commented 5 years ago

Closing it as the issue is with the webserver and not with the ABR-Broadcaster.