Log in

View Full Version : ffdshow tryouts project: Discussion & Development


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 [237] 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308

DigitalDeviant
25th May 2010, 20:14
hi :)

Try just for try lol : ffdshow_rev3453_20100525-Debug.exe (http://sebinternet.free.fr/ffdshow_rev3453_20100525-Debug.exe)
:)
Yes it's on this sample :)
Cheers,
Seb.

Thanks. It'll be a while until I get home from work and can test but this has made my day a whole lot better. Well, this and cake...

Eliminateur
25th May 2010, 20:15
yesterday i installed win7 x64, installed ffdshow x64, mpchc x64 and all the hoopla only to find that i had 700S of jitter, 99% dropped frames or increasing linear jitter and 80% cpu usage on a 640x480 divx avi files!
After talking to some people i isolated the problem to the deband filter which i always used on 32b xp, they also told me that it's been broken since a logn time ago on x64 and it's even reported.

is there any plan on porting the deband filter to x64 correctly?
or if it's so broken, why allow it to be enabled, put a warning or in x64 make it do nothing

Snowknight26
26th May 2010, 00:20
Any chance of preventing lossless H.264 from being loaded with the DXVA filter?

rack04
26th May 2010, 03:41
I noticed in recent builds (don't know exactly which version) that if I right click while a video is playing in MPC-HC, select filters, select ffdshow video decoder, and select any filter it always selects the filter that is two space below the one that is selected. For example, I click on "subtitles" then "OSD" is selected.

DigitalDeviant
26th May 2010, 03:55
hi :)

Try just for try lol : ffdshow_rev3453_20100525-Debug.exe (http://sebinternet.free.fr/ffdshow_rev3453_20100525-Debug.exe)
:)
Yes it's on this sample :)
Cheers,
Seb.

It's definitely better but not gone.

http://img25.imageshack.us/img25/6645/badsub.th.png (http://img25.imageshack.us/i/badsub.png/)

If you look at the "had died" part there is still some junk. I don't get the subtitle format. When I view them in SupRip or BDSup2Sub it's not 2 separate subpics as I assumed it would be; it's one big one but the bottom lines aren't the same color as it's displayed during playback. MPC-HC's internal subtitle renderer displays it correctly however.

yair
26th May 2010, 10:06
hi, im looking for motion targa (MTGA) support for ffdshow,
on what shoulder should i cry on :)
http://forum.doom9.org/showthread.php?t=154781
targa spec (http://local.wasp.uwa.edu.au/~pbourke/dataformats/tga/)

tags: tagra, motion tagra, MTGA, directshow, libavcodec

Sebastiii
26th May 2010, 11:10
It's definitely better but not gone.

http://img25.imageshack.us/img25/6645/badsub.th.png (http://img25.imageshack.us/i/badsub.png/)

If you look at the "had died" part there is still some junk. I don't get the subtitle format. When I view them in SupRip or BDSup2Sub it's not 2 separate subpics as I assumed it would be; it's one big one but the bottom lines aren't the same color as it's displayed during playback. MPC-HC's internal subtitle renderer displays it correctly however.

Effectively, i'm too quick, i have the same result :) (it's closed to perfect :) )

albain
26th May 2010, 22:18
I am not sure what the rationale was behind this change. Maybe Albain can explain. Maybe for selecting subs?

Perhaps we could show just an on/off for subtitles in there, instead of showing all the filters.

This has always been like that, Milan implemented it this way

Actually there was no subtitle/audio streams inside this menu at first but ffdshow filters. I only added subs/audio after, but with a different group id.
This is the implementation of IAMStreamSelect interface which is the interface now used by all the players to display and select streams and maybe chapters too (Haali)

I chose to keep it that way. Maybe there is a bug on the selection part, not on audio/subs but on internal streams, I have never tried.

