xmp-ffmpeg

Started by Ionut Cristea,

AstralSoup Design

#25
I tried with other video files and it works. No video at the moment, but the audio is working very good. Now it identifies as "FFMPEG" istead of the garbage identifier present in the first version. :)

  • Files tested:
  • OGV Video. PASS.
  • MPEG-4 Video. PASS.
  • DivX Native File. PASS.
  • Matroska Container. FAIL.

Ionut Cristea

   Please upload the matroska file that didn't worked so i can test and post here the download link.

Ionut

AstralSoup Design

It's "Fast and Furious 6".  :-\  It weights 1.4GB.
Maybe you can try with another file. What about this? These files doesn't work on my XMPlay, too.

http://download.wavetlan.com/SVV/Media/HTTP/mkv/H264_mp3(mkvmerge).mkv
http://jell.yfish.us/media/Jellyfish-3-Mbps.mkv

Ionut Cristea

   Just tried. First one it works but it has a problem on seeking(need to check)
  Then 2nd simply it doens't have audio, so that's why don't play.

AstralSoup Design

OK. I'll see, then.
When I come back home, I'll check the newest version for more feedback. Count with me in that case. :)

piovrauz

#30
Oh, an update. Let's test it.

1. I see there's the possibility to choose default stream N°. Nice, waiting for the same for lang tag.

2. Info windows seems more complete now :) but all file res is now 32bit even if it's not.

3. mkv files plays fine here, exept the one that yesterday had issue with seeking.
    You can find it here https://mega.co.nz/#!GQx1kZaJ!DD7QAAAAAADsOAO94n6KsgAAAAAAAAAA7CFffeJ-irI

Ionut Cristea

QuoteOh, an update. Let's test it.

1. I see there's the possibility to choose default stream N°. Nice, waiting for the same for lang tag.

2. Info windows seems more complete now Smiley but all file res is now 32bit even if it's not.

3. mkv files plays fine here, exept the one that yesterday had issue with seeking.
    You can find it here https://mega.co.nz/#!GQx1kZaJ!DD7QAAAAAADsOAO94n6KsgAAAAAAAAAA7CFffeJ-irI

1) Thanks. I will see what i can do about lang.
2) All res is 32 bit because all audio is decoded in 32 bit floating point.
3) I will check later

piovrauz

Thanks.
1) Thanks.
 
2) Ah, so if the video container has a flacc 16bit track xmplay will just see a 32bit uncompressed audio stream?
This means the plugin does not pass the audio stream directly to xmplay (if it's a known decodable format) and acts both as a demuxer -and- a decoder.
OK, got it now (I wrongly supposed formats that XMPlay was already able to decode would just be passed to XMPlay with no decoding).
The good thing is that channel number is passed with no modification, so downmix is done as set in XMPlay, and I suppose sampling freq is untouched too.

3) The strange thing with that file is that if I remux it using the same mkvmerge that was used for it, the file becames seekable.
I suppose there's a setting causing that, since I used defaults.

Keep up the good work!

P.S.: I noticed the "work in progress" on the vis window; just a tough, make some size constraint, possibly customizable %.
(I hope I'm not being annoying asking so many things, but I'm rather picky;))

Ionut Cristea

  xmp-ffmpeg addon it uses libavcodec to demux and decode so not using xmplay decoders.

JustForMyMemory

My personal tests:
  • MP3: Fine
  • M4A: Fine, but cannot read tag from files.
  • FLAC: Fine, but cannot read tag from files.
  • APE: Readable but music is always "jumping", can read tag from files.
  • WMA: Always makes XMPlay crashes.

Dotpitch

Quote from: Ionut Cristeaxmp-ffmpeg addon it uses libavcodec to demux and decode so not using xmplay decoders.
Do you have a list somewhere of the formats supported by this plugin? There are some people hoping for input plugins for not-so-common formats (AMR, SACD, DTS-CD, etc), and this plugin may just support those :).

