mkdir -p /data/motv/motv/channels/live/antena-1i8cclmbcna-219-30 && chmod a+rx /data/motv/motv/channels/live/antena-1i8cclmbcna-219-30 && rm -f /data/motv/motv/channels/live/antena-1i8cclmbcna-219-30/*.vtt && sleep 1 && supervisorctl clear _219_30_-1_radio-teste-219-30_packager && cd /data/motv/motv/channels/live/antena-1i8cclmbcna-219-30
echo 'Starting packager...'

 /home/domains/motvmw/app/../temp/../app/bin/packager -v 10  'in=udp://239.0.1.235:1234?reuse=1&buffer_size=25000000,stream=0,bandwidth=128000,language=en-und1, init_segment=radio-teste-219-30_audio_en-und1_stereo.mp4,segment_template=audio_en-und1_stereo/audio_en-und1_stereo-$Number$.mp4' --time_shift_buffer_depth 3600 \
--mpd_output radio-teste-219-30.mpd \
--fragment_duration 3.2 \
--segment_duration 3.2 \
--suggested_presentation_delay 10 \
--min_buffer_time 7 \
--minimum_update_period 6 \
--default_language=en-und1  \
--default_text_language=xxx \
--allow_approximate_segment_timeline \
--utc_timings urn:mpeg:dash:utc:http-head:2014=https://mw.vcnet.com.br/time.txt \
--io_cache_size 256000 \
--live_subtitles  \
--enable_widevine_encryption \
--content_id 6368616e6e656c2d323139 \
--key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \
--signer widevine_test \
--aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \
--aes_signing_iv d58ce954203b7c9a9a9d467f59839249