Anyway, we can choose to remove ffdshow internal filters from the list (I don't have any objection) or to tell other player developers to take into account the group ID of the stream (0 for video, 1 for audio, 2 or 99 for subtitles, and other values for other types) as they should do.

It's definitely better but not gone.

http://img25.imageshack.us/img25/6645/badsub.th.png (http://img25.imageshack.us/i/badsub.png/)

If you look at the "had died" part there is still some junk. I don't get the subtitle format. When I view them in SupRip or BDSup2Sub it's not 2 separate subpics as I assumed it would be; it's one big one but the bottom lines aren't the same color as it's displayed during playback. MPC-HC's internal subtitle renderer displays it correctly however.

Indeed, I have not seen that one. I had to rewrote all the PGS parsing because all the existing PGS parsers are buggy. This problem is tricky because the picture is cut into several parts, here in the midle of the yellow sub (and not between the white and yellow), so I have to find and tune how/where to start each new part

DigitalDeviant
26th May 2010, 23:24
Well, obviously it doesn't render the subtitle unreadable so it's not a critical bug. I've only seen this one title with subs like this and if it is too distracting MPC-HC will play it correctly.

Now I have a quick question. How does ffdshow handle forced subtitles in Blu-ray? I had someone ask me this and couldn't answer them and I don't have any samples to test it myself.

obieobieobie
27th May 2010, 00:57
Anyone else having problem with post processing and FLV4 files? It gets really blurry as if there's an inloop filter + post processing enabled. I experienced the problem in rev3426 and rev3452 which I just downloaded.

GrandeBoma
27th May 2010, 11:45
Well, obviously it doesn't render the subtitle unreadable so it's not a critical bug. I've only seen this one title with subs like this and if it is too distracting MPC-HC will play it correctly.

Now I have a quick question. How does ffdshow handle forced subtitles in Blu-ray? I had someone ask me this and couldn't answer them and I don't have any samples to test it myself.

as far as I am concerned, mpc does not handle forced subtitles properly (yet).

there are 2 types of blu-rays: some have forced subtitles in a separate file (imagine 2 subtitle files, one for watching the entire movie with subtitles, one for watching only those forced subs). In this case it's simple: just select the right sub track and only forced subs will be displayed. An example of this would be the bourne or the lord of the rings trilogies

Some other movies have only one subtitles file for each language :mad: and those who are "forced" are flagged as such, but for the time being the mpc/ffdshow subtitle engine is not capable to tell which is which and will display everything. We would need an option such as those offered by vobsub filter to "only show forced subtitles". An example of this would be District 9 or Avatar

STaRGaZeR
27th May 2010, 13:22
Albain, what do you think about putting audio tracks, embedded subtitle tracks, subtitle files, etc. each in their own subnenu? i.e. ffdshow Video Decoder --> Subtitle files --> list of all subtitle files found. This would keep functionality while reducing the mess it is now with files with lots of subtitles or audio streams.

leeperry
27th May 2010, 18:08
reducing the mess
that sounds like a great idea! just like offering an option to switch all this off and allow the end-users to have it the exact same way it was before..no useless options clogging the screen, no "setup" button on the very top of the menus...a one clicker like before, ya know http://forum-images.hardware.fr/images/perso/ayuluna.gif

STaRGaZeR
27th May 2010, 18:35
that sounds like a great idea! just like offering an option to switch all this off and allow the end-users to have it the exact same way it was before..no useless options clogging the screen, no "setup" button on the very top of the menus...a one clicker like before, ya know http://forum-images.hardware.fr/images/perso/ayuluna.gif

The problem here is that the "Add tray icon menu to player's stream/laguages menu" doesn't work since the lastest changes. If you have it disabled nothing should appear, like it was before.

Try not to parrot the same things over and over please, it's annoying. We get it, ya know.

leeperry
28th May 2010, 00:59
We get it
Obviously some ppl don't, and english is not everyone's native tongue so I simply try to make it clear..you can always add me to your ignore list and call it a day. Those changes are uncalled for, and I understand that there's hardly any active ffdshow coders atm...so I don't mean to upset anyone, but if they all decide to make this big of a change on their own...who's in charge to judge what's good for the users community, and what isn't? Could there be some sort of end-users poll for major GUI changes? Just saying anyway http://forum-images.hardware.fr/images/perso/piksou.gif

Moving all that subs config to the tasktray icon would indeed be a great idea...as I don't use it :p

Cloudstrifeff7
28th May 2010, 10:30
I have a problem with ffdshow 64 and mpc-hc 64. If I use deband filter, I have desynchronisation of video and sound. O_o
With 32 bits version, I don't have problem.

I use win 7 64 bit.

clsid
28th May 2010, 13:24
Deband is mega slow on x64. We need a volunteer to fix it (or disable it).

STaRGaZeR
28th May 2010, 13:46
Deband is mega slow on x64. We need a volunteer to fix it (or disable it).

Deband has been ported to x64 by JoshyD, I asked for the source code but he's busy. I'd wait a bit.

albain
28th May 2010, 20:59
Obviously some ppl don't, and english is not everyone's native tongue so I simply try to make it clear..you can always add me to your ignore list and call it a day. Those changes are uncalled for, and I understand that there's hardly any active ffdshow coders atm...so I don't mean to upset anyone, but if they all decide to make this big of a change on their own...who's in charge to judge what's good for the users community, and what isn't? Could there be some sort of end-users poll for major GUI changes? Just saying anyway http://forum-images.hardware.fr/images/perso/piksou.gif

Moving all that subs config to the tasktray icon would indeed be a great idea...as I don't use it :p

What you don't understand is that nothing has changed in FFDShow on this part; I just improved the subtitle/menu extraction but this is just internal.

This change is visible to you because your player now supports this interface. You should complain to them so that they filter streams. Media Portal, MPC-HC do so to only retrieve the streams from the groups they are interested in

STaRGaZeR
28th May 2010, 22:46
What you don't understand is that nothing has changed in FFDShow on this part; I just improved the subtitle/menu extraction but this is just internal.

This change is visible to you because your player now supports this interface. You should complain to them so that they filter streams. Media Portal, MPC-HC do so to only retrieve the streams from the groups they are interested in

"Add tray icon menu to player's stream/laguages menu" should enable/disable everything though, like before. Now it makes no effect.

leeperry
28th May 2010, 23:44
What you don't understand is that nothing has changed in FFDShow on this part; I just improved the subtitle/menu extraction but this is just internal.

This change is visible to you because your player now supports this interface. You should complain to them so that they filter streams. Media Portal, MPC-HC do so to only retrieve the streams from the groups they are interested in
thanks for the reply! so to make it clear, KMP hasn't been updated in 9 months: http://www.kmplayer.com/forums/showthread.php?t=14938

older version of ffdshow: http://thumbnails2.imagebam.com/8237/7ef4e482367560.gif (http://www.imagebam.com/image/7ef4e482367560) newer version: http://thumbnails28.imagebam.com/8237/beb2c682367561.gif (http://www.imagebam.com/image/beb2c682367561)

and somehow, it's KMP's fault :( if you could please set an option to hide all this, I'm sure many other ppl would also enjoy it either way. I use subs in ffdshow from time to time(because mVR doesn't have a subs pin), but I'd rather make 3 clicks when I need to than scroll all the way up and need 2 clicks to reach "setup" on the very top of the screen when I don't..hope you will consider it :o
Asking questions always sounds like b*tching on public forums, I apologize for this. :thanks:

Keiyakusha
29th May 2010, 00:20
There was option to hide this "add tray icon's menu to player's menu" (or something like that). But as was said before now this option has no effect and ffdshow acts like this option always ON. This probably will be fixed. However even if this option will be ON, player's menu still has a lot of unneeded stuff which wasn't there before (or was, but In some better way than now, I don't remember...). Now in MPC-HC's case every possible subtitles in the folder + some random text files printed in this menu...
But my observations about that options valid only for RAW filter. I can't access directshow filter settings at all - immediate crash when I'm trying.

EDIT: if adding subtitles files into this menu is necessary for some reason, then it shouldn't print everything it can find in the folder, but follow common "tradition" which is only movie.srt or movie.any-words-here.srt, where movie - the name of the video file currently played. Of course .srt extension is only for example.

teohhanhui
29th May 2010, 03:24
Crash with DXVA on for certain problematic files (encoder settings blanked out).

Disabling DXVA for H.264 or using MPC-HC (r1976) built-in DXVA filter works fine. It was still working in r3456 (broken in r3460, no idea about the revisions in between).

clsid
29th May 2010, 12:36
@Albain

I think the majority wants to hide the filters from the player's menu. So I suggest to only show the subtitle filter in there. Full settings can still be accessed through "Setup", which should perhaps be renamed to "Settings"?

@teohhanhui
Could you please upload a sample file for me?
If it is large, you can cut a part with this tool:
http://neuron2.net/dgsplit/dgsplit11.zip

leeperry
29th May 2010, 15:11
Well, it'd be good to have an option to hide it all as it was before...the percentage of ppl using subs in ffdshow is prolly very very low, and why forcing the end-user to click twice("setup") to see ffdshow's config when one click has been enough for years? :o

Sarasa
29th May 2010, 15:43
Well, it'd be good to have an option to hide it as it was before...the percentage of ppl using subs in ffdshow is prolly very very low, and why forcing the end-user to click twice("setup") to see ffdshow's config when one click has been enough for years? :oThere are more people that use ffdshow to display sub that you think.
If you use the auto profiles to resize the video depending of the aspect (exemple: default > 4/3, HQ > 16/9,...) and it autoswitch to HQ, DirectVobsub won't display the sub even if you switch between the different sub.
Conclusion : ffdshow is needed to switch/activate subs ;)

Also some video lag when using DirectVobsub to display the sub, but play smoothly if you use ffdshow to display it ;)

