Author Topic: Could Gmusicbrowser play audio from video file  (Read 3216 times)

legluondunet

  • Newbie
  • *
  • Posts: 10
    • View Profile
Could Gmusicbrowser play audio from video file
« on: November 09, 2011, 04:45:46 »
Hello,

I would like to know if it is planned to add Gmusicbrowser playing audio stream from video file like avi, ogv, mkv?
Gmusicbrowser uses Gstreamer to play audio file, so it will be possible to ask gstreamer to play other type of media file, isn't it?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1100
    • View Profile
Re: Could Gmusicbrowser play audio from video file
« Reply #1 on: November 10, 2011, 04:41:36 »
It's not planned.
Gmusicbrowser doesn't use gstreamer for reading tags/audio properties for various reasons :
- historical reasons
- from what I read using gstreamer was rather slow to scan a library, it's more made for playing. Maybe things have changed since
- stability, mostly due the perl-glib bug with foreign threads
- to have more control on the tags, though I'm admittedly not very familiar with that part of gstreamer
- being able to not depend on gstreamer at all, using mplayer to play
So I would have to write parsers for video files, though they could maybe use existing libraries for most of the work.

legluondunet

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Could Gmusicbrowser play audio from video file
« Reply #2 on: November 19, 2011, 21:29:46 »
I ask you this question because I have a lot of videos of audio music in my music library and I don't think I'm the only one in this case.

LGDN.

Satoshi

  • Jr. Member
  • **
  • Posts: 44
    • View Profile
Re: Could Gmusicbrowser play audio from video file
« Reply #3 on: November 25, 2011, 02:40:32 »
Well, using mplayer maybe makes this easier.

However, if you don't want the video I think a better alternative would be to just extract the audio. I'm not sure if metadata from video files could be used for that purpose.