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

Reimar
8th October 2010, 11:56
Since FLAC decoding in ffdshow is done by libavcodec, the output is indead 16-bit.

Nonsense, the libavcodec FLAC decoder isn't even able to decode > 16 bit input to 16 bit raw.
If the FLAC file encodes more than 16 bit per sample libavcodec will always produce 32 bit per sample output.
What then happens in ffdshow I do not know (it might not be able to play at all, it might reduce to 16 bit, ...).

nevcairiel
8th October 2010, 12:19
FLAC is actually one of the few codecs that does decode to the proper bitdepth in avcodec.
What ffdshow does with it is unknown to me, however.

FWIW, TrueHD/MLP is also properly decoded to the original bit depth.

it would be awesome if ffdshow would pass it to the renderer in the same bitdepth as it was decoded, but sadly thats not possible. :(

jmone
8th October 2010, 21:14
In testing with a FLAC 24 Bit (in MKV Container) I get the following results when "Output format for uncompressed or decoded streams" has "16 and 24 bit interger" checked.
1) FFDSHOW decdoing = 16 Bits output
2) MADFLAC (decodes to 24BIT PCM) --> FFDSHOW (Uncompressed) = 16 Bits ... This one gets me, If you insert FFDSHOW back into the filter graph to do post processing it still reduce the bitdebth to 16 Bit?

However, if I check "32 bit integer" I get 32 bit output for it all.

================================

I'm not sure how these 24-Bit streams are being processed internally in FFDSHOW, so I have:
1) Unchecked 16 Bit Integer in Processing
2) Checked 16, 24, and 32 Bit Integer in the Output Format for uncompressed or decoded streams

I "think" I may get 24bit input --> ??? 32 Bit ???? internal processing --> 32 bit output, but couple of Q:
- Is this assumption correct or is something still reducing the bitdepth to 16-bit at some point in the chain?
- Why does it output at 16Bits if I have only 16 and 24 bit output checked instead of 24-bit?

Thanks
Nathan

nevcairiel
8th October 2010, 21:56
ffdshow will always expose all output formats that you checked, and the renderer will pick whatever it likes. Maybe it doesn't like ffdshows 24 bit, for some arcane reason? I don't know.

jmone
8th October 2010, 22:54
ffdshow will always expose all output formats that you checked, and the renderer will pick whatever it likes. Maybe it doesn't like ffdshows 24 bit, for some arcane reason? I don't know.

Thanks - I can get 24 Bit output working if I uncheck 16 and 32 bit, but oddly not when 16 and 24 bit are checked (go figure)

Anyway I'm using Reclock - so the full Audio chain is now more like:

MKV (FLAC 24-Bit) Input --> FFDSHOW 32-Bit Output --> Reclock 24bit int padded to 32 (max the format the card with accept) --> WASAPI --> ATI HD5450

I'm just trying to avoid multiple conversions (esp at lower bit debths / sampling rate) unless there are other suggestions to FFDSHOW Config I'll leave it at 32-Bit Output with:
1) Uncheck 16 Bit Integer in Processing
2) Check 16, 24, and 32 Bit Integer in the Output Format

So is it confirmed (and againts prior assertions), that FFDSHOW using libavcodec is able to decode, process, and output 24-Bit FLAC at higher than 16-Bit?

Thanks
Nathan

Reimar
9th October 2010, 11:08
In testing with a FLAC 24 Bit (in MKV Container) I get the following results when "Output format for uncompressed or decoded streams" has "16 and 24 bit interger" checked.
1) FFDSHOW decdoing = 16 Bits output
2) MADFLAC (decodes to 24BIT PCM) --> FFDSHOW (Uncompressed) = 16 Bits ... This one gets me, If you insert FFDSHOW back into the filter graph to do post processing it still reduce the bitdebth to 16 Bit?

However, if I check "32 bit integer" I get 32 bit output for it all.


libavcodec never has and never will support 24 bit format (at least for decoder output, conversion is a different thing), no processor supports that format natively. Instead it will output as 32 bit and indicate that only 24 bits are really significant.
But since ffdshow obviously can do the 32 -> 16 bit conversion by itself, there's probably some code missing that converts 32 bit to 24 bit in case the decoder creates 32 bit output and you have only 16 and 24 checked.