leeperry
29th May 2010, 16:00
reason why an option would be nice, to either have it the way it is right now...or the way it was before, no "Setup" button, no filters, no subs. Best of both worlds :)

STaRGaZeR
29th May 2010, 16:14
reason why an option would be nice, to either have it the way it is right now...or the way it was before, no "Setup" button, no filters, no subs. Best of both worlds :)

Are you trolling or something? There IS an option, but it doesn't work after the lastest changes.

hoborg
29th May 2010, 16:28
Looks like MPC-HC DXVA decoder fixed problem with some MP4 file (http://hobring.ic.cz/samples/mp4.AAC+AVC1_(1280x720@50fps).rar)s produce only black screen in DXVA mode, but the problem is still there if FFDShow DXVA decoder is in use.
Can be FFDShow DXVA decoder updated with latest MPC-HC source?

I think it is related to this ticket: http://sourceforge.net/apps/trac/mpc-hc/ticket/24

BTW, there is glitch (like bad frame order) durning playback of this sample.

leeperry
29th May 2010, 21:39
Are you trolling or something?
Having a bad day, huh? :D

This will get rid of all the filters, but the "setup" button will most likely still be there.

I never had to check that option before...anyways, looking forward for a way to have it exactly the way it was before...if any possible. Thanks albain http://forum-images.hardware.fr/images/perso/sniperr.gif

clsid
29th May 2010, 22:23
Looks like MPC-HC DXVA decoder fixed problem with some MP4 file (http://hobring.ic.cz/samples/mp4.AAC+AVC1_(1280x720@50fps).rar)s produce only black screen in DXVA mode, but the problem is still there if FFDShow DXVA decoder is in use.
Can be FFDShow DXVA decoder updated with latest MPC-HC source?

I think it is related to this ticket: http://sourceforge.net/apps/trac/mpc-hc/ticket/24

BTW, there is glitch (like bad frame order) durning playback of this sample.
I shall update to the latest MPC code.

STaRGaZeR
30th May 2010, 00:50
Having a bad day, huh? :D

This will get rid of all the filters, but the "setup" button will most likely still be there.

I never had to check that option before...anyways, looking forward for a way to have it exactly the way it was before...if any possible. Thanks albain http://forum-images.hardware.fr/images/perso/sniperr.gif

That option is and was off by default, off means nothing appears and your beloved one click solution is there. If you never touched it, of course it was never activated. But now it doesn't work, it's always on, for the nth time. This is a bug and should be corrected. Do you get it now or will you post another 10+ posts asking for an option to remove the stuff? :rolleyes:

EDIT: r3445 is the cause.

Midzuki
30th May 2010, 07:33
And as my question remains unanswered... :rolleyes:

No pins will be removed.

Does that mean the end-user will be allowed to control their (mis)behavior { i.e., enable/disable them } ?

FWIW: I've just "upgraded" from r3176 to r3426. :p

clsid
30th May 2010, 13:12
Post a proper bug report.

Atak_Snajpera
30th May 2010, 17:29
How far are we from added VP8 decoder to ffdshow?

clsid
30th May 2010, 17:35
The official decoder works fine, so I am not investing time in adding it to ffdshow.

Atak_Snajpera
30th May 2010, 17:55
We have vp3,vp5,vp6,vp6f so why not vp8? Official decoder can not smooth picture in fullscreen (windows 7). Also DirectShowSource does not work without fps parametr.

http://img203.imageshack.us/img203/2003/new2mn.png

clsid
30th May 2010, 18:42
VP8 is open source. The rest is not.

If someone wants to add it to ffdshow, fine, but I am not going to do it. At least not until ffmpeg has its own decoder implementation.

Atak_Snajpera
30th May 2010, 18:53
At least not until ffmpeg has its own decoder implementation.
understood.

Delerue
30th May 2010, 21:42
I can't open this sample here (http://red.cachefly.net/video/milkgirls1080p.mov) that uses MJPEG-B codec. Anyone confirms that?

Thanks!

hoborg
30th May 2010, 21:55
I can't open this sample here (http://red.cachefly.net/video/milkgirls1080p.mov) that uses MJPEG-B codec. Anyone confirms that?

Thanks!

I doubt "mjpb" is supported.
You can play it in MPC-HC if you install QT frameworks (QT alternative).

XhmikosR
30th May 2010, 23:24
I'm getting some crashes with some mkv (h264+ac3) videos, r3363 ICL11 build. MSVC build does not have this crash. Here's the debugger's output:

Microsoft (R) Windows Debugger Version 6.12.0002.633 X86
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\XhmikosR\AppData\Local\CrashDumps\mpc-hc.exe.1092.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv*H:\progs\Win7x86RTMSymbols2\websymbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 7 Version 7600 MP (4 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Mon May 31 01:16:18.000 2010 (UTC + 3:00)
System Uptime: not available
Process Uptime: 0 days 0:00:50.000
................................................................
........................
Loading unloaded module list
.............
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(444.f3c): Access violation - code c0000005 (first/second chance not available)
eax=00000000 ebx=043cd92c ecx=00000400 edx=00000000 esi=00000002 edi=00000000
eip=775464f4 esp=043cd8dc ebp=043cd978 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
ntdll!KiFastSystemCallRet:
775464f4 c3 ret
0:006> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************

*** ERROR: Symbol file could not be found. Defaulted to export symbols for splitter.ax -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for mzvkbd3.dll -

FAULTING_IP:
ffdshow!get_ue_golomb+39 [h:\progs\compiling\ffdshow\src\ffmpeg\libavcodec\golomb.h @ 70]
06066f59 8b0402 mov eax,dword ptr [edx+eax]

EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 06066f59 (ffdshow!get_ue_golomb+0x00000039)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 06fa5000
Attempt to read from address 06fa5000

DEFAULT_BUCKET_ID: INVALID_POINTER_READ

PROCESS_NAME: mpc-hc.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_PARAMETER1: 00000000

EXCEPTION_PARAMETER2: 06fa5000

READ_ADDRESS: 06fa5000

FOLLOWUP_IP:
ffdshow!get_ue_golomb+39 [h:\progs\compiling\ffdshow\src\ffmpeg\libavcodec\golomb.h @ 70]
06066f59 8b0402 mov eax,dword ptr [edx+eax]

MOD_LIST: <ANALYSIS/>

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

FAULTING_THREAD: 00000f3c

PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ

BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ

LAST_CONTROL_TRANSFER: from 0606726b to 06066f59

STACK_TEXT:
043ce024 0606726b 043ce324 043ce6f8 0053f250 ffdshow!get_ue_golomb+0x39 [h:\progs\compiling\ffdshow\src\ffmpeg\libavcodec\golomb.h @ 70]
043ce114 0606692a 043ce324 a393d1e2 027bd21c ffdshow!decode_hrd_parameters+0x7b [h:\progs\compiling\ffdshow\src\ffglobals.cpp @ 654]
043ce704 06133455 06fa4f08 00000026 027bd220 ffdshow!decodeH264SPS+0x87a [h:\progs\compiling\ffdshow\src\ffglobals.cpp @ 935]
043cea9c 06146843 00531c98 043cecd8 043ceb9c ffdshow!TffdshowVideoInputPin::init+0xb05 [h:\progs\compiling\ffdshow\src\tffdshowvideoinputpin.cpp @ 427]
043ceb90 06b5ddb4 00531c98 a393da02 043cef10 ffdshow!TinputPin::SetMediaType+0x63 [h:\progs\compiling\ffdshow\src\tinputpin.cpp @ 36]
043cece4 06132798 027bcb88 0497e444 00531c98 ffdshow!CBasePin::ReceiveConnection+0x2a4 [h:\progs\compiling\ffdshow\src\baseclasses\amfilter.cpp @ 2038]
043cef1c 1003fb7d 027bcb88 0497e444 00531c98 ffdshow!TffdshowVideoInputPin::ReceiveConnection+0x318 [h:\progs\compiling\ffdshow\src\tffdshowvideoinputpin.cpp @ 298]
WARNING: Stack unwind information not available. Following frames may be wrong.
043cef50 10041948 0497e438 027bcb88 00000000 splitter!DllGetClassObject+0x177e
043cef7c 100419f7 00000000 a3bc4ee5 0497e444 splitter!DllGetClassObject+0x3549
043cefa4 6c212cd7 04ae28f8 027bcb88 00000000 splitter!DllGetClassObject+0x35f8
043cf0ac 6c21ecfa 0497e444 027bcb88 00000000 quartz!CFilterGraph::ConnectDirectInternal+0xe9
043cf0cc 0137b5e7 0018e57c 0497e444 027bcb88 quartz!CFilterGraph::ConnectDirect+0x71
043cf154 0137c76e 0297bffc 0497e444 027bcb88 mpc_hc!CFGManager::ConnectDirect+0x1e7 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\fgmanager.cpp @ 506]
043cf1ac 0137c122 0297bffc 0497e444 027bcb88 mpc_hc!CFGManagerPlayer::ConnectDirect+0xfe [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\fgmanager.cpp @ 2615]
043cf1f0 01384b74 027bcb88 0497e444 027b8ac0 mpc_hc!CFGManager::ConnectFilterDirect+0x182 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\fgmanager.cpp @ 1088]
043cf330 01385128 0497e444 00000000 00000001 mpc_hc!CFGManager::Connect+0x954 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\fgmanager.cpp @ 701]
043cf340 01385651 0297bffc 0497e444 00000000 mpc_hc!CFGManager::Connect+0x18 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\fgmanager.cpp @ 541]
043cf3a8 01385a93 0297bffc 04ae28b4 00000000 mpc_hc!CFGManager::ConnectFilter+0x1a1 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\fgmanager.cpp @ 1019]
043cf42c 013ad9b6 04ae28b4 029636b8 00000000 mpc_hc!CFGManager::RenderFile+0x173 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\fgmanager.cpp @ 839]
043cf710 013c7673 0294b4f0 a362d4d4 0000c000 mpc_hc!CMainFrame::OpenFile+0x106 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\mainfrm.cpp @ 9861]
043cfa00 013c7fc5 0294b4f0 a362d968 00000000 mpc_hc!CMainFrame::OpenMediaPrivate+0x403 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\mainfrm.cpp @ 10966]
043cfa1c 01852e64 00000000 0294b4f0 0053c0d8 mpc_hc!CGraphThread::OnOpen+0x45 [h:\progs\compiling\mpc-hc_dev\src\apps\mplayerc\mainfrm.cpp @ 13570]
043cfa3c 01852f04 0053c0d8 0053c0d8 043cfa58 mpc_hc!CWinThread::DispatchThreadMessageEx+0x46 [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 771]
043cfa4c 01853104 0053c0d8 043cfa64 01852f6e mpc_hc!AfxInternalPreTranslateMessage+0x22 [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 227]
043cfa58 01852f6e 0053c0d8 043cfa94 01853151 mpc_hc!CWinThread::PreTranslateMessage+0xd [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 777]
043cfa64 01853151 0053c0d8 00000000 0295d5a0 mpc_hc!AfxPreTranslateMessage+0x19 [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 255]
043cfa74 01852ddc 002eb3a8 0295d5a0 0000021c mpc_hc!AfxInternalPumpMessage+0x2d [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 178]
043cfa94 0185353c a362d860 00000000 02962998 mpc_hc!CWinThread::Run+0x5b [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 629]
043cfb18 01886fc0 002eb3a8 a362d828 00000000 mpc_hc!_AfxThreadEntry+0xf4 [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 126]
043cfb50 01887068 00000000 043cfb68 76be1194 mpc_hc!_callthreadstartex+0x1b [f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 348]
043cfb5c 76be1194 02962998 043cfba8 7755b3f5 mpc_hc!_threadstartex+0x82 [f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 326]
043cfb68 7755b3f5 02962998 71aeec2e 00000000 kernel32!BaseThreadInitThunk+0xe
043cfba8 7755b3c8 01886fe6 02962998 00000000 ntdll!__RtlUserThreadStart+0x70
043cfbc0 00000000 01886fe6 02962998 00000000 ntdll!_RtlUserThreadStart+0x1b


