adrg / libvlc-go

Handcrafted Go bindings for libVLC and high-level media player interface
https://pkg.go.dev/github.com/adrg/libvlc-go/v3
MIT License
437 stars 50 forks source link

where is the stream, track and codec information? #58

Closed nergdron closed 3 years ago

nergdron commented 3 years ago

I'm just getting started with these bindings, but I'm not seeing obvious equivalents for some of the media info functionality in the upstream libvlc3. specifically, I want to identify all the codec and format information about all the tracks in a media container, but I don't see stuff that maps to libvlc_media_get_codec_description(), i_codec or i_original_fourcc. am I missing something? or are these just things that still need to be added to these bindings?

adrg commented 3 years ago

Hi @nergdron. Thank you for your interest in the library. The bindings for retrieving track and codec info are not implemented yet. I'll add them in couple of days, as they seem like useful additions.

nergdron commented 3 years ago

oh, rad, I'll look forward to that then! thanks!

adrg commented 3 years ago

Hi @nergdron. I added the bindings for retrieving media tracks and codec descriptions in v3.0.7. I also added an example for them: https://github.com/adrg/libvlc-go-examples/blob/master/v3/media_tracks/media_tracks.go.

nergdron commented 3 years ago

awesome, I'll check those out soon, thanks so much!