STaRGaZeR
9th October 2010, 11:16
ffdshow doesn't output 24-bit unless everything else is unchecked. If the decoder outputs 24-bit, it'll use 32-bit int, with the extra bits zeroed (not sure about this though). So, if you have 24-bit sources, just be happy with 32-bit int because all your info is there untouched.

LigH
9th October 2010, 15:55
a) if DXVA decoding for H.264 is enabled: General { Video size = 640 x 368 }; stream list { Video: MPEG4 Video (H264) 640x360 25.00fps [Video] } -- at least MOD 16
b) if DXVA decoding for H.264 is disabled: General { Video size = 640 x 372 }; stream list { Video: MPEG4 Video (H264) 640x360 25.00fps [Video] } -- not even MOD 16?!

Any suggestion what could cause that?

Reimar
9th October 2010, 17:46
a) if DXVA decoding for H.264 is enabled: General { Video size = 640 x 368 }; stream list { Video: MPEG4 Video (H264) 640x360 25.00fps [Video] } -- at least MOD 16
b) if DXVA decoding for H.264 is disabled: General { Video size = 640 x 372 }; stream list { Video: MPEG4 Video (H264) 640x360 25.00fps [Video] } -- not even MOD 16?!

Test files: MP4 (http://www.holzon.de/test/00003_5s.mp4) or MKV (http://www.holzon.de/test/00003_5s.mkv) (same content, ~330 KB each)

http://www.holzon.de/test/00003_5s.png

P.S.: DGIndexNV 2026 and 2030 warn "Stream specifies cropping" (for the MKV) and report the "coded size" as 640x384 (even MOD 32).

libavcodec bug. It currently does not support cropping more than 12 pixels for interlaced streams. For this file, 384 - 360 = 24 pixels need to be cropped. (and 372 = 384 - 12).

LigH
9th October 2010, 18:51
Did I encode it interlaced?! ... :o - My fault then. But the content was deinterlaced. I should check my parameters again.

Sebastiii
10th October 2010, 21:21
Hi STaRGaZeR,

It seems that when you remove mp3lib, it break something about FFDShow.Interfaces.IffdshowBase.getParamStr3(UInt32 paramID, IntPtr& bufPtr) when use FFDshow in MediaPortal, r3602 is OK but not 3604.
I try to see why.
Thanks,
Seb.

Edit :
In FFDshowAPI.cs : i comment out line 2173 : ffdshowBase.getParamStr3((uint)param, out result);
I don't know exactly is doing but it fix the issue.

STaRGaZeR
11th October 2010, 17:43
Can you tell me param's value when getParamStr3 is called and it crashes?

Sebastiii
11th October 2010, 19:17
hi m8 :)

Yes but i'm not sure to how get this value :(
can you help me ?
Cheers,
Seb.

STaRGaZeR
11th October 2010, 20:11
Compile a debug build, put breakpoints in TffdshowBase::getParamStr3 (TffdshowBase.cpp, line 164) and run debug. When something calls the function the execution will be stopped at the first breakpoint. You can see variable names, values, etc. By pressing the play icon you'll go to the next breakpoint. You just have to look for what's in the variables when it crashes, that will pretty much tell you where the problem is. You know the issue is in getParamStr3 but knowing the exact line and variable values helps a lot. You see that the get(...) function is called from getParamStr3, if it crashes in this line you can put breakpoints in get(...) to further track down the crash. Maybe it's an incorrect param, I don't know :p

Sebastiii
11th October 2010, 20:42
Compile a debug build, put breakpoints in TffdshowBase::getParamStr3 (TffdshowBase.cpp, line 164) and run debug. When something calls the function the execution will be stopped at the first breakpoint. You can see variable names, values, etc. By pressing the play icon you'll go to the next breakpoint. You just have to look for what's in the variables when it crashes, that will pretty much tell you where the problem is. You know the issue is in getParamStr3 but knowing the exact line and variable values helps a lot. You see that the get(...) function is called from getParamStr3, if it crashes in this line you can put breakpoints in get(...) to further track down the crash. Maybe it's an incorrect param, I don't know :p

