xmp-ffmpeg

Started by Ionut Cristea,

Ionut Cristea

  Hello guys,

Here is a new xmp addon called xmp-ffmpeg. It will allow decoding of many formats including video ones. Please give it a try.

http://surodev.com/downloads/xmp-ffmpeg.zip

Ionut

AstralSoup Design

I'll take a look in the next couple minutes.

piovrauz

#2
Basically it's an audio decoder plugin for XMPlay, that can read from video container?
I like how it can open both mkv and mka, was waiting for something like that. Thanks.

Suggestion 1: you could pass more info about the audio stream being decoded to XMPlay, for the info windows.
Suggestion 2: what about files with 2 audio stream? Would you mind implementing some customizable setting for the selection of default one?
Suggestion 3: again on files with 2 audio stream (or more), would it be possible to make XMPlay select them like subsong are now?
Suggestion 4: add a info windows where you show the usual stuff (based on ffmpeg, go ww for sources, and so on)

EDIT: Did some testing: works as supposed to. Well done.

Ionut Cristea


QuoteBasically it's an audio decoder plugin for XMPlay, that can read from video container?
I like how it can open both mkv and mka, was waiting for something like that. Thanks.
Yes , it is an audio decoder that can read from video containers too.

QuoteSuggestion 1: you could pass more info about the audio stream being decoded to XMPlay, for the info windows.
Suggestion 2: what about files with 2 audio stream? Would you mind implementing some customizable setting for the selection of default one?
Suggestion 3: again on files with 2 audio stream (or more), would it be possible to make XMPlay select them like subsong are now?
Suggestion 4: add a info windows where you show the usual stuff (based on ffmpeg, go ww for sources, and so on)

1) Working on that
2-3) The plugin itself suports audio switching but i'm afraid i'm not sure that xmplay supports such thing. What i can do is maybe have a config file, and in that config file you specify wich audio stream to be loaded.
4) working on that

piovrauz

Eh, I suppose you can contact Ian for the stream switching, maybe if it's handles as a subsong it can be done: I hope so.
Thanks for working on the config file; it's enough for me, but maybe you could add it to the "config" button of the plugin?
Anyway, please give us the possibility to choose audio stream based on language tag too.
Oh, on a side note, you cuould UPX (or whatever you like more) the plugin, 12MB is a lot! XD
Closing note, you made my day. Really happy you did this! :)

Ionut Cristea

QuoteEh, I suppose you can contact Ian for the stream switching, maybe if it's handles as a subsong it can be done: I hope so.
Thanks for working on the config file; it's enough for me, but maybe you could add it to the "config" button of the plugin?
Anyway, please give us the possibility to choose audio stream based on language tag too.
Oh, on a side note, you cuould UPX (or whatever you like more) the plugin, 12MB is a lot! XD
Closing note, you made my day. Really happy you did this! Smiley


I will see what i can do about. Thanks for testing too.

AstralSoup Design

Wow! This is the first real step for an awesome input plugin for XMPlay. Unanimously I support your idea. No suggestions by me, simply I'll let the idea evolves slowly. (I love the Alpha andd Beta versions of anything). :)

piovrauz

Found a mkv file that has issues seeking (muxed with mkvmerge 6.5.0, so libebml v1.3.0 + libmatroska v1.4.1).
It seems to seek but it will still play audio from "before" (audio won't seek and just keep playing. Video player seeks normally (MPC + LAV).
Remuxing it with mkvmerge 6.5.0 fixes it, so I think it may be a particular muxing setting.
If I find more with the same issues I will let you know, for now only one isn't worth your time.


Ionut Cristea

 
QuoteInsert Quote
Found a mkv file that has issues seeking (muxed with mkvmerge 6.5.0, so libebml v1.3.0 + libmatroska v1.4.1).
It seems to seek but it will still play audio from "before" (audio won't seek and just keep playing. Video player seeks normally (MPC + LAV).
Remuxing it with mkvmerge 6.5.0 fixes it, so I think it may be a particular muxing setting.
If I find more with the same issues I will let you know, for now only one isn't worth your time.

Ok thank you for testing. Also, i've found a way to display video like a visualization so finally xmplay will have video support too.

Ionut

piovrauz

Considering how many video player there are out there, I wouldn't go down the video decoding road...
But it's your choice, just make it so one can totally disable the video player code if possible, because it would eat CPU...
It wouldn't make much sense to use XMPlay to play the audio in a video container and see the video too, when one could just fire up say MPC-HC + LAV + madVR and get A/V perfection. ;)
Even if I'm not a fan of adding video support to XMPlay, I suppose it could be nice for small videos of songs, or small clip in general.
Maybe a poll about it?

AstralSoup Design

I would like to see video support in XMPlay to start unifying useful applications and discarding some not so.
I think at this way: this is a plugin. If you want it, download it.

Do you have any Vis Beta available, Ionut?

Ionut Cristea

QuoteConsidering how many video player there are out there, I wouldn't go down the video decoding road...
But it's your choice, just make it so one can totally disable the video player code if possible, because it would eat CPU...
It wouldn't make much sense to use XMPlay to play the audio in a video container and see the video too, when one could just fire up say MPC-HC + LAV + madVR and get A/V perfection. Wink
Even if I'm not a fan of adding video support to XMPlay, I suppose it could be nice for small videos of songs, or small clip in general.
Maybe a poll about it?

QuoteInsert Quote
I would like to see video support in XMPlay to start unifying useful applications and discarding some not so.
I think at this way: this is a plugin. If you want it, download it.

Do you have any Vis Beta available, Ionut?

The video decoding will can be disabled at anytime so if a user don't need it.

piovrauz

Yep, that's why I said an option to disable the "video decoder" code, so one (me at least) could use the plugin to decode audio from a video container, without decoding the video.
Think of listening the audio from a concert (taken from a dvd or bluray you own), without watching it, since you're doing something else.
I'm pretty sure a lot of ppl want video decoding on XMPlay, but I'm confident there also are a lot that don't fancy that.
I don't know what Ian thinks, if he is fine shifting XMPlay into a video player from a pure audio player, but personally I on't think there's the need to re-invent the weel.
While ppl seem to like "do it all" programs, I'm more of a "do one thing perfectly", the unix way more or less... XD

Ionut Cristea

I will see what I can do and post an update today

Ionut Cristea

  New update to the plugin

+ability to change audio tracks(via config)
+added more supported formats
+seeking now is better
+display information support
+some bugs fixed
+now the addon is compressed

 http://surodev.com/downloads/xmp-ffmpeg.zip

Please test it and tell me how it goes.

Ionut

AstralSoup Design

Why can't I use it? I don't know what happens.

  • Windows 7 Embedded SP1
  • Universidad Santo Tomás


AstralSoup Design

It simply refuses to load the file.
When I was at home, it was normal with MKV files (executing Windows 7, too).
Now I tried to load the same MKV file at the university and it doesn't load. The Infamous Red Underline of the Death.

Ionut Cristea

  Did you checked...is the xmp-ffmpeg loaded?

Ionut Cristea

  Please retry the link and see how it's going.

Ionut

AstralSoup Design

The newest xmp-ffmpeg file was downloaded and it was loaded into XMPlay (new input options and a not-so-vis option).

However, it doesn't work yet.

AstralSoup Design

Do you need any log file from me to check it out?

Ionut Cristea

  No, it don't creates any log. Please retry the link and tell me how it goes.

Ionut


Ionut Cristea

  Sorry..it was my bad. ZThis should try. Please retry the link.

Ionut