Timeshifting with VLM

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Davidb

Timeshifting with VLM

Postby Davidb » 13 Jun 2006 16:49

Hi,

Although it's not implemented (tell me if i'm wrong), I'm trying to enable timeshifting with VLM for TV.

I was thinking about making a vod object that will record tv on a file when a user connects, and then another object will be created with the file created as its input. With this system the user should be able to pause/resume TV as VLM is actually reading the file.

But I have a problem now. I don't know how to record tv to a file ...
Here are my telnet lines :

Code: Select all

new TF1_fichier vod setup TF1_fichier enabled setup TF1_fichier input pvr:/dev/video0:norm=secam:size=720x576:frequency=519250:bitrate=5000000:maxbitrate=8000000 --cr-average 1000 setup TF1_fichier output #std{access=file,mux=ts,dst=/home/davidb/TF1_fichier.mpg}
Is something wrong with that ?

Thanks for your help

__
David
http://www.sens3d.com/

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Timeshifting with VLM

Postby dionoea » 13 Jun 2006 21:11

This would maybe work better:

Code: Select all

# We're creating a broadcast (live streaming/recording) new TF1_fichier broadcast # The input and all its options setup TF1_fichier input pvr:/dev/video0 setup TF1_fichier option norm=secam setup TF1_fichier option size=720x576 setup TF1_fichier option frequency=519250 setup TF1_fichier option bitrate=5000000 setup TF1_fichier option maxbitrate=8000000 setup TF1_fichier option cr-average 1000 # This looks ok :D setup TF1_fichier output #std{access=file,mux=ts,dst=/home/davidb/TF1_fichier.mpg} setup TF1_fichier enabled # Don't forget to tell it to play control TF1_fichier play
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Davidb

Postby Davidb » 14 Jun 2006 09:23

Thanks it works !

Dbertho

Postby Dbertho » 20 Jun 2006 15:29

Hello again

I'm afraid the tip above has not been useful ...
I've been trying for the last few days to implement a way to pause and resume TV, but I wasn't successful.

For information, the system I'm working on is a VoD server, with a tv card. I use VLM and a php script. People have a list of the VLM entries, and can watch them with the mozilla plugin.
The main problem is that I need to find a solution to enable timeshifting.

I've been trying to set the output of the tv to a file, and then stream the file, but pause doesn't work. And when another user wants to watch the same channel, the sent file starts when the 1st user started watching tv.

I don't know if it's clear, if someone is willing to help, I could explain more in details.

Thanks !

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 24 Jun 2006 15:01

timeshifting on the client side shouldn't be too hard to setup. Just enable access filter "timeshift" and press pause to start timeshifting and then play to continue playback.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Davidb

Postby Davidb » 26 Jun 2006 16:16

But what I want to do is a web page that can play vod with the mozilla-plugin, I don't want to use the usual client.

And I didn't see any timeshift option for this plugin.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 29 Jun 2006 23:45

well you can load the access filter in the mozilla plugin i guess using some javascript ... not sure though. (See web scripting for more info)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 24 guests