Thanks,

So i have compil debug version of FFDShow, put break point line 164.
Start debug -> select -> mediaportal.exe
Open a movie and try to select subtitle.
MVS2008 -> ask me for FFDShowAPI.cs (the one from MePo Sources).
After that, it stop on line 2254 (from this FFDShowAPI.cs) line for the one from FFDShow source is line 2173.

I have this value for param :
FFDShow.FFDShowConstants.FFDShowDataId.IDFF_subTempFilename

2010-10-11 21:19:41.291121 [ERROR][MPMain(1)]: Exception :System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at FFDShow.Interfaces.IffdshowBase.getParamStr3(UInt32 paramID, IntPtr& bufPtr)
at FFDShow.FFDShowAPI.getStringParam(FFDShowDataId param) in D:\svnroot\mediaportal_FFDshow_Patch18_Edition_MPCSubs\mediaportal\Core\Player\FFDShow\FFDShowAPI.cs:line 2254
at FFDShow.FFDShowAPI.get_CurrentSubtitleFile() in D:\svnroot\mediaportal_FFDshow_Patch18_Edition_MPCSubs\mediaportal\Core\Player\FFDShow\FFDShowAPI.cs:line 1129
at MediaPortal.Player.Subtitles.FFDShowEngine.get_CurrentSubtitleFile() in D:\svnroot\mediaportal_FFDshow_Patch18_Edition_MPCSubs\mediaportal\Core\Player\FFDShow\FFDShowEngine.cs:line 286
at MediaPortal.Player.Subtitles.FFDShowEngine.SwitchToNextSubtitle() in D:\svnroot\mediaportal_FFDshow_Patch18_Edition_MPCSubs\mediaportal\Core\Player\FFDShow\FFDShowEngine.cs:line 343
at MediaPortal.Player.g_Player.SwitchToNextSubtitle() in D:\svnroot\mediaportal_FFDshow_Patch18_Edition_MPCSubs\mediaportal\Core\Player\g_player.cs:line 2627
at MediaPortal.GUI.Video.GUIVideoFullscreen.OnAction(Action action)
at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action) in D:\svnroot\mediaportal_FFDshow_Patch18_Edition_MPCSubs\mediaportal\Core\guilib\GUIWindowManager.cs:line 457
at MediaPortalApp.OnAction(Action action)
2010-10-11 21:19:41.291121 [ERROR][MPMain(1)]: Exception :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
2010-10-11 21:19:41.292121 [ERROR][MPMain(1)]: site :Int32 getParamStr3(UInt32, IntPtr ByRef)
2010-10-11 21:19:41.292121 [ERROR][MPMain(1)]: source :Core
2010-10-11 21:19:41.293121 [ERROR][MPMain(1)]: stacktrace: at FFDShow.Interfaces.IffdshowBase.getParamStr3(UInt32 paramID, IntPtr& bufPtr)

But i didn't stop on breakpoint :(

I really don't know why :(
Thanks.

Ps : Thx to Underground78 to try to help me :)

STaRGaZeR
12th October 2010, 14:45
Thanks,

So i have compil debug version of FFDShow, put break point line 164.
Start debug -> select -> mediaportal.exe
Open a movie and try to select subtitle.
MVS2008 -> ask me for FFDShowAPI.cs (the one from MePo Sources).
After that, it stop on line 2254 (from this FFDShowAPI.cs) line for the one from FFDShow source is line 2173.

I have this value for param :
FFDShow.FFDShowConstants.FFDShowDataId.IDFF_subTempFilename



But i didn't stop on breakpoint :(

I really don't know why :(
Thanks.

Ps : Thx to Underground78 to try to help me :)

After building a debug version you have to register it (by using register.bat for example). If everything is right, your breakpoints will stay red after you start debug. If something went wrong, they'll be grey with a yellow exclamation sign. One good way of knowing if you're really using the debug version is to check deband for example, video will freeze because of the speed penalty.

