Search found 120 matches

Go to advanced search

by oviano
24 May 2019 12:56
Forum: Development around libVLC
Topic: Question about VLC's handling of missing packets in a transport stream
Replies: 5
Views: 559

Re: Question about VLC's handling of missing packets in a transport stream

Nice one. I think there are two issues. The first is as mentioned the demux. The VLC demux does not handle this scenario as well as the avformat demux, dropping frames/freezing rather than just corrupting frames. Secondly, as I am testing on macOS even if you force VLC to use the avformat demux, the...
by oviano
11 May 2019 12:35
Forum: Development around libVLC
Topic: Error following the Win32Compile Wiki page
Replies: 15
Views: 3050

Re: Error following the Win32Compile Wiki page

I have in the past tried to use the Win32Compile page, sometimes it has worked, other times I've had to disable one or two plugins or contribs, but generally when trying to rebuild after grabbing some later VLC code I use to have a feeling of dread that it might not build and there would be some inv...
by oviano
11 May 2019 12:27
Forum: Development around libVLC
Topic: Question about VLC's handling of missing packets in a transport stream
Replies: 5
Views: 559

Re: Question about VLC's handling of missing packets in a transport stream

So a general Q for the devs on this, out of curiosity why does VLC have it's own demuxes for certain types, eg mpegts, mp4, rather than use ffmpegs? Is this a historical thing where the support wasn't previously existing (or good enough) in ffmpeg? Or maybe VLC didn't always use ffmpeg?
by oviano
10 May 2019 10:58
Forum: Development around libVLC
Topic: Question about VLC's handling of missing packets in a transport stream
Replies: 5
Views: 559

Re: Question about VLC's handling of missing packets in a transport stream

Actually, I figured it out - the solution is to force avformat demux instead of letting it use the VLC mpegts. This replicates the mpv behaviour.
by oviano
10 May 2019 09:54
Forum: Development around libVLC
Topic: Question about VLC's handling of missing packets in a transport stream
Replies: 5
Views: 559

Question about VLC's handling of missing packets in a transport stream

Below is an HEVC encoded file that has had 1% of packets (as in 1316 UDP-sized packets of 7 x 188 TS packets) randomly removed from it. When I play this in VLC the behaviour is for the stream to freeze repeatedly, as if it just gives up trying to display any corrupted frames. Sometimes it freezes fo...
by oviano
07 May 2019 23:33
Forum: VLC stream-output (sout)
Topic: how to disable all caching
Replies: 3
Views: 9093

Re: how to disable all caching

I’m curious about this too.

I can’t get libvlc to internally buffer less than about 2-3s of a TS using the imem access input, even with all stream filter cache plugins removed.
by oviano
05 May 2019 14:46
Forum: Development around libVLC
Topic: The libVLC 4 OpenGL callbacks - any plans for Windows DX and macOS METAL equivalents?
Replies: 3
Views: 488

Re: The libVLC 4 OpenGL callbacks - any plans for Windows DX and macOS METAL equivalents?

Good to hear. I hope the Apple platforms can be supported in an efficient and reliable way.
by oviano
30 Apr 2019 18:37
Forum: Development around libVLC
Topic: Behaviour of libVLC (imem) when given a stream with missing chunks...
Replies: 1
Views: 318

Behaviour of libVLC (imem) when given a stream with missing chunks...

...something I've noticed for a while now is that if you feed the library via the imem callbacks a transport stream, and lets say at some point there is a break in the stream, i.e. the receiver is receiving UDP-sized chunks of 1316 (7 x 188 TS packets) and then misses a number of 1316 chunks, this c...
by oviano
09 Apr 2019 11:00
Forum: Development around libVLC
Topic: scaletempo - does this do anything for playback speed of 1.0?
Replies: 1
Views: 298

scaletempo - does this do anything for playback speed of 1.0?

More specifically, is it used to maintain audio sync at normal playback speed? More generally, if I am using amem and passing audio to SDL2 for output, can I rely on the AV pts being in-sync as passed to the video/audio callbacks without adding any other audio filters, or do I need other filters to ...
by oviano
01 Apr 2019 21:24
Forum: Development around libVLC
Topic: cache_block, cache_read, prefetch, record plugins?
Replies: 4
Views: 2173

Re: cache_block, cache_read, prefetch, record plugins?

In my case it’s a stream received over the internet using a custom protocol but much like HLS in that it sends chunks. I then pass this data into libvlc using imem, although with certain settings of my player app it may buffer a number of chunks before passing them to libvlc. Trying to figure out if...
by oviano
31 Mar 2019 21:47
Forum: Development around libVLC
Topic: cache_block, cache_read, prefetch, record plugins?
Replies: 4
Views: 2173

cache_block, cache_read, prefetch, record plugins?

