Search found 14 matches

Go to advanced search

by maharg
20 Jun 2016 12:21
Forum: Development around libVLC
Topic: Problem with get_position and get_length on transport stream
Replies: 6
Views: 2698

Re: Problem with get_position and get_length on transport stream

Tried again with latest nightly (vlc-3.0.0-20160620-0441-git) Notes: - had to specify option --no-video to get the playback to work Findings: - get_length doesn't reflect current duration of file as it grows - get_position reports position > 1.0 as playback passes the original duration i.e. the dura...
by maharg
20 Jun 2016 10:41
Forum: Development around libVLC
Topic: Problem with get_position and get_length on transport stream
Replies: 6
Views: 2698

Re: Problem with get_position and get_length on transport stream

I've recreated this using the Python bindings to libvlc as shown below. The file which is being played back is being captured using multicat, and is growing (confirmed with watch ls -l ....). Notes: - The output from VLC is left intact. I didn't create a context for the player so only the audio was ...
by maharg
19 Jun 2016 12:00
Forum: Development around libVLC
Topic: Problem with get_position and get_length on transport stream
Replies: 6
Views: 2698

Re: Problem with get_position and get_length on transport stream

This is an issue I'll be interested in also.

A thought regarding a possible workaround - it should be possible to approximate the position given the original file size, the current file size, and the mis-reported position.
by maharg
30 May 2012 12:36
Forum: Development around libVLC
Topic: python libvlc take snapshot from commandline
Replies: 10
Views: 4322

Re: python libvlc take snapshot from commandline

Ok, that's pretty clear cut, thanks Rémi.
by maharg
29 May 2012 17:52
Forum: Development around libVLC
Topic: python libvlc take snapshot from commandline
Replies: 10
Views: 4322

Re: python libvlc take snapshot from commandline

I see. How may snapshots work whilst recording udp multicasts to disk in a command line environment ?
by maharg
29 May 2012 16:26
Forum: Development around libVLC
Topic: python libvlc take snapshot from commandline
Replies: 10
Views: 4322

Re: python libvlc take snapshot from commandline

Ah, thanks - I have updated the script to run the vlc recording in a separate thread but that doesn't seem to make any odds. The script: import vlc import threading from time import sleep class RecordingThread(threading.Thread): def set_vlc_instance(self, vlc_instance): self.vlc_instance = vlc_insta...
by maharg
29 May 2012 13:56
Forum: Development around libVLC
Topic: python libvlc take snapshot from commandline
Replies: 10
Views: 4322

Re: python libvlc take snapshot from commandline

In response to http://forum.videolan.org/viewtopic.php?f=32&t=98491 Rémi has said For the third time: there is currently no way to reach get the logs out of LibVLC. I have pasted the output which is shown on the commandline. Can you point me to an example of how to get further logging, given Rém...
by maharg
28 May 2012 17:00
Forum: Development around libVLC
Topic: python libvlc take snapshot from commandline
Replies: 10
Views: 4322

Re: python libvlc take snapshot from commandline

and the bonus points go to Rémi... Any ideas on the snapshot issue ?
by maharg
28 May 2012 13:17
Forum: Development around libVLC
Topic: python libvlc take snapshot from commandline
Replies: 10
Views: 4322

python libvlc take snapshot from commandline

Hi, Having problems capturing a snapshot when using python libvlc to capture a UDP stream. The following script does a grand job of making the recording but fails to get the snapshot import vlc from time import sleep # set up recording vlc_instance = vlc.libvlc_new(0, []) vlc_media = vlc.libvlc_medi...
by maharg
26 Jan 2011 16:50
Forum: VLC media player for Windows Troubleshooting
Topic: VLC ActiveX Plugin v2 BUG stop() broken
Replies: 3
Views: 1717

Re: VLC ActiveX Plugin v2 BUG stop() broken

Hi maconsoft, Yes, at VLC 1.1.5. vlc.playlist.stop does appear to be badly broken. I have got round this fairly reliably by using togglePause instead of stop :) for example: procedure TfrmPlayermain.FormClose(Sender: TObject; var Action: TCloseAction); begin { n.b. as at VLC 1.1.5. pausing the playb...
by maharg
23 Oct 2006 10:41
Forum: Web and scripting
Topic: ActiveX playlistClear/addTarget inconsistency
Replies: 3
Views: 3212

thanks DaLord, but that hasn't resolved the problem. If the playlist (in this case containing a single file mrl) plays through to completion, then the playlist is not cleared as it should be.
by maharg
06 Oct 2006 18:33
Forum: Web and scripting
Topic: ActiveX playlistClear/addTarget inconsistency
Replies: 3
Views: 3212

ActiveX playlistClear/addTarget inconsistency

Hello, I'm putting together an application in Delphi using VLC via the ActiveX control. The code (paraphrased) looks something like this: A procedure to play an arbitrary MRL: procedure TForm1.play(mrl: String); var Parameter: array of String; begin // set parameters setLength(Parameter, 2); Paramet...

Go to advanced search