This crash is related to subtitles, and I didn't change anything regarding subtitles in the mp3lib commit, so I'm out of ideas. What you can do is revert file by file until you find what makes it crash. BTW, why does MP have a different FFDShowAPI.cs? Really a noob on this I am :D

Sebastiii
12th October 2010, 17:07
Thanks,

I will try this this evening :)
I have look @ each file and yes nothing related to sub (and it's only happen for external sub).

I don't know exactly why the API (cs) is different, i know that i have add modification in FFDShowAPI.cs but the bug appear after r3602.

I'll and notice you :)
Thanks again.

magic144
12th October 2010, 19:09
raised a new issue on bug-tracker regarding subtitle (start play with subs hidden) interaction between Zoom Player 7.1a5 and clsid's newest 32-bit/x86 ffdshow build (3611)
https://sourceforge.net/tracker/?func=detail&aid=3086069&group_id=173941&atid=867360

also CC'd ZP msg board
thanks,
m

Sebastiii
12th October 2010, 22:41
After building a debug version you have to register it (by using register.bat for example). If everything is right, your breakpoints will stay red after you start debug. If something went wrong, they'll be grey with a yellow exclamation sign. One good way of knowing if you're really using the debug version is to check deband for example, video will freeze because of the speed penalty.

This crash is related to subtitles, and I didn't change anything regarding subtitles in the mp3lib commit, so I'm out of ideas. What you can do is revert file by file until you find what makes it crash. BTW, why does MP have a different FFDShowAPI.cs? Really a noob on this I am :D

Hi,

Debug version is working (register .ax) but the issue is always here and i didn't find what happen, i have try each file but it's hard because all is link between them (not all but a big part).

And i didn't see why is related to sub section :(
+++

TheShadowRunner
14th October 2010, 21:31
It seems libavcodec's VP6F decoding has a slight bug. Here is a sample video:
http://videoff7.free.fr/FF13_fn.avi (15megs)
When decoded by ffdshow, there is some disturbance at the very bottom of the screen, all along. When played via activex (on website), there is no such artefact.
I tried every renderer and no changes, if anyone has a clue on how to solve this? ^^;

LoopDeMack
16th October 2010, 02:48
@XhmikosR thank you for your time and your effort in building your versions of ffdshow.

I have a request for a subtitle option which is missing in your builds and generally in all ffdshow tryout builds.

When the movie has only one subtitle which is not the embedded type, you can not disable the subtitle through the tray menu because there is no "no subtitle" option, because its missing in "subtitle files" section.
http://img412.imageshack.us/img412/2134/subtitlefiles.png

You made that option available for embedded subtitles in "subtitle stream" section.
http://img716.imageshack.us/img716/2492/subtitlestream.png

This function is missing for srt and idx and other types of subtitles.

It would be great if you could add this option that user could disable the subtitle for the "subtitle files" from the tray menu, in the same manners, I mean same as its done for the "subtitle stream" type.


Thnak you

STaRGaZeR
16th October 2010, 14:01
Hi,

Debug version is working (register .ax) but the issue is always here and i didn't find what happen, i have try each file but it's hard because all is link between them (not all but a big part).

And i didn't see why is related to sub section :(
+++

What about asking MP guys? magic144's issue looks a lot like yours, Zoom Player is using the ffdshow API too IIRC, so maybe they know why it crashes. Try asking both.

Sebastiii
16th October 2010, 16:56
Hi,

Thanks ;) about MP guys for now the build with FFDSHOW is not include so no one for now can help me.
Albain has made a mega patch to include FFDShow in Mediaportal, i just change some thing about the OSD and other little thing lol.
But If i comment out the line, i have no error and all is working good. Effectively, i would like to understand why the change about mp3lib make an issue for sub :)
I will ask magic144 :)
But the API was not exactly the same between FFDShow and Mediaportal, i think the one from Mediaportal is more recent :)

Thank you :)
Seb.

sansnom05
18th October 2010, 06:01
Hi,

I've successfully built ffdshow with vs2010, one exception is WarpSharp will not work now, cause when linking it complains about unresolved "aws_run", so I comment it out for now. I'm guessing we need a vc100 version of aws.obj, if someone can provide it, that would be great.

