Project

General

Profile

Playing and recording at the same time with VLC

Added by virtual dj over 6 years ago

I've tried searching but I wasn't able to find anything useful.
With the latest (git) version of TVHeadend, is it possible to record a program and, at the same time, start watching it from the beginning with VLC?

I think it's something called Catch up play on some DVRs; my question is about whether I can use it with VLC from a PC.


Replies (10)

RE: Playing and recording at the same time with VLC - Added by Joe User over 6 years ago

Not directly through the tvheadend webif. When you are recording, the recording is only shown in "Upcoming / Current Recordings" tab under "Digital Video Recorder". And there is no option to "play" the recording like there is in the "Finished Recordings" tab.

I am not sure about kodi, or other clients.

But, you could always play the file directly from the recording's directory (or via nfs/smb etc...).

RE: Playing and recording at the same time with VLC - Added by virtual dj over 6 years ago

Joe User wrote:

But, you could always play the file directly from the recording's directory (or via nfs/smb etc...).

I can double click on the file and VLC really start playing... but I'm unable to skip forward or backward then.

Considering that I need to record at least 10 minutes of pre-rec it's frustrating not being able to fast forward.
Pressing CTRL+T and inputtin for example "00H:05m:00s" does not actually skip to 5 minutes, but just a couple of seconds... but maybe it's because I'm using a MKV container and I should use TS.

RE: Playing and recording at the same time with VLC - Added by virtual dj over 6 years ago

I've tried setting the Recording Profile with Stream Profile = pass to create a TS file from an IPTV stream (not DVB).

The file is created correctly and refreshing the SMB share it shows the growing of file size, but my VLC on Windows stops always more or less at the same time... and I'm not able to "catch up". Does it work for you?

If I stop the recording then of course I'm able to play the file from the start to the end without interruptions (but the time indicator on the VLC bar is wrong).

RE: Playing and recording at the same time with VLC - Added by Joe User over 6 years ago

I do not have and smb shares setup at the moment, but when using nfs with a linux client, when you start, VLC shows the current recorded length. So say you start VLC 10min after the recording has started, it will show a recording of length 10:00. I can use the right and left arrows to jump back and forth, (as long as I do not try to jump passed the current recorded length). VLC automatically recognizes the file is growing and will continue to play after reaching the 10:00 mark and the time shown (length) will keep increasing. But the length does not seem to increase until it reaches the far right position of the progress bar. The length shown does not dynamically increase as the recording grows, it only changes if you play passed the current show length (either by just letting it play, or jumping forward. I did not try to jump to a specific time.

For smb, VLC may not see that the file is growing???

In the past I remember I had various results with different versions of VLC (and on different systems - linux, windows, android) and different ways of seeing the file (smb/nfs).

RE: Playing and recording at the same time with VLC - Added by virtual dj over 6 years ago

Joe User wrote:

For smb, VLC may not see that the file is growing???

Maybe... Anyway the client is on Windows, so there's nothing else (apart from SMB) that I can try.

In the past I remember I had various results with different versions of VLC (and on different systems - linux, windows, android) and different ways of seeing the file (smb/nfs).

FYI I'm using VLC 2.2.6, the latest stable (if I'm not wrong) before v3.

RE: Playing and recording at the same time with VLC - Added by MK Sharma over 6 years ago

In VLC

go to -> File -> Open Network...
Paste Youtube URL
check Stream/Save, click Settings
enter a file path, or browse...
Check show stream locally if you want to watch while downloading

https://www2.fmovies.film

RE: Playing and recording at the same time with VLC - Added by virtual dj over 6 years ago

MK Sharma wrote:

In VLC

go to -> File -> Open Network...
Paste Youtube URL
check Stream/Save, click Settings
enter a file path, or browse...
Check show stream locally if you want to watch while downloading

This seems a bit off-topic. I wasn't talking about Youtube URL, I wanted to play a video currently recording in TVHeadend in VLC, with the ability to skip some parts.

RE: Playing and recording at the same time with VLC - Added by saen acro over 6 years ago

virtual dj wrote:

MK Sharma wrote:

In VLC

go to -> File -> Open Network...
Paste Youtube URL
check Stream/Save, click Settings
enter a file path, or browse...
Check show stream locally if you want to watch while downloading

This seems a bit off-topic. I wasn't talking about Youtube URL, I wanted to play a video currently recording in TVHeadend in VLC, with the ability to skip some parts.

Use url from same channel but time shift function will not work.
Else recording can be post processed with "comskip"

RE: Playing and recording at the same time with VLC - Added by virtual dj over 6 years ago

saen acro wrote:

Use url from same channel but time shift function will not work.

Of course, but my question was about timeshifting/catch up play.
So this TVHeadend feature is considered still unstable/not working?

RE: Playing and recording at the same time with VLC - Added by saen acro over 6 years ago

actualy will work but not so simple as you thing
Time-Shift require to use HTSP protocol to command stream start/rewind in time, used with this plugin
but developer stop to work on it and "it not work" with current communication API
Kodi plugin is little bit better

this is in case when you want to use Time-Shift function on Server side

In case when want to use local time-shift then VLC cannot help
use http://borpas.info/iptvplayer or http://www.progdvb.com
and set local timeshift in settings
also EPG work in both setting tvh url

http://tvh.ip:9981/xmltv

Else use KODI

    (1-10/10)