Stirlitz Media Logger - Server
Export files via HTTP(s) requests

Exporting video files from video stations using HTTP/HTTPS request (requires enabled web Player and anonymous/IP based access to station and export):


Parameters formatting/extra options

begin/end: YYYYMMDDHHMMSS - local time(example: 20170101000000 )
timezone: UTC-X or UTC+X - timezone for begin/end (example: UTC+2 UTC-8)
station/audioTrack/videoTrack/profileName - text as displayed in web Player; use URL encoding (example for station named "Station 1": station=Station%201)
audioLayout: stereo or 5.1

  

Parameters marked blue in sample URLs must be modified to match server configuration and required time/station/format

 

Export to MP4 container, audio will be converted to AAC, video as-is
warning: audio is converted server side, file will be served when processing is finished, processing time depends on requested duration, format, and available resources on server
if parameters are correct reply to first request will return status page with progress with HTTP status code 202; script must request same address until code will change to 200 and file will be served
on error HTTP status code 300 or higher will be returned with description in page content

to save exported file server side (to folder configured in SML Server settings - internal export) add "&target=server" to URL

 

with default audio/video track

http://smlserver/export?begin=20170101000000&end=20170101000100&timezone=UTC+0200&station=station&format=mp4&audioCodec=aac&audioLayout=stereo

with selected audio/video track

http://smlserver/export?begin=20170101000000&end=20170101000100&timezone=UTC+0200&station=station&videoTrack=nameofvideotrack&audioTrack=nameofaudiotrack&format=mp4&audioCodec=aac&audioLayout=stereo

 

Export to MOV container, audio will be converted to AAC or PCM (uncompressed), video as-is
warning: audio is converted server side, file will be served when processing is finished, processing time depends on requested duration, format, and available resources on server
if parameters are correct reply to first request will return status page with progress with HTTP status code 202; script must request same address until code will change to 200 and file will be served
on error HTTP status code 300 or higher will be returned with description in page content

to save exported file server side (to folder configured in SML Server settings - internal export) add "&target=server" to URL

with default audio/video track
http://smlserv
er
/export?begin=20170101000000&end=20170101000100&timezone=UTC+0200&station=station&format=mov&audioCodec=aac&audioLayout=ster
eo

with selected audio/video track

http://smlserver/export?begin=20170101000000&end=20170101000100&timezone=UTC+0200&station=station&videoTrack=nameofvideotrack&audioTrack=nameofaudiotrack&format=mov&audioCodec=aac&audioLayout=stereo

 

Export to MPEG-TS container, all data will be exported as captured - works only with stations captured as MPEG-TS in original quality
warning: file will be served after first request
on error HTTP status code 300 or higher will be returned with description in page content

http://smlserver/export?begin=20170101000000&end=20170101000100&timezone=UTC+0200&station=station&format=ts

 

Export to WMV container, audio and video will be converted to Windows Media format
warning: video and audio is converted server side, file will be served when processing is finished, processing time depends on requested duration, format, and available resources on server
if parameters are correct reply to first request will return status page with progress with HTTP status code 202; script must request same address until code will change to 200 and file will be served
on error HTTP status code 300 or higher will be returned with description in page content

profileName - uses names as displayed in SML web Player

to save exported file server side (to folder configured in SML Server settings - internal export) add "&target=server" to URL

 

with default audio/video track

http://smlserver/export?begin=20170101000000&end=20170101000100&timezone=UTC+0200&station=station&format=wmv&profileName=High%20(480p%20vq90%20aq90)

with selected audio/video track

http://smlserver/export?begin=20170101000000&end=20170101000100&timezone=UTC+0200&station=station&videoTrack=nameofvideotrack&audioTrack=nameofaudiotrack&format=wmv&profileName=High%20(480p%20vq90%20aq90)