Seamless stream looping

This forum is about all development around libVLC.
TedDennison
New Cone
New Cone
Posts: 1
Joined: 28 Sep 2015 19:55

Seamless stream looping

Postby TedDennison » 28 Sep 2015 20:14

I have a job where I need to stream an MP4 file continuously to a specific multicast address, which is read from by a "black box". (Its actually kinda gray, but you get the idea).

I've gotten this working fine with a little 64-bit Windows app using libVlc 2.1.5 that calls _vlm_add_broadcast() and _vlm_play_media(), with one minor glitch. I've set add_broadcast's b_loop to true, but when it gets to the end of the file there is a very noticeable (half to full second) period where there's no video playing and the device on the other end blanks out and complains.

In this thread I see the flat statement "LibVLC does not support seamless loop". OK. So I guess my question is, how do I fix this?

I've downloaded the sources to 2.1.5, and am not afraid to get in there and muck with things if I really really have to. What should I look at in there? What kinds of things would I have to do to fix this?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Seamless stream looping

Postby Jean-Baptiste Kempf » 08 Oct 2015 16:23

if the video are the same formats, the video output should be recycled.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests