I pushed support for this. I also made some changes to the MediaServer based on this that makes it support seeking better but I had to revert the code for invoking FFMPEG because I need the console output during transcoding. Maybe this should be moved to the FFMpegLib at some point?We also should think about an option to start the transcoding in the middle of a file.
You changed the ResourceProvider. I reused some code of that, so could you explain a bit more why you changed it? What the problem was?I also made some changes to the MediaServer based on this that makes it support seeking better
I guess that is nor problem as long as you use the ffmpeg from FFMPeglib And you used:I had to revert the code for invoking FFMPEG because I need the console output during transcoding
using (ServiceRegistration.Get<IImpersonationService>().CheckImpersonationFor(((ILocalFsResourceAccessor)data.TranscodeData.InputResourceAccessor).CanonicalLocalResourcePath))
Maybe this should be moved to the FFMpegLib at some point?
I'm not sure I know what you mean. Could you clarify?You changed the ResourceProvider
Are you getting range requests from the clients connecting to MP2Ext.? My understanding is you request the starting point through the API?Maybe this part could also be implemented in a more general way so that it can be reused?
I think that the caller should be able to get console and error output in either string or binary form. There should also be a way to cancel a running process.I think it should be implemented in a general way so that the calling fucntion can receive the output? What do you think?
I was talking about that file: https://github.com/MediaPortal/Medi...er/ResourceAccess/DlnaResourceAccessModule.csI'm not sure I know what you mean. Could you clarify?
Yes I get the starting point from the Api, like start at Minute 40. But seeking and everything else is done by http. You just get a stream url which you can pass to VLC.Are you getting range requests from the clients connecting to MP2Ext.? My understanding is you request the starting point through the API?
You can put this into VLC and you get your stream, similar to DLNA.
To sad, I had the same problemSome of the code will be similar but I don't have any ideas that make sense on how to share it.
Totally agree!I think that the caller should be able to get console and error output in either string or binary form.
There was a todo if I remember correctly. MJGraf is very buss right now and I wanted him to do the changes at the core which are required for that... I was afraid to damage something because it seems to be a very sensitive part with a huge bunch of comments why something is like it is. He actually wrote that part.There should also be a way to cancel a running process.
Well most of the changes were to support seeking while a file is being transcoded.I was talking about that file: https://github.com/MediaPortal/Medi...er/ResourceAccess/DlnaResourceAccessModule.cs
That's not what it states in the wiki: http://wiki.team-mediaportal.com/1_...Remote_Access/MPExtended/Developers/StreamingBut seeking and everything else is done by http.