FileAccess and Timeshifting Live Stream (Question)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
CryHavoc
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Apr 2004 22:28

FileAccess and Timeshifting Live Stream (Question)

Postby CryHavoc » 02 Jun 2004 23:09

I have created a timeshift plugin by combining the Access File plugin and the DShow plugin (actually I wrote my own DirectShow buffering filter).

The plugin runs fine rotating through 5 min capture buffer files alllowing me to pause and seek back on a live stream for a vraiable number of minutes.

Now the issue:

When I change the channels via an additional variable added to
typedef struct _input_socket_s
{
input_socket_t _socket;

unsigned int i_nb_reads;
vlc_bool_t b_kfir;

int channel;

} _input_socket_t;

The channel changes fine but when the file is reset VLC produces an infinate number of messages as follows:

main warning: PTS is out of range (6970906), dropping buffer

The reason for this seems obvious. The PTS in the stream is getting reset when the channel changes.

Question:

What would be the proper method for resetting the stream (input) without going through a full Close and Open. The reason I ask is because I would like to avoid the overhead of rebuilding the DirectShow graph when All I'm doing is sending a command to the card and reopening the capture file.

Any help would be appreciated.

Currently using 0.7.3 (maybe a week old)

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests