I have the url for a video which I can play with Mp4Client. Is there any command I can issue so the streaming video is dumped to a file only and does not launch and play in the player? I am in Ubuntu 14.04. Appreciate your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry I misread your initial email. I did not read the part about "without video play". This is currently not possible, without playing. However, if you're willing to play you can configure the player to keep the files in the cache. See https://github.com/gpac/gpac/issues/2
HTH,
Cyril
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Cyril. I guess I need to frame my question correctly. For a research project, we are trying to launch multiple mp4clients on the same machine. However the cpu usage is very high and hence can barely run a few clients per machine. So trying to reduce the cpu usage by just downloading the file and not decoding it. We will simulate the player play by using a timer. So any way we can disable the decoding process. Any pointers in the code we can look at would be helpful.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you can have a look at the dash client engine in libgpac, check include/gpac/dash.h. The client is not connected to the player, you can easily build a small test app that runs the dash client and discards the segment. You may also have to setup different caches if you want all instances to always download segments, otherwise some of the clients may use files already in the cache (other possibility is to use memory storage for segments).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the url for a video which I can play with Mp4Client. Is there any command I can issue so the streaming video is dumped to a file only and does not launch and play in the player? I am in Ubuntu 14.04. Appreciate your help.
It depends on the type of video URL. Is it a URL to an SDP, an MP4, an MPD, an MPEG-2 TS ... ?
If the video url is to an MPD, whats the option?
Thanks
Last edit: Jagadeesh Dyaberi 2014-12-02
Sorry I misread your initial email. I did not read the part about "without video play". This is currently not possible, without playing. However, if you're willing to play you can configure the player to keep the files in the cache. See https://github.com/gpac/gpac/issues/2
HTH,
Cyril
Thanks Cyril. I guess I need to frame my question correctly. For a research project, we are trying to launch multiple mp4clients on the same machine. However the cpu usage is very high and hence can barely run a few clients per machine. So trying to reduce the cpu usage by just downloading the file and not decoding it. We will simulate the player play by using a timer. So any way we can disable the decoding process. Any pointers in the code we can look at would be helpful.
Thanks
you can have a look at the dash client engine in libgpac, check include/gpac/dash.h. The client is not connected to the player, you can easily build a small test app that runs the dash client and discards the segment. You may also have to setup different caches if you want all instances to always download segments, otherwise some of the clients may use files already in the cache (other possibility is to use memory storage for segments).