More of a general Q - I am trying to understand what each of these do and how they fit in with using the imem callback input. If I remove these plugins then my code still works, so what is their precise purpose, as I cannot find any high level documentation. I observe: - that it tries to use “prefet...
by oviano
31 Mar 2019 15:42
Forum: Development around libVLC
Topic: amem: added other audio format support
Replies: 2
Views: 490

amem: added other audio format support

Hi As things stand this plugin forces the S16N format, for reasons I'm not too sure about. There was a TODO comment, so I guess it never got looked at, although it seems quite a trivial change to me. Anyway, I've modified it to work with any format - after all, surely it's up to the audio setup call...
by oviano
07 Mar 2019 13:22
Forum: Development around libVLC
Topic: Is there a way to stop imem access from overwriting TS service name with "item://"
Replies: 9
Views: 517

Re: Is there a way to stop imem access from overwriting TS service name with "item://"

I figured out I needed to modify the function EsOutProgramMeta() to propagate the psz_title to the meta too. So the code looks like this: /* */ char **ppsz_all_keys = vlc_meta_CopyExtraNames(p_meta ); info_category_t *p_cat = NULL; if( psz_title || psz_provider || ( ppsz_all_keys[0] && *ppsz...
by oviano
07 Mar 2019 12:46
Forum: Development around libVLC
Topic: libvlc_MediaParsedChanged arrives too early before media_tracks filled in - new libvlc_MediaTracksChanged event?
Replies: 3
Views: 397

Re: libvlc_MediaParsedChanged arrives too early before media_tracks filled in - new libvlc_MediaTracksChanged event?

Not sure what exactly you are asking - it's a custom video player linking to libVLC which uses the imem callbacks to receive data, and a custom vout plugin (vbridge that receives HW surfaces), but the pseudo code is like this: - create media, attach MediaParsed event - create player, attach MediaPla...
by oviano
07 Mar 2019 08:29
Forum: Development around libVLC
Topic: libvlc_MediaParsedChanged arrives too early before media_tracks filled in - new libvlc_MediaTracksChanged event?
Replies: 3
Views: 397

libvlc_MediaParsedChanged arrives too early before media_tracks filled in - new libvlc_MediaTracksChanged event?

I'm using the imem callback interface to feed libVLC the data, and I was hoping to be able to use the above event to read the media track information such as video size, frame rate, codec etc. However, when the above event arrives the track info hasn't been filled in, everything is zero. A short whi...
by oviano
23 Feb 2019 07:44
Forum: Development around libVLC
Topic: Is there a way to stop imem access from overwriting TS service name with "item://"
Replies: 9
Views: 517

Re: Is there a way to stop imem access from overwriting TS service name with "item://"

If someone could point me towards how/where the title gets set to imem:// that would help, I can't find it.
by oviano
18 Feb 2019 11:57
Forum: Development around libVLC
Topic: Is there a way to stop imem access from overwriting TS service name with "item://"
Replies: 9
Views: 517

Re: Is there a way to stop imem access from overwriting TS service name with "item://"

Ok, no problem. I think I saw somewhere in the code it was setting the title meta from the TS stream, so I am guessing imem, file etc later overwrite it. Maybe I will figure out where that happens and disable it for my build.

Thanks.
by oviano
17 Feb 2019 19:33
Forum: Development around libVLC
Topic: Is there a way to stop imem access from overwriting TS service name with "item://"
Replies: 9
Views: 517

Re: Is there a way to stop imem access from overwriting TS service name with "item://"

I can't see such an option. Did you mean --video-title? Wouldn't that just override it to a specific string?

I want it just to pick up the service_name from the TS data.
by oviano
17 Feb 2019 15:04
Forum: Development around libVLC
Topic: Is there a way to stop imem access from overwriting TS service name with "item://"
Replies: 9
Views: 517

Is there a way to stop imem access from overwriting TS service name with "item://"

I'm encoding my source using FFmpeg libraries, output format is TS, and as a test I'm setting the service_name meta to "ServiceNameGoesHere" and service_provider to "ServiceProviderGoesHere". When I look up the corresponding meta data (Title and Publisher) I find Title has been c...
by oviano
13 Nov 2018 05:19
Forum: Development around libVLC
Topic: This TS file can't be decoded with VT on macOS
Replies: 2
Views: 911

Re: This TS file can't be decoded with VT on macOS

Ok I saw lots of other bug reports in this forum but nevermind I’ve now managed to log a bug report, so feel free to delete this thread.
by oviano
11 Nov 2018 16:20
Forum: Development around libVLC
Topic: This TS file can't be decoded with VT on macOS
Replies: 2
Views: 911

This TS file can't be decoded with VT on macOS

I would have logged this as a bug on your system but the login page isn't responding for me. This TS file was produced by FFmpeg, and encoded using NVENC HEVC with yadif_cufa used to deinterlace the source file which was a directshow capture in ASF format. https://www.dropbox.com/s/yekpa39j0vpxb01/t...

Go to advanced search