Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Local Video Player (foo_video) (Read 50618 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Local Video Player (foo_video)

Reply #25
Thank you for this component. :)

A small request... instead of using the esc key
Is it possible for the video window to follow foobar2000 window status.
e.g if foobar2000 is minimized to minimize the video window also , and maximized when foobar2000 gets maximized.
>>Thank you for using.
I don't know how to get "foobar2000 window handle".
So, that is hard.
Sorry.

Flawless. Thanks, pal
>>Thank you for using.

No. There is no error reported. Only text from my previous message.
>>Sorry, I don't know this Error.
0x800401F0 (CO_E_NOTINITIALIZED) is "Not called CoInitialize()".
I fixed it, but I'm not sure if that is correct.
Thank you feedback.

Chimera(foo_video) Ver.0.4.1.1

[fix]When watch videos of different aspect rate, not cut the surplus.
[change]When Press to Middle Click, changed to Video Player Movement.

Download
http://fucrowrabbit.sakura.ne.jp/foo_video/index_foo_video.html

Author:FuCrowRabbit
Twitter:@FuCrowRabbit

Re: Local Video Player (foo_video)

Reply #26
>>Sorry, I don't know this Error.
0x800401F0 (CO_E_NOTINITIALIZED) is "Not called CoInitialize()".
I fixed it, but I'm not sure if that is correct.
Thank you feedback.
Thanks. Now everything works as expected.


Re: Local Video Player (foo_video)

Reply #28
Hi!, this is fantastic addition to player. I also was waiting for it.

It all works out of the box. But i have small question

Is it possible to render video in UI Element of foobar? I have using Layout Editing Mode and added many Ui elements and Tabs. It would be nice if i could also add "Video element" where player would be rendereing video. Not a priority but nice feature. Its more for playing various music videoclips than a movie.

Additionally, it would be nice to foobar would scan for videos in media library.

And probably the hardest task, to show thumbnail or preview in ui element ("Video Element") of highlighted item, just like album art. Lowest priority but still nice enhancement for completness :)

Thanks.

Re: Local Video Player (foo_video)

Reply #29
Hello,

I have recently installed this component but am having some difficulties getting it to function correctly.

After installing, and setting VLC player as default video player, all video files i.e avi / mkv give me the error message : Unsupported audio track format.

http://i.imgur.com/rg8nF3N.jpg

Any ideas?

Thanks.

Re: Local Video Player (foo_video)

Reply #30
Hi!, this is fantastic addition to player. I also was waiting for it.

It all works out of the box. But i have small question

Is it possible to render video in UI Element of foobar? I have using Layout Editing Mode and added many Ui elements and Tabs. It would be nice if i could also add "Video element" where player would be rendereing video. Not a priority but nice feature. Its more for playing various music videoclips than a movie.

Additionally, it would be nice to foobar would scan for videos in media library.

And probably the hardest task, to show thumbnail or preview in ui element ("Video Element") of highlighted item, just like album art. Lowest priority but still nice enhancement for completness :)

Thanks.
>>I see.
If i have time...

Hello,

I have recently installed this component but am having some difficulties getting it to function correctly.

After installing, and setting VLC player as default video player, all video files i.e avi / mkv give me the error message : Unsupported audio track format.

http://i.imgur.com/rg8nF3N.jpg

Any ideas?

Thanks.

>>Sorry, This is not foo_video's error.
The foo_video's error message is "foo_video[<Message Type>]:<Message>".

foobar2000(above v0.9.6) is able to play mkv(Matroska)'s audio.

Re: Local Video Player (foo_video)

Reply #31
foo_video is not working for me. In console after foobar started is written. "foo_video[Error]:CoInitialize failed". Any sugestion?

Re: Local Video Player (foo_video)

Reply #32
foo_video is not working for me. In console after foobar started is written. "foo_video[Error]:CoInitialize failed". Any sugestion?
Sorry, "foo_video[Error]:CoInitialize failed" is not error. I mistook code.
If printed this error in console, no problem.

Re: Local Video Player (foo_video)

Reply #33
Thank you very much for your quickest answer.
The whole content of console is:

Components loaded in: 0:00.054666
Configuration read in: 0:00.003612
Watching: D:\My Music
Watching: C:\Users\Public\Music
User Interface initialized in: 0:00.040402
foo_video[Info]:thread_created_EVR
foo_video[Error]:CoInitialize failed
foo_upnp: succesfully loaded file C:\Users\Mihai-W7\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.000s
Startup time : 0:00.704931