I did a few test, the result ffdshow.ax works, so do all the filters. If anyone want to try it, you can PM me.

mark0077
18th October 2010, 13:37
Hi guys, I have an avi with an ac3 track that crashes mpc-hc when seeking but only when using the ffdshow audio decoder (either of the two available). Can anyone just let me know if this is something thats a known issue or if I should begin creating a sample from this largish avi file. Using ffdshow 3611 with mpc-hc and the crash happens with any of the mpc-hc audio renderers I have tested so I'm sure its ffdshow causing the crash on seek.

Other files with ac3 tracks don't seem to have the problem just this one avi I have.

EDIT: One other issue I notice is that the grab feature doesn't grab all frames when using a double framerate de-interlacer like yadif. Is this something I should report on an official bug tracker or is it expected? I was going to use the grab feature to deinterlace a section of an interlaced clip for importing into adobe premiere as even cs5's deinterlace is really bad compared to yadif even but only every odd frame gets grabbed, meaning I only get half of the frames written to disk.

clsid
18th October 2010, 18:38
Remuxing that AVI file with VirtualDub might fix it.

For the Grab issue, add it to the bug tracker.

STaRGaZeR
18th October 2010, 19:00
Hi,

Thanks ;) about MP guys for now the build with FFDSHOW is not include so no one for now can help me.
Albain has made a mega patch to include FFDShow in Mediaportal, i just change some thing about the OSD and other little thing lol.
But If i comment out the line, i have no error and all is working good. Effectively, i would like to understand why the change about mp3lib make an issue for sub :)
I will ask magic144 :)
But the API was not exactly the same between FFDShow and Mediaportal, i think the one from Mediaportal is more recent :)

Thank you :)
Seb.

Good luck, I still don't know why subs are affected by this :(

Hi,

I've successfully built ffdshow with vs2010, one exception is WarpSharp will not work now, cause when linking it complains about unresolved "aws_run", so I comment it out for now. I'm guessing we need a vc100 version of aws.obj, if someone can provide it, that would be great.

I did a few test, the result ffdshow.ax works, so do all the filters. If anyone want to try it, you can PM me.

Awesome. I can't provide the file, but I hope you success in making ffdshow compatible with VS2010.

mark0077
18th October 2010, 19:32
Remuxing that AVI file with VirtualDub might fix it.

For the Grab issue, add it to the bug tracker.

Thanks clsid, I'll do that now. One other thing I notice today. Been working in adobe premiere for the past few days and am outputting a largish clip to pure lossless rgb using the utvideo codec. I notice however when ffdshow receives the uncompressed RGB32 input, and when I'm outputting pure RGB32 from ffdshow (basically no conversion should occur), yet selecting different options in the rgb conversion output dialog has an effect on the image.

eg. selecting "Full range" for input levels and output as "Computer monitor" the image seen in mpc-hc is washed out, ie black becomes grey. I don't think ffdshow should be doing any processing here when input is rgb32 and output is rgb32 right? If you agree I'll also stick it into the tracker.

clsid
18th October 2010, 21:23
I would be inclined to agree with you. If the input is RGB32 then it could be outputted untouched. However, there may be situations where a user might want to adjust/correct the input.

It would probably be best to add an option to control whether RGB32 input should be processed or not. I suggest to create a report/request for that on the tracker.

dansrfe
19th October 2010, 02:50
Is the ffmpeg-mt AVC/H.264 decoder able to decode 10-bit 4:2:2 AVC streams? I am asking this because x264 devs have released a 10-bit 4:2:2 encoder and I want to try it out only if ffmpeg-mt has the ability to decode it. Also, if I remember correctly, x264 already has the capability to encode to 10-bit 4:4:4 AVC correct?

nm
19th October 2010, 14:18
Is the ffmpeg-mt AVC/H.264 decoder able to decode 10-bit 4:2:2 AVC streams? I am asking this because x264 devs have released a 10-bit 4:2:2 encoder and I want to try it out only if ffmpeg-mt has the ability to decode it. Also, if I remember correctly, x264 already has the capability to encode to 10-bit 4:4:4 AVC correct?

