Search found 8 matches

Go to advanced search

by GreaterDane
29 Jul 2021 17:24
Forum: Development around libVLC
Topic: How to pause on the 1st frame?
Replies: 11
Views: 7005

Re: How to pause on the 1st frame?

Hi GreaterDane, did you get it fixed? Unfortunately, no. :( I moved on to other priorities and simply didn't switch to libvlc for therapy animation playback. While it would be possible to start paused, it would result in no picture. In fact, depending on the input media format, it would potentially...
by GreaterDane
10 Jul 2020 21:56
Forum: Development around libVLC
Topic: How to pause on the 1st frame?
Replies: 11
Views: 7005

Re: How to pause on the 1st frame?

Unfortunately this still doesn't work when using WMV or MPEG1-PS files.

@pfurrie, did you already try mfkl's solution for your MP4s? I think the feature may be decoder/codec-dependent.

@mfkl, can I file a bug somewhere for this issue?
by GreaterDane
28 Apr 2020 19:59
Forum: Development around libVLC
Topic: How to pause on the 1st frame?
Replies: 11
Views: 7005

Re: How to pause on the 1st frame?

The issue persists in 3.0.10.

Are alternative decoder plugins available for MPEG1/MPEG-PS and WMV? If so, can I choose which decoder to use in libVLC? I've searched the documentation, but I don't see any set decoder/parser function.
by GreaterDane
28 Apr 2020 18:40
Forum: Development around libVLC
Topic: How to pause on the 1st frame?
Replies: 11
Views: 7005

Re: How to pause on the 1st frame?

@mfkl Thanks for pointing me in the right direction! Unfortunately, the "--start-paused" option has similar issues. The MPG-1 videos play several frames before pausing, and the WMV videos aren't rendering at all until unpaused. std::vector<char*> options = { {"--avcodec-skiploopfilter...
by GreaterDane
28 Apr 2020 02:04
Forum: Development around libVLC
Topic: How to pause on the 1st frame?
Replies: 11
Views: 7005

How to pause on the 1st frame?

I'm trying to use libVLC++ to pause WMV and MPG videos on their first frames before the user plays them. Unfortunately, it's not been successful so far. Either the video plays more than a single frame by the time it pauses, or the video continues to slowly play. For example, I've tried: m_pPlayer = ...
by GreaterDane
08 Oct 2019 20:25
Forum: Development around libVLC
Topic: media_player_add_slave does not show SRT subtitle
Replies: 5
Views: 1196

Re: media_player_add_slave does not show SRT subtitle

following code should work (in python for my tests, but that the same for C++), beware that vlc_media_slaves_add expect and uri and not a raw path . Thanks chubinou! I was indeed passing a file path rather than a URI. I'm curious, why was I seeing a successful return? Does vlc_media_slaves_add not ...
by GreaterDane
03 Oct 2019 23:22
Forum: Development around libVLC
Topic: media_player_add_slave does not show SRT subtitle
Replies: 5
Views: 1196

Re: media_player_add_slave does not show SRT subtitle

Our plan is to have multiple possible subtitle files per video. Given this, I'm working around the issue by copying the currently-selected subtitle file to "VideoFileName.srt" before playing in libVLC.

This is very inelegant, though, and I'd prefer a better solution.
by GreaterDane
03 Oct 2019 21:52
Forum: Development around libVLC
Topic: media_player_add_slave does not show SRT subtitle
Replies: 5
Views: 1196

media_player_add_slave does not show SRT subtitle

Hi, I can only get libVLC to play my SRT subtitles when the filename exactly matches the video filename, even when I explicitly load the subtitle file like so: // libvlcpp binding calls libvlc_media_player_add_slave() m_Player->addSlave(VLC::MediaSlave::Type::Subtitle, subtitleFile, true); ... m_Pla...

Go to advanced search