The problem is that is not playing any video. In fact there is no player window at all.
I tried with local stored avi file and foobar2000 was "Unsupported file format"
I tried with an mkv remote file (my foobar2000 can play remote audio files served by a Bubbleserver) and only the audio part was played.
I'm sure that my Bubbleserver serve audio and video files played with Bubble client in android and audio files with foobar2000.
What I'm doing wrong?


Re: Local Video Player (foo_video)

Reply #35
Thank you very much for your reply.
Indeed a local .mkv  file it worked.

Re: Local Video Player (foo_video)

Reply #36
I also have problem with this component. It reads only files, that are supported without it. I mean - if I have video file, from which I can play sound even if I don't have foo_video installed, then with foo_video I have sound and the floating window with video. But if there is file that is not playable without foo_video (no sound is coming - only playback error is thrown) , then with foo_video installed it is still not playable - there is no sound, no video window, only playback error thrown. Files that ca be open are .mkv and .mp4 files. Files that can not be open are .avi, .mpg, .mpeg, .m2v, .mts, .m2t, .ts, .vob.  Changing from EVR to madVR mostly doesn't change anything (only in one case something changes - see below). I've made some serious investigation on it, please have a look:

From my console - while playing mkv file (SUPPORTED, PLAYABLE):
Opening track for playback: "M:\Mvids\The Prodigy – Warriors Dance.mkv"
foo_video[Debug]:EVR_Video_thread
foo_video[Debug]:Window Ready
foo_video[Debug]:QueryInterface Ready0
foo_video[Debug]:SetFiltergraph Connect0
foo_video[Debug]:ICaptureGraphBuilder2 Ready0
foo_video[Debug]:EnhancedVideoRendererInstance0
foo_video[Debug]:EVR AddFilter0
foo_video[Debug]:IMFGetService0
foo_video[Debug]:GetService0
foo_video[Debug]:IDirect3DDeviceManager9 0
foo_video[Debug]:Enhanced Video Render Ready0
foo_video[Debug]:Directshow Ready0
foo_video[Debug]:Video Ready0
Audioscrobbler: Handshake successful.
foo_video[Debug]:SetVideoPos Ready0
foo_video[Info]:Running Video

From my console - a series of results when UNSUPPORTED file is attempted to be played back:
1/6
Opening track for playback: "M:\Mvids\Tool\Tool – Stinkfist.mpg"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Tool\Tool – Stinkfist.mpg"
foo_video[Debug]:EVR_Video_thread
foo_video[Debug]:Window Ready
foo_video[Debug]:QueryInterface Ready0
foo_video[Debug]:SetFiltergraph Connect0
foo_video[Debug]:ICaptureGraphBuilder2 Ready0
foo_video[Debug]:EnhancedVideoRendererInstance0
foo_video[Debug]:EVR AddFilter0
foo_video[Debug]:IMFGetService0
foo_video[Debug]:GetService0
foo_video[Debug]:IDirect3DDeviceManager9 0
foo_video[Debug]:Enhanced Video Render Ready0
foo_video[Debug]:Directshow Ready0
foo_video[Debug]:Video Ready0
Audioscrobbler: Handshake successful.
foo_video[Info]:FastCloseWindow001
foo_video[Debug]:Loop End
foo_video[Debug]:Window Delete

2/6
Opening track for playback: "M:\Mvids\Tool\Tool – Sober.avi"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Tool\Tool – Sober.avi"
foo_video[Debug]:EVR_Video_thread
foo_video[Debug]:Window Ready
foo_video[Debug]:QueryInterface Ready0
foo_video[Debug]:SetFiltergraph Connect0
foo_video[Debug]:ICaptureGraphBuilder2 Ready0
foo_video[Debug]:EnhancedVideoRendererInstance0
foo_video[Debug]:EVR AddFilter0
foo_video[Debug]:IMFGetService0
foo_video[Debug]:GetService0
foo_video[Debug]:IDirect3DDeviceManager9 0
foo_video[Debug]:Enhanced Video Render Ready0
foo_video[Debug]:Directshow Ready0
foo_video[Debug]:Video Ready0
foo_video[Info]:FastCloseWindow001
foo_video[Debug]:Loop End
foo_video[Debug]:Window Delete

3/6
Opening track for playback: "M:\Mvids\Mvids VOB, MDVD-R\Tom & Joyce Hoze – Un Regard, Un Squirre\VIDEO_TS\VTS_01_1.VOB"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Mvids VOB, MDVD-R\Tom & Joyce Hoze – Un Regard, Un Squirre\VIDEO_TS\VTS_01_1.VOB"
COMMENT: yes, there is no information from foo_video output.