STACK_COMMAND: ~6s; .ecxr ; kb

FAULTING_SOURCE_CODE:
66: #if defined(__INTEL_COMPILER) || defined(DEBUG)
67: #ifdef ALT_BITSTREAM_READER_LE
68: re_cache= AV_RL32( ((const uint8_t *)(gb)->buffer)+(re_index>>3) ) >> (re_index&0x07);
69: #else
> 70: re_cache= AV_RB32( ((const uint8_t *)(gb)->buffer)+(re_index>>3) ) >> (re_index&0x07);
71: #endif
72: #else
73: // ICL9.1-Release and MSVC8-DEBUG build can't process this macro properly.
74: UPDATE_CACHE(re, gb);
75: #endif


SYMBOL_STACK_INDEX: 0

SYMBOL_NAME: ffdshow!get_ue_golomb+39

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: ffdshow

IMAGE_NAME: ffdshow.ax

DEBUG_FLR_IMAGE_TIMESTAMP: 4c02e33e

FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_ffdshow.ax!get_ue_golomb

BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_READ_ffdshow!get_ue_golomb+39

Followup: MachineOwner
---------

BTW, I really think the /DEBUG should be enabled in linker even for release builds.

Another thing: is this (http://i46.tinypic.com/1h8fnq.png) normal?

EDIT: the weird thing is I cannot get the crash to happen with debug ICL11 builds. Anyway here (http://www.mediafire.com/?mo20wa0j01x) is a sample. The crash happens with ICL11 Release builds.

EDIT2: After some more digging, I don't think the above debug report is corrrect. I tried a few revs, and I found that r3368 works while r3369 doesn't. I really can't see how this can be related to ICL11 but I can reproduce it every time (not with the sample, but with the whole video).

Delerue
31st May 2010, 06:50
I doubt "mjpb" is supported.

But AFAIK FFMpeg already supports this format. For example, you can try the FFplay (http://ffmpeg.arrozcru.org/autobuilds/ffmpeg/mingw32/static/) or MPlayer; both can open MJPEG-B videos without any problem.

You can play it in MPC-HC if you install QT frameworks (QT alternative).

Yeah. I know, but would be great if we don't need this anymore. Furthermore, QT doesn't allow you to use any plugin (sharp, deinterlacing, denoise, subtitle, avisynth, etc), and doesn't have a x64 version.

albain
31st May 2010, 07:39
@Albain

I think the majority wants to hide the filters from the player's menu. So I suggest to only show the subtitle filter in there. Full settings can still be accessed through "Setup", which should perhaps be renamed to "Settings"?

As I said I have no objection to hide ffdshow internal filters based on that setting however I don't want to hide subtitles/audio streams because it is intended to be used and integrated by third party softwares this is not only a visual matter

This is the reason why I changed that option

I still think that this is a bad idea to disable an interface even partially based on a setting, we cannot implement special behaviours for some players.

So I propose the following solution : the hide/show streams menu (which will be renamed) will only disable ffdshow internal filters from IAMStreamSelect interface (so they won't be visible from external players).
But audio/subtitle streams menu will still be.

About FFDShow context menu, I will separate subtitle streams from subtitle files into 2 different submenus

Sounds okay to everyone ?

Sebastiii
31st May 2010, 10:36
Hi,

I think it's a good idea on my side :)
Seb.

STaRGaZeR
31st May 2010, 11:24
Sounds okay to everyone ?

Sounds good. Some thoughts:

- The submenus are OK in the tray icon, but in ffdshow context menu they're not.
- Expose video tracks too, if possible. Haali does this, and it'll be useful in the short future for 3D streams.
- Prefix the stream name with V: , A: and S: for video, audio and subtitle tracks respectively, like Haali. This will identify what tracks are what when no track name or no language is set, like in here: http://www.imagebam.com/image/550c2882667998
- Put the submenus in this order: video, audio, sub streams, sub files. Seems to be the standard.

albain
31st May 2010, 12:17
Sounds good. Some thoughts:

- The submenus are OK in the tray icon, but in ffdshow context menu they're not.
- Expose video tracks too, if possible. Haali does this, and it'll be useful in the short future for 3D streams.
- Prefix the stream name with V: , A: and S: for video, audio and subtitle tracks respectively, like Haali. This will identify what tracks are what when no track name or no language is set, like in here: http://www.imagebam.com/image/550c2882667998
- Put the submenus in this order: video, audio, sub streams, sub files. Seems to be the standard.

Context menu is the reflection of IAMStreamSelect interface, there is no code behind it and this is up to the implementation of player side.
So graphstudio for example will create a submenu for each group (audio/subs/sub files...)

Video track : not possible right now, ffdshow does not support multiple video input pins (so nogo for MPC splitter unless they plan to use one pin). About Haali's splitter, maybe it will work without changing anything but a reconnection is necessary (reload codecs, presets...). To be tested

Ok to improve the track name but not with prefix : what can be done is replace the track name by the language name when it is empty

clsid
31st May 2010, 16:28
I'm getting some crashes with some mkv (h264+ac3) videos, r3363 ICL11 build. MSVC build does not have this crash.
...
EDIT2: After some more digging, I don't think the above debug report is corrrect. I tried a few revs, and I found that r3368 works while r3369 doesn't. I really can't see how this can be related to ICL11 but I can reproduce it every time (not with the sample, but with the whole video).
Make a r3369 build and revert some of the changes made in r3369. That way you can figure out which change causes the issue.

I don't see anything wrong in r3369, so there must be some kind of deeper underlying issue.

Keiyakusha
1st June 2010, 02:53
Hi. I just tried ffdshow rev3466 ICL11 and I have a few questions.

1) I still can't access directshow filter settings. rundll32/ffdshow.ax crashing immediately. This is just me?
Now wmv3 and divx video crashing for me and I even can't check settings... EDIT: the same with msvc build
2) See here (http://imgur.com/IWMHE.jpg). Please tell me what and where I should enable or disable to get rid of that unneeded stuff (I mean not only the ones in blue box but everything). Note, that at the same time I do want to see ffdshow internal filters and presets in that menu.

leeperry
1st June 2010, 05:58
I still can't access directshow filter settings. rundll32/ffdshow.ax crashing immediately. This is just me?
works fine here.
Please tell me what and where I should enable or disable to get rid of that unneeded stuff
same here, it pick ups all the text files it can find: http://img717.imageshack.us/img717/2183/jmp2.png
the hide/show streams menu (which will be renamed) will only disable ffdshow internal filters from IAMStreamSelect interface (so they won't be visible from external players).
But audio/subtitle streams menu will still be.
so it'll always take two clicks and reaching "setup" to open ffdshow's config? this is not negotiable? :(

what's the point? http://img714.imageshack.us/img714/9153/ffdg.png

I understand you want ffdshow to look good in your Microsoft Media Center plugin, but many ppl don't use subs in ffdshow nor care about the audio stream specs...it'd be great to have an option to have it the exact same way it was before. Please be so kind as to allow hiding all that useless stuff to the ppl who don't care for subs in ffdshow or audio media info..if any possible. :thanks:

PS: and to the guy w/ the l33t nickname, you're on my ignore list so don't bOtHeR.