I haven't seen either 4:2:2 or 4:4:4 support released, only 4:2:0 9/10-bit. Libavcodec and ffmpeg-mt still only support 8-bit H.264 video.

dansrfe
19th October 2010, 14:53
In which circumstance can I use 10-bit 4:2:2 then? I think I understand using 4:4:4 12-bit for lossless (but again, where is the decoder?? lol). What is currently used to decode this type of material? How can this actually catch on in the consumer/prosumer market. I'm curious to know...

nm
19th October 2010, 17:47
In which circumstance can I use 10-bit 4:2:2 then?

With some other encoder than x264 and some other decoder than lavc. 4:2:2 support may be around the corner for x264. I haven't followed FFmpeg development lately.

I think I understand using 4:4:4 12-bit for lossless (but again, where is the decoder?? lol).

Currently x264 only supports 4:2:0 8..10 bit lossless and lossy encoding. "High 4:4:4 Predictive" refers to the H.264 profile that supports lossless encoding, not to x264's sample format support. It's still 4:2:0 only.

What is currently used to decode this type of material?

At least the "Broadcast" version of MainConcept's H.264 decoder supports 4:2:2 10-bit. I have no idea which commercial video tools include it.

How can this actually catch on in the consumer/prosumer market. I'm curious to know...

It's work in progress. Most likely it wont catch on until theres a free(ware) decoder available.

nurbs
19th October 2010, 17:58
I think it won't catch on because nobody is going to implement it in hardware and there will be compatibility problems in general because many commercial software products won't support it either.

sansnom05
24th October 2010, 07:51
I've figured out why aws_run is unresolved, actually no need for vc100 version aws.obj. So vs2010 build is now functional equal with vs2008/icl11 build, anyone want to try it, here's the vs2010 build link: http://www.mediafire.com/?p9cxbwqoaopwmot.

fastplayer
25th October 2010, 17:28
So far no problems with both VS2010 builds (3612 & 3614). I'm not a heavy filter user so I can't comment on that but I've noticed zero anomalies during basic playback of AVI, MP4, MOV and MKV files. :)

sansnom05
27th October 2010, 06:45
Here's link for vs2010 x64 build ffdshow, http://www.mediafire.com/?wu6cplmixvgcf9v.

Compare to x86, x64 build need extra works like build libboost_thread for vc100/x64, and it seems default to use sse2, so need colorspace_rgb_win64_sse2.asm for yasm. Could someone confirm that?

sansnom05
28th October 2010, 02:24
@devs

I have made all vs2008/icl11/vs2010 project files using props/vsprops file to set IntDir/OutDir, aka location of intermediate files(.obj/.pdb/.lib/.log/.asm etc) and output files(.lib/.exp only), .dll/.ax/.vdf/.acm files will still in $(ffdshowroot)/bin dir for installer.

Right now those files scatter in each project's subdirs, different for each configuration/arch/compiler combination, like ff_acm/Release_Win32_2008/ or ff_vfw/Debug_x64_ICL11/.

After my proposal changes, we could have only two top dirs(one if $intdir == $outdir) to put these files, including all configuration/arch/compiler/project combination, like this: $intdir/Release_Win32_ICL11/ff_acm/ and $outdir/Debug_X64_ICL11/ etc. It will be easier for finding pdb/lib files, and for cleaning too. And if you like the way it is now, you can easily get it by changing IntDir/OutDir definitions in common.props/vsprops just once.

So the question is: what should be the topdir name for IntDir/OutDir? And if anyone want to try my patch before comments, please PM me.

:thanks:

clsid
28th October 2010, 15:47
$(ffdshowroot)/obj ?

Sebastiii
29th October 2010, 17:57
Good luck, I still don't know why subs are affected by this :(

Hi :) sansnom05 find why it doesn't work :) thanks to him to help me :)

We have to apply the change made in iffdshowbase.h :
Remove the line : STDMETHOD (getPostproc)(Tlibmplayer* *postprocPtr) PURE;

In IffdshowBase.cs :
Remove the line : int getPostproc(IntPtr postprocPtr);

All is ok :)

