2013-08-28, 02:53 AM
Sorry I don't know much about plex, I gave up using it on my tv.
Martin
Martin
2013-08-28, 02:53 AM
Sorry I don't know much about plex, I gave up using it on my tv.
Martin
2013-08-28, 02:58 AM
mvallevand Wrote:Sorry I don't know much about plex, I gave up using it on my tv. So we can't generate an HLS of a recording?
2013-08-28, 03:02 AM
Not with NextPVR, but you might be able to get VLC to start it with NEWA.
Martin
2013-08-28, 03:06 AM
mvallevand Wrote:Not with NextPVR, but you might be able to get VLC to start it with NEWA. Or don't figure out if Plex is expecting an HLS stream or something else. That direct method you posted before with the OID do you know what that is responding with? I've never looked at the response headers (and not at this stage got a tool to look at them). I assume it's just a download to the entire file?
2013-08-28, 03:12 AM
The /transcode url feature might be able to give you what you need:
Code: http://<server>:8866/transcode?recording=1234&resolution=720x406&bitrate=900k See <TranscodeArgs> in config.xml for the complete ffmpeg command line.
2013-08-28, 10:23 PM
whurlston Wrote:The /transcode url feature might be able to give you what you need: What is this actually outputting? is it a TS file? I'm trying to read it, but can't figure out how to make it output say an MP4 file.
2013-08-28, 10:30 PM
The problem with MP4 files is that you can't play them while they're being generated, since they need to have special stuff written at the end of the file. When you try to stream this type of file you typically see the web server make a few requests with different range requests, so it can read a bit from the start, a bit from the end, then start playback from the beginning. This doesn't lend itself to on-the-fly transcoding.
The /transcode was intended to be used for outputting TS streams for playback on iOS devices.
2013-08-28, 11:07 PM
Hmm ok. So this transcode is returning an http live stream?
Seems I'm stuck since plex does not seem to like it. Reporting that the content length is invalid.
2013-08-28, 11:15 PM
Quote:So this transcode is returning an http live stream?It's delivering a transport stream containing H.264 video and AAC audio, which is what is usually carried in an http live stream. That's not enough to make it an HLS stream though. Normally you'd have an m3u8 file, which contains URLs to the transport stream. You're missing an m3u8. I'm not sure that's your problem though. It sounds like Plex maybe doesn't like streams where the length is unknown?
2013-08-29, 12:08 AM
Potentially. Although using the call that Martin provided me right at the start of the thread, the http://pvr:8866/live?oid=xxxxx reports a content length of the video - but I'm unsure if this is the length that the issue, as this reports an invalid length rather than missing.
And on some of the attempts I was taking that file and returning an m3u8 |
|