Viewing 1 to 3 (3 Total)
XML Parsing Error

ramesh.c@i-velozity.com

Total Posts:
Joined: October 21, 2016

Hi,

Am trying to do Live mpeg dash stream, below are the steps i have performed to create server manifest file and encoding options

Step 1:

mp4split --license-key=usp-license.key -o /path/channel1/channel1.isml

Step 2:

ffmpeg -y -re -i udp://@IP-address:port -movflags isml+frag_keyframe -f ismv -threads 0 -c:a aac -strict experimental -ac 2 -b:a 128k -c:v libx264 -preset fast -profile:v baseline -g 48 -keyint_min 48 -sc_threshold 0 -map 0:v -b:v:0 477k -s:v:0 368x152 -map 0:v -b:v:1 830k -s:v:1 640x360http://local-IP:port/channel1/channel1.isml/channel1...

Step 3:

mp4split --license-key=usp-license.key -ohttp://IP:port/channel1/channel1.isml... --archive_segment_length=60 --dvr_window_length=30 --archiving=1

Step 4: calling it in browser for manifest file to play the content

http://IP-Address/channel1/channel1.isml/channel1?archive_segment_l...

Error :

XML Parsing Error: no element found
Location:http://IP-Address/channel1/channel1.isml/channel1?archive_segment_l...
Line Number 1, Column 1:


In httpd.conf file i ahve added below options for Unified streaming

1) LoadModule smooth_streaming_module modules/mod_smooth_streaming.so

2) AddHandler smooth-streaming.extensions .ism .isml .mp4

3)

UspHandleIsm on


4)

UspHandleIsm on


5)
DocumentRoot "/var/www/live"


UspHandleApi on


6)
UspLicenseKey /pathto/usp-license.key

Header set Access-Control-Allow-Origin "*"
ServerAdmin webmaster@localhost
ServerName evolution-origin.evo
DocumentRoot /var/www/live

ErrorLog /var/log/httpd/origin-error.log
CustomLog /var/log/httpd/origin-access.log combined


UspHandleIsm on
UspHandleF4f on



Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
IsmProxyPasshttp://localhost:8081/



Can any one explain me the process of creating Live Dash streaming and solution for my error statement

Tags:
Posted on October 31, 2016 at 11:01 AM

will@unified-streaming.com

will@unified-streaming.com
Total Posts:
Joined: August 04, 2015

Re: XML Parsing Error

Hi Ramesh, a couple of things that might be worth double checking for issues in your setup.

FFmpegs output location url should include the stream identifier:http://...channel1.isml/Streams(channel1)...

If you are calling a manifest the manifest url should be:http://...channel1.isml/dash.mpd...

I also see you are including or activating the API with UspHandleAPI, this should not be in the same host configuration, it is to be used on a separate domain or vhost from your publishing point config. See the note here:

http://docs.unified-streaming.com/documentation/live/publishing-poi...

Kind regards,

Will.

Posted on October 31, 2016 at 12:59 PM

ramesh.c@i-velozity.com

Total Posts:
Joined: October 21, 2016

Re: XML Parsing Error

Hi Will,

Thanks for your reply. The problem is on creating FFMPEG output

Posted on November 04, 2016 at 6:01 PM