4/6
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Mvids VOB, MDVD-R\Tom & Joyce Hoze – Un Regard, Un Squirre\VIDEO_TS\VTS_01_1.VOB"
Opening track for playback: "M:\Mvids\MC Hammer – U Can't Touch This.m2v"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\MC Hammer – U Can't Touch This.m2v"
COMMENT: yes, there is no information from foo_video output.

5/6
Opening track for playback: "M:\Mvids\Kelly Clarkson – Behind These Hazel Eyes 1080i.ts"
Unrecoverable playback error: <unknown error>
COMMENT: yes, there is no information from foo_video output.

6/6
Unrecoverable playback error: <unknown error>
Opening track for playback: "M:\Mvids\Butelka – Dekoder TV Trwam.mpeg"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Butelka – Dekoder TV Trwam.mpeg"
COMMENT: yes, there is no information from foo_video output.

Hint:
Some time ago ALL these files were playable with foo_input_ds by Haali, but sudenly they stopped (I don't know exactly when - after what change of foobar version or whatever else on PC). I am trying to use foo_video as a replacement of foo_input_ds, but it seems it doesn't work either. THEY ARE ALL PERFECTLY PLAYABLE IN Media Player Classic 1.7 x64. I don't use other video players.

Bonus:
I opened one more file, which play sound, but doesn't open video:
Opening track for playback: "M:\Mvids\Aphex Twin – Windowlicker (Directors Cut).mkv"
foo_video[Debug]:EVR_Video_thread
foo_video[Debug]:Window Ready
foo_video[Debug]:QueryInterface Ready0
foo_video[Debug]:SetFiltergraph Connect0
foo_video[Debug]:ICaptureGraphBuilder2 Ready0
foo_video[Debug]:EnhancedVideoRendererInstance0
foo_video[Debug]:EVR AddFilter0
foo_video[Debug]:IMFGetService0
foo_video[Debug]:GetService0
foo_video[Debug]:IDirect3DDeviceManager9 0
foo_video[Debug]:Enhanced Video Render Ready0
foo_video[Fatal_Error]:AddSorceFilter Failed
foo_video[Error_Info]: Reason:-2147220927
foo_video[Error]:Your PC is not install Directshow_Codec. You should install LAV_Filters or ffdshow
foo_video[Debug]:Directshow Ready-2147220927

Yes - I see that "Your PC is not install Directshow_Codec. You should install LAV_Filters or ffdshow" but it is bullshit - I always install K-Lite Codec Pack (Mega), with Media Player Classic and default selection of LAV/ffdshow DirectShow filters. ALWAYS. It is installed even now, and a while ago I even updated it to latest version (KLCP 13.6.5 Mega).
For this file changing to madVR allows to see video window and the output of console is:
Opening track for playback: "M:\Mvids\Aphex Twin – Windowlicker (Directors Cut).mkv"
foo_video[Debug]:MadVR_Video_thread
foo_video[Debug]:MadVR_Window Ready
foo_video[Debug]:Video Ready0
foo_video[Debug]:SetVideoPos_MVR Ready0
foo_video[Info]:Running Video

For other above mentioned files madVR throws this output in console (video order may be changed):
Opening track for playback: "M:\Mvids\Kelly Clarkson – Behind These Hazel Eyes 1080i.ts"
Unrecoverable playback error: <unknown error>
COMMENT: exactly the same as before.

Opening track for playback: "M:\Mvids\MC Hammer – U Can't Touch This.m2v"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\MC Hammer – U Can't Touch This.m2v"
foo_video[Debug]:Window Delete
COMMENT: exactly the same as before + there was video window opened from Windowlicker and it was closed now.

Opening track for playback: "M:\Mvids\Mvids VOB, MDVD-R\Tom & Joyce Hoze – Un Regard, Un Squirre\VIDEO_TS\VTS_01_1.VOB"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Mvids VOB, MDVD-R\Tom & Joyce Hoze – Un Regard, Un Squirre\VIDEO_TS\VTS_01_1.VOB"
COMMENT: exactly the same as before.

Opening track for playback: "M:\Mvids\Tool\Tool – Schism.mpg"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Tool\Tool – Schism.mpg"
foo_video[Debug]:MadVR_Video_thread
foo_video[Debug]:MadVR_Window Ready
foo_video[Debug]:Video Ready0
foo_video[Info]:FastCloseWindow001
foo_video[Debug]:Loop End
foo_video[Debug]:Window Delete
COMMENT: less lines printed, but result is exactly the same as before.

Opening track for playback: "M:\Mvids\Tool\Tool – Sober.avi"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Tool\Tool – Sober.avi"
foo_video[Debug]:MadVR_Video_thread
foo_video[Debug]:MadVR_Window Ready
foo_video[Debug]:Video Ready0
foo_video[Info]:FastCloseWindow001
foo_video[Debug]:Loop End
foo_video[Debug]:Window Delete
COMMENT: less lines printed, but result is exactly the same as before.

Opening track for playback: "M:\Mvids\Tool\Tool – Stinkfist.mpg"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Tool\Tool – Stinkfist.mpg"
foo_video[Debug]:MadVR_Video_thread
foo_video[Debug]:MadVR_Window Ready
foo_video[Debug]:Video Ready0
foo_video[Info]:FastCloseWindow001
foo_video[Debug]:Loop End
foo_video[Debug]:Window Delete
COMMENT: less lines printed, but result is exactly the same as before.

Opening track for playback: "M:\Mvids\Butelka – Dekoder TV Trwam.mpeg"
Unable to open item for playback (Unsupported file format):
"M:\Mvids\Butelka – Dekoder TV Trwam.mpeg"
COMMENT: exactly the same as before.

My PC specification:
Windows 7 x64 Polish (MSDNAA sourced) with all security fixes and most important updates installed (except .NET 4.7, GWX/CEIP/other MS spyware).
Hardware:
- nVidia 1050 Ti with not the latest drivers (382.05)
- ESI Juli@ soundcard with rather latest drivers v 1.21 (2 or 3 years old)
Software:
- foobar 1.3.17 beta 1 (but problems existed in 1.3.15 and 1.3.16 - just didn't have time before to investigate it)
- K-Lite Codec Pack, with Media Player Classic x64 1.7.13.1124 and nearly default codecs/filters selection (I deselect ACM audio codecs). During KLCP installation hardware decoding for video is chosen (DXVA2 Native Copy-Back).

I would welcome any suggestion why DirectShow is not detected by foo_video and it seems that also by foo_input_ds (which is unable to print out such detailed debug).

Re: Local Video Player (foo_video)

Reply #37
- K-Lite Codec Pack, with Media Player Classic x64 1.7.13.1124 and nearly default codecs/filters selection (I deselect ACM audio codecs). During KLCP installation hardware decoding for video is chosen (DXVA2 Native Copy-Back).
I would welcome any suggestion why DirectShow is not detected by foo_video and it seems that also by foo_input_ds (which is unable to print out such detailed debug).
I would try to completely  remove all this K-Lite Codec Pack and simply install LAV and standalone MPC.

Re: Local Video Player (foo_video)

Reply #38
What I did a while ago was reinstalling KLCP again, choosing to install both x86 and x64 players - to ensure that installer installed this time both 32bit and 64bit decoders - as I suppose foobar can handle only 32bit ones. I tested whole my video collection in MPC x86 and all files were played back correctly - so I assume 32bit decoders were indeed installed. But... even after PC was restarted audio was not played in foobar from all these .avi, .mpg, .mpeg, .m2v, .vob, .ts files. Neither with foo_input_ds nor in foo_video. The only thing that changed, what that mkv file with Windowlicker now opens video window when EVR is selected in Chimera/foo_video (or to be exact - when madVR is deselected).

I think I will try your suggestion Rollin - but tomorrow or in Monday. I will then report back if this helps.

Re: Local Video Player (foo_video)

Reply #39
Ah, my doubleposting... I am always posting when I think I'm on a dead end, but after few mins I mostly have some new idea how to dig the problem... What I did this time was just loading both foo_video AND foo_input_ds . Results are interesting. What has changed:
- now AVI files are playable (audio part - the only one that I need in foobar). Console output:
Opening track for playback: "M:\Mvids\Tool\Tool – Sober.avi"
foo_video[Debug]:EVR_Video_thread
foo_video[Debug]:Window Ready
foo_video[Debug]:QueryInterface Ready0
foo_video[Debug]:SetFiltergraph Connect0
foo_video[Debug]:ICaptureGraphBuilder2 Ready0
foo_video[Debug]:EnhancedVideoRendererInstance0
foo_video[Debug]:EVR AddFilter0
foo_video[Debug]:IMFGetService0
foo_video[Debug]:GetService0
foo_video[Debug]:IDirect3DDeviceManager9 0
foo_video[Debug]:Enhanced Video Render Ready0
foo_video[Fatal_Error]:ffdshow Decoder didn't Connect
foo_video[Error_Info]: Reason:-2147220969
foo_video[Error]:Your PC is not install Directshow_Codec. You should install LAV_Filters or ffdshow
foo_video[Debug]:Directshow Ready-2147220969
Audioscrobbler: Skipping track due to missing artist or title info.

- now VOB files are playable (audio part - the only one that I need in foobar). Console output:
Opening track for playback: "M:\Mvids\Mvids VOB, MDVD-R\Tom & Joyce Hoze – Un Regard, Un Squirre\VIDEO_TS\VTS_01_1.VOB"
COMMENT: yes - this is the only thing that I get in console

- now TS files can be only opened, but they do not play. Console output:[/b]
Opening track for playback: "M:\Mvids\Kelly Clarkson – Behind These Hazel Eyes 1080i.ts"
COMMENT: yes - this is the only thing that I get in console. File opens without error, but seekbar just flashes in a single second through the whole file and no sound is generated.

Rest stays without a change...

Re: Local Video Player (foo_video)

Reply #40
Heh, the answer is posted here:
https://hydrogenaud.io/index.php/topic,59902.msg947514.html#msg947514

The reason was too many DLLs loaded to foobar's memory and some of dependencies required for extraction of audio from video files using source filters were simply not loading. This happened after series of components updates (some became splitted into several dlls) and adding few more input dlls. Now I am removing them from foobar permanently.

 

Re: Local Video Player (foo_video)

Reply #41
My final post:
foo_video is very picky at file extensions. Despite mpg and mpeg are basically the same, only mpg can be opened. Despite m2v is very close to them (contains the same streams in I think nearly the same way muxed) it also can not be opened. Also .VOB files can not be opened (no video stream) no matter of foo_input_ds is installed or not. For example with foo_input_ds, foo_video was able to open video stream for most of my .avi files (those not hanging foobar and not throwing errors about broken frames in the beginning)
foo_video unfortunately cuts out several initial frames from most of my mvids, especially those .mpg ones. That causes visible lack of A/V synchronization.
Anyway - due to other reasons (stated in https://hydrogenaud.io/index.php/topic,59902 ) I remuxed all my .avi, and .mpg/mpeg/m2v videos to .mkv using mkvmerge and a command line... Now I have all video streams, however with that reported cut of opening video frames and A/V sync problems.


Re: Local Video Player (foo_video)

Reply #43
Oops! Sorry, HydrogenAud.io haven't send mail to me any longer from Unknown days.
I haven't noticed for your message.

foo_video is very picky at file extensions.
Yes, Because...
Code: [Select]
std::vector<const char*> extensionsList{".mp4", ".mkv", ".avi", ".mpg", ".flv"};
My skill was very poor at the days.
foo_video is first C++ programing to me.
Someday, I must change this code.

Re: Local Video Player (foo_video)

Reply #44
I see 2 suggestions:
- making extensions list editable for end user, with notice that any crashes after applying changes here are assumed as user fault
- editing this in code for all possible extensions of certain container (like: .mpg = .mpg; .mpeg; .m2v; .m1v; .ps; .m2p).

Re: Local Video Player (foo_video)

Reply #45
I see 2 suggestions:
- making extensions list editable for end user, with notice that any crashes after applying changes here are assumed as user fault
- editing this in code for all possible extensions of certain container (like: .mpg = .mpg; .mpeg; .m2v; .m1v; .ps; .m2p).
>>OK.

Chimera(foo_video) Ver.0.4.3.0

[add] Extensions List in the "Advanced config".

Download
http://fucrowrabbit.sakura.ne.jp/foo_video/index_foo_video.html

Author:FuCrowRabbit
Twitter:@FuCrowRabbit

Re: Local Video Player (foo_video)

Reply #46
Thank you kindly :) . I will check this updated version within next few days.

Re: Local Video Player (foo_video)

Reply #47
And you can paint all this in detail, what plug-ins to put, what to do and why. Sorry for the English I'm writing through an interpreter.

Re: Local Video Player (foo_video)

Reply #48
And you can paint all this in detail, what plug-ins to put, what to do and why. Sorry for the English I'm writing through an interpreter.
Interpreter is not good.
I do not understand this message.
(Перевод не работает.
Предложение не передает мне.)

But not, you write your first language{=по-русски} please.
(Пожалуйста, напишите на своем родном языке{=по-русск}.)

Re: Local Video Player (foo_video)

Reply #49
Здравствуйте ! С Новым годом! Интересует Ваш плагин и все что связано с foobar2000.Какие должны стоять плагины,какие настройки.Если можно подробно.А то окно видео не показывается.хотя все основные плагины вместе с вашим стоят.Очень хочеться разобраться.Пишите по английски а там разберемся.