Description Get Information about the internals of a Media File like Bitrate, Framerate, Samplerate and so on.
Request Method
ActionUrl
Request Parameter Name | Description | Required | file | the full path to the file ti request the media information e.g. file=/media/video/ChocolateFactory.ts | yes
|
Response Elements Name | Description | | see below, this is not final, changes could be change in the future
|
Examples
Example Request
URL: http://localhost:8080/api/v1/media//media/video/example.mp4
Example Response
{ "response": { "status": "ok", "message": "", "requestID": "c4937692-4e72-11e1-9d86-0023ae8ddf40" }, "data": { "path": "/media/video", "name": "example.mp4", "size": 59899904, "format": "mp4", "duration": 141931367, "bitrate": 3376274, "streams": [ { "codecid": "mpegvideo", "type": "video", "stream_index": 1, "bitrate": 15000000, "timebase": "1/50", "framerate": "25/1" }, { "codecid": "mp2float", "type": "audio", "stream_index": 2, "bitrate": 192000, "samplerate": 48000, "channels": 2 }, { "codecid": "mp2float", "type": "audio", "stream_index": 3, "bitrate": 192000, "samplerate": 48000, "channels": 2 }, { "codecid": "ac3", "type": "audio", "stream_index": 4, "bitrate": 384000, "samplerate": 48000, "channels": 6 } ] } }
Related Operations
|
|