piovrauz

Since it uses libavcodec, I suppose it can decode all that libavcodec can, if enabled in the code.
Anyway it's a shiny new plugin based on something that's vell developed, so I think it'll be full of nice surprises.

Ionut Cristea

  New update:

+fixed some bugs
+added CDG file support
+some minor tweaks

Please retry the first post for the download link.

piovrauz

#38
Bugreport:
1) seeking the file I linked still doesn't work. If playing from the start, the cursor moves, but if I move the cursor, it plays the file from the start. If I pause after a while, it resumes fine.
    [with cursor I meant the progress bar of XMPlay]
2) when playing from a .mkv, the vis windows tells "no GDC file loaded". Maybe you could split the message for video and lyrics?

Didin't check anything else.

AstralSoup Design

It's not decoding audio from AVI.

Ionut Cristea

QuoteBugreport:
1) seeking the file I linked still doesn't work. If playing from the start, the cursor moves, but if I move the cursor, it plays the file from the start. If I pause after a while, it resumes fine.
    [with cursor I meant the progress bar of XMPlay]
2) when playing from a .mkv, the vis windows tells "no GDC file loaded". Maybe you could split the message for video and lyrics?

Didin't check anything else.

Video display is just for CDG. No other kind of video will be displayed.


QuoteInsert Quote
It's not decoding audio from AVI.

Post that avi so i can check.

Ionut Cristea

+added video output option. Please select the video visualization to see video output.

Download link: recheck first post.

Ionut

AstralSoup Design

It's really cool! At the moment works only with MKV videos with slow refresh rates and sync issues... but I can't ask for more. YOU ARE AWESOME! :D

Ionut Cristea

 It works with avi and other formats too. Just remove from blacklist avi and mpeg files:P

AstralSoup Design

UPDATE: BLACKLIST REMOVED. IT WORKS OK NOW.

Just one little tiny thing:

Is another resize method available for the vis? (Just like the multiscaling modes from the XMPlay Cover Vis).

Ionut Cristea

QuoteJust one little tiny thing:

Is another resize method available for the vis? (Just like the multiscaling modes from the XMPlay Cover Vis).

No is not.

Also i recommand setting the visualization refresh rate at 40 or higher.

piovrauz

Glaad to see this plugin progressing.
Still some considerations:

1. High CPU usage when decoding video. 720p video takes 50% CPU, while my video setup uses only 20%.
    I use no HW accelleration, so there's something strange, like 2x decoding? Maybe it affects audio decoding too?
    Positive note: if I close the video on the vis windows, the decoding stops and the CPU usage goes down, so it doesn't waste CPU.
2. As Nicolas @ b&f said, A/V desynch is bad. I can't really be of help here. Be aware it can be tiresome stuff to do.

@Nicolas @ b&f : gimmie that skin! XD

Ionut Cristea

QuoteInsert Quote
Glaad to see this plugin progressing.
Still some considerations:

1. High CPU usage when decoding video. 720p video takes 50% CPU, while my video setup uses only 20%.
    I use no HW accelleration, so there's something strange, like 2x decoding? Maybe it affects audio decoding too?
    Positive note: if I close the video on the vis windows, the decoding stops and the CPU usage goes down, so it doesn't waste CPU.
2. As Nicolas @ b&f said, A/V desynch is bad. I can't really be of help here. Be aware it can be tiresome stuff to do.

@Nicolas @ b&f : gimmie that skin! XD

1). It takes so much because it uses GDI to draw video, but in the future it will use D3D, so you'll have 18-20 %.
2). I will post an update tomorrow

AstralSoup Design

Guru! Master! Idol! :P
I'll wait for the next update.

rst

#49
is it able to play DVD format ?

ok, avi and mkv containers works nice, specially with audio. Video too but not full screen where the performance fall down so much. Anyways I LIKE THIS !!! keep the good work and give to the best audio media player the video playback !!!