Awesome. I can't provide the file, but I hope you success in making ffdshow compatible with VS2010.

Thanks again to sansnom05, the build works goods :)
Cheers,
Seb.

Sebastiii
29th October 2010, 17:58
@devs

I have made all vs2008/icl11/vs2010 project files using props/vsprops file to set IntDir/OutDir, aka location of intermediate files(.obj/.pdb/.lib/.log/.asm etc) and output files(.lib/.exp only), .dll/.ax/.vdf/.acm files will still in $(ffdshowroot)/bin dir for installer.

Right now those files scatter in each project's subdirs, different for each configuration/arch/compiler combination, like ff_acm/Release_Win32_2008/ or ff_vfw/Debug_x64_ICL11/.

After my proposal changes, we could have only two top dirs(one if $intdir == $outdir) to put these files, including all configuration/arch/compiler/project combination, like this: $intdir/Release_Win32_ICL11/ff_acm/ and $outdir/Debug_X64_ICL11/ etc. It will be easier for finding pdb/lib files, and for cleaning too. And if you like the way it is now, you can easily get it by changing IntDir/OutDir definitions in common.props/vsprops just once.

So the question is: what should be the topdir name for IntDir/OutDir? And if anyone want to try my patch before comments, please PM me.

:thanks:

Thank you :)
It's really works good :)
I hope that dev can look it :)
Seb.

XhmikosR
30th October 2010, 11:47
@clsid: I noticed there are random standalone icl10 and vs08 solution files except from the ffdshow ones. At least for the icl10 solution files, if you don't use them can you remove them? Also, do you know what was the ffdshow_all project supposed to do?
And we definitely have to use different bin directories, because now you have to rebuild every time you change between vs08 and vs10.

mindbomb
30th October 2010, 20:52
I'm having trouble with ffdshow audio decoder and bitstreaming of the dts core of a dts-hd track over spdif. The issues are greatly reduced when using mpc's internal dts filter for bitstreaming though.

Ap3 n1nja
31st October 2010, 16:42
Sorry for requesting this again, but can anyone here get AAC libavcodec to connect with KMPlayer's Matroska Reader? Or is this the type of thing I should ask KMPlayer developers to work on?

Qaq
3rd November 2010, 07:40
KMPlayer developers? There are no such ones anymore.

Ap3 n1nja
3rd November 2010, 23:26
Haha! True that.

But they did mange to release a new version a couple months ago. Yet still, it was about a year ago from their last release, so I don't expect them to be the ones to fix it.

eliz82
5th November 2010, 09:43
chosing "Easteurope" in subtitle Charset setting not working. the special characters are not displayed correctly.

edit: it seems you must restart the movie after changing this setting to work correctly.

eliz82
5th November 2010, 10:12
another problem

on the latest build (3611) the subtitle choosing from the tray menu do not appear anymore like in older builds (ex. 3466)
11739
am I missing some setting ?

DeathTheSheep
5th November 2010, 23:40
Latest revision of ffdshow (whatever ffmpeg-mt version it uses) is broken with b-pyramid. Try a decent, smooth clip with x264 preset veryslow/placebo and the ffmpeg-mt decoder. Tons of corruption. Previous ffdshow was fine.

Reverting...

DeathTheSheep
6th November 2010, 01:36
Latest revision of ffdshow (whatever ffmpeg-mt version it uses) is broken with b-pyramid. Try a decent, smooth clip with x264 preset veryslow/placebo and the ffmpeg-mt decoder. Tons of corruption. Previous ffdshow was fine.

Reverting...

Some specifics: when played through normally, the problem doesn't appear. To reproduce, I tried seeking directly into a GOP (to do this in a testing environment, load an mkv with ordered chapters and seek inside of a different linked chapter) and progressed one frame at a time. Sure enough, corruption would appear on files using b-pyramid as loaded via directshowsource and persist throughout the remainder of the file/fragment, even minutes (hours) past the initial seek point.

On mobile devices using ffmpeg (rockplayer, vplayer, etc), the problem persists in all cases, regardless of seeking. Is there anyone at ffmpeg aware of this problem? I thought I'd report it here.