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...
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 ...
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.
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...
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...
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...
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...
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.
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...