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

albain
28th March 2010, 13:30
@Ikarad : I had to reformat my disk and I lost your sample. Can you reupload part2 (the others are still downloadable) ?

STaRGaZeR
28th March 2010, 15:24
Thanks stargazer

Here is a new build (http://damienbt.free.fr/ffdshow_rev3335_20100327_dbt_.exe) on the audio part

I disabled the jitter correction for TrueHD & MLP codecs

About the build with the new libraries, I don't understand, I really don't reproduce the black screen issues anymore. Although I used the same sample as before (which caused me black screen). The only thing that changed is I had to reformat my drive (so new fresh installation)

Have you tried a clean install ?

Are you sure this is the new build? The filename is the same, the download was instantaneous as if the build was cached in my browser and the log still shows jitter correction when I change to the THD track. The results are the same as before. It looks like ffdshow didn't change to the THD decoder.

About the newlibs beta, yes, all the tests are with clean installs as always. Deband after every filter with problems fixes them.

ikarad
28th March 2010, 19:45
@Ikarad : I had to reformat my disk and I lost your sample. Can you reupload part2 (the others are still downloadable) ?

here the part 2
http://www.zshare.net/info.html?74314450-ba2c28d26a51156a2b08c17414f5f336

hoborg
28th March 2010, 21:06
@albain:
Hi.
Tested 3336 build from http://www.xvidvideo.ru/.
How "...subtitle/audio streams switching" supose to work?
Audio switcher and keys & remotes are enabled, MPC-HC mkv source filter is in use, but pressing CTRL+ALT+F4 or nunlock 1 simply does nothing for me, no OSD info.

Tested on this sample (http://hobring.esero.net/saf/ffdshow_test.zip) in graphstudio.
BTW, FF/RW working fine.

Sebastiii
28th March 2010, 21:40
No, it doesn't :(. In an MKV with AC3 and THD, changing from the AC3 track to the THD track results in silence, ffdshow reports 621 kbps ac3 (liba52). If I change back to the AC3 track I get silence too, with the same message. Info & CPU is empty in both cases.

Hi, Can you provide a sample ?
Thanks,
Seb.

kolak
28th March 2010, 22:30
Is there a way to force makeavis to create YUY2 file (with YUY2 header) for a software that reads files natively (can't access directshow or VFW filters)?

Thx,
Andrew

Casshern
29th March 2010, 02:24
v3336 breaks sp/dif passthrough on some dts cores of dts master audio tracks. Before if you just enabled dts passthrough and disabled dts hd passthrough ffdshow would pass the dts core just fine to the sp/dif output. This sometimes does not work anymore (e.g. GI Joe Bluray main m2ts), ffdshow decodes the dts hd stream and does not extract the core:
Filter : ffdshow Audio Decoder - CLSID : {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}

- Connected to:

CLSID: {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}
Filter: G:\GIJOE\BDMV\STREAM\01002.m2ts
Pin: Audio

- Connection media type:

Audio: DTS 48000Hz 6ch 1509kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_DTS {E06D8033-DB46-11CF-B4D1-00805F6CBBEA}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x2001
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 188719
nBlockAlign: 2012
wBitsPerSample: 0
cbSize: 0 (extra bytes)

pbFormat:
0000: 01 20 06 00 80 bb 00 00 2f e1 02 00 dc 07 00 00 . ..€»../á..Ü...
0010: 00 00

Interestingly other titles with the same info work! Also GI Joe works with older versions of ffdshow.... ..

leeperry
29th March 2010, 04:10
I was wondering, sometimes 5.1 AC3 seems to be tagged as stereo...I've got a DVD here, where KMPlayer says it's stereo, but both MediaInfo and ffdshow show it as 6 channels.

too bad my "stereo <> 6 channels" rule in ffdshow audio doesn't work and reverts to stereo...yet it shows as 6 channels input in ffdshow audio, I guess I'm SOL?

I've put a sample here: http://www.mediafire.com/file/mn23gioeoug/Sample.ac3

albain
29th March 2010, 07:41
@Casshern : please copy/paste the debugview logs (check "send strings to debugger" in ffdshow)

@hoborg : are you able to see the streams inside the ffdshow video context menu ?

hoborg
29th March 2010, 08:00
@hoborg : are you able to see the streams inside the ffdshow video context menu ?

Yes, and i can swap them by mouse without any problem
http://hobring.esero.net/saf/ffdshow/audio.jpg
http://hobring.esero.net/saf/ffdshow/sub.jpg

ikarad
29th March 2010, 14:34
@Casshern : please copy/paste the debugview logs (check "send strings to debugger" in ffdshow)

@hoborg : are you able to see the streams inside the ffdshow video context menu ?

Have you succeed to download part2?

albain
29th March 2010, 17:47
Have you succeed to download part2?

I am downloading it right now, works fine, thanks

albain
29th March 2010, 18:06
@hoborg : weird, could you post the content of Media Control logfile (first you have to set loglevel to debug from the configuration program)

Thx

hoborg
29th March 2010, 18:17
@hoborg : weird, could you post the content of Media Control logfile (first you have to set loglevel to debug from the configuration program)

Thx

sorry, i am not using WMC or Media Control...

rsd78
29th March 2010, 18:19
@hoborg : weird, could you post the content of Media Control logfile (first you have to set loglevel to debug from the configuration program)

Thx

Albain, could Hoborg be seeing the same issues I had using the mpc splitter and no enumeration of individual audio/sub streams?

I also could see the streams listed under the ffdshow properties, but not via 6.04 Media Control using mpc splitter and ffdshow dxva. Again, everything works fine if ffdshow regular is being used and not dxva.

EDIT: Let me know if you want logs, since I'm using Media Control and Hoborg is not. But ffdshow dxva + mpc-splitter seem to be in common between our two cases.

albain
29th March 2010, 18:45
Yes I am interested in such logs.

Actually I was referring to this problem but I mixed up the issues.

About Hoborg issue, I should be able to reproduce it on my own

rsd78
29th March 2010, 20:56
Yes I am interested in such logs.

Actually I was referring to this problem but I mixed up the issues.

About Hoborg issue, I should be able to reproduce it on my own

Ok I will get those to you tonight

EDIT: Attached is a log file. I tested a few things.
1. Used ffdshow dxva + mpc-splitter. Pressed blue button to get to menu but it failed to find individual sub streams.
2. Used ffdshow + mpc-splitter. Pressed blue button to get to menu but it failed to find individual sub streams.
3. Still using ffdshow + mpc-splitter but resumed the same file and this time it found subtitle streams automatically (i.e. the context menu popped up while previously it did not) as well as going through the menu.

All tests done using same mkv with several embedded subtitles.

baribal
29th March 2010, 23:09
Guys, just wanted to know if someone has kmplayer + ffdshow dxva working? I have last version of kmplayer and 3336 x86 version of ffdshow from the xvidvideo.ru site. I have also tried earlier ffdshow versions. The problem is kmplayer always using ffdshow video decoder instead of ffdshow dxva video decoder. I decrease ffdshow video decoder merit and increase ffdshow dxva video decoder merit as high as possible. I also turned on in ffdshow video decoder ffmpeg-mt for H264/AVC. Nothing helped. :( And of course i turned on H264 and VC1 in hardware acceleration DXVA options in ffdshow DXVA video decoder, EVR renderer in player, win7 x64 OS. MPC HC working like a charm with ffdshow dxva video decoder. Could someone help me to resolve the issue? Thanks in advance.

onomatopellan
29th March 2010, 23:24
Guys, just wanted to know if someone has kmplayer + ffdshow dxva working? I have last version of kmplayer and 3336 x86 version of ffdshow from the xvidvideo.ru site. I have also tried earlier ffdshow versions. The problem is kmplayer always using ffdshow video decoder instead of ffdshow dxva video decoder. I put ffdshow video decoder merit low and ffdshow dxva video decoder merit as high as possible. I also turned on in ffdshow video decoder ffmpeg-mt for H264/AVC. Nothing helped. :( And of course i turned on H264 and VC1 in hardware acceleration DXVA options in ffdshow DXVA video decoder. MPC HC working like a charm with ffdshow dxva video decoder. Could someone help me to resolve my issue? Thanks in advance.
It doens't work with TheKMPlayer. You can try PotPlayer (from the same author), it works but the player crash when you close it.

Casshern
30th March 2010, 00:17
@Casshern : please copy/paste the debugview logs (check "send strings to debugger" in ffdshow)

@hoborg : are you able to see the streams inside the ffdshow video context menu ?
Here is the debug run. The v3336 just does not pass the dts core to sp/dif. It is as if is just does not recognize that there is a dts core. It works with older versions - and with the mpc-hc inbuilt dts decoder. The strange thing is that other titles work!


[1484] Loading modified build of detours library designed for MPC-HC player (http://sourceforge.net/projects/mpc-hc/)
[1484] TffdshowBase::Constructor
[1484] TffdshowDecAudio::Constructor
[1484] Join filter graph
[1484] Removed from filter graph
[1484] Join filter graph
[1484] TffdshowDecAudio::CheckConnect (input)
[1484] TffdshowDecAudio::CheckInputType
[1484] TffdshowDecAudio::getCodecId
[1484] TffdshowDecAudio::getCodecId: codecId=dts (107)
[1484] TinputPin::SetMediaType
[1484] TffdshowDecAudioInputPin::initAudio
[1484] TffdshowDecAudio::getCodecId
[1484] TffdshowDecAudio::getCodecId: codecId=dts (107)
[1484] initPreset
[1484] TffdshowDecAudio::getOutsf PCM 1
[1484] TffdshowBase::Constructor
[1484] TffdshowDecAudio::Constructor
[1484] Join filter graph
[1484] Removed from filter graph
[1484] Join filter graph
[1484] Removed from filter graph
[1484] TffdshowDecAudio::getOutsf PCM 1
[1484] TffdshowDecAudio::CheckConnect (output)
[1484] initPreset
[1484] TffdshowDecAudio::getOutsf PCM 1
[1484] TffdshowDecAudio::CheckTransform From :
[1484] Media Type Structure
[1484] Format type : FORMAT_WaveFormatEx
[1484] Sub type : MEDIASUBTYPE_DTS
[1484]
[1484] WAVEFORMATEX :
[1484] wFormatTag : DTS wave
[1484] Channels : 6
[1484] Bits per sample : 0
[1484] Samples per second : 48000
[1484] nBlockAlign : 2012
[1484] nAvgBytesPerSec : 188719
[1484]
[1484] TffdshowDecAudio::CheckTransform To :
[1484] Media Type Structure
[1484] Format type : FORMAT_WaveFormatEx
[1484] Sub type : MEDIASUBTYPE_PCM
[1484]
[1484] WAVEFORMATEXTENSIBLE :
[1484] subFormat : MEDIASUBTYPE_PCM
[1484]
[1484] wSamplesPerBlock : 16
[1484] Valid bits per sample : 16
[1484] dwChannelMask : 63
[1484]
[1484] WAVEFORMATEX :
[1484] wFormatTag : WAVE_FORMAT_EXTENSIBLE
[1484] Channels : 6
[1484] Bits per sample : 16
[1484] Samples per second : 48000
[1484] nBlockAlign : 12
[1484] nAvgBytesPerSec : 576000
[1484]
[1484] TffdshowDecAudio::CheckInputType
[1484] TffdshowDecAudio::getCodecId
[1484] TffdshowDecAudio::getCodecId: codecId=dts (107)
[1484] TffdshowDecAudio::getOutsf PCM 1
[1484] TffdshowDecAudio::CheckTransform To generated by FFDShow :
[1484] Media Type Structure
[1484] Format type : FORMAT_WaveFormatEx
[1484] Sub type : MEDIASUBTYPE_PCM
[1484]
[1484] WAVEFORMATEXTENSIBLE :
[1484] subFormat : MEDIASUBTYPE_PCM
[1484]
[1484] wSamplesPerBlock : 16
[1484] Valid bits per sample : 16
[1484] dwChannelMask : 63
[1484]
[1484] WAVEFORMATEX :
[1484] wFormatTag : WAVE_FORMAT_EXTENSIBLE
[1484] Channels : 6
[1484] Bits per sample : 16
[1484] Samples per second : 48000
[1484] nBlockAlign : 12
[1484] nAvgBytesPerSec : 576000
[1484]
[1484] TffdshowDecAudio::CheckTransform result 0
[1984] TffdshowBase::Constructor
[1984] TffdshowDecVideo::Constructor
[1984] TffdshowDecVideoOutputPin::Constructor
[1984] TffdshowDecVideoDXVA constructor
[1984] TffdshowDecVideo::Destructor
[1984] TffdshowDecVideoOutputPin::Destructor
[1984] TffdshowBase::Constructor
[1984] TffdshowDecVideo::Constructor
[1984] TffdshowDecVideoOutputPin::Constructor
[1984] Join filter graph
[1984] TffdshowVideoInputPin::ReceiveConnection

zummi
30th March 2010, 08:58
Hi there,

I too are having some trouble with MediaControl and ffdshow DXVA. In short, with DXVA enabled I can't switch audio streams or subtitles by using MediaControl. MediaControl detects and displays all streams and subs, but nothing happens when i click them. I can still right-click the ffdshow tray icon and switch.

This only happens when I use DXVA. With "regular" ffdshow MediaControl works as intended.

running x64 and MPC-HC splitter (haali gives me DTS-HD bitstreaming issues), MediaControl 6.0.4 x64 and the latest x64 ffdshow from xvidvideo.ru (build 3336). Any ideas...?

LigH
30th March 2010, 11:35
ffdshow_rev3337_20100329_sse_icl11 from xvidvideo.ru flickers while decoding AVC. It looks like the deblocking at edges does not work correctly and differently for most frames. Happens with both libavcodec and ffmpeg-mt decoder.

ffdshow_rev3304_20100304_sse_icl11 does not show this effect.

Look at the following images (they are carefully web-optimized JPEGs, compression doesn't harm the effect too much), especially compare the borders around the cyan color bar, the near-bottom left blue field and the bottom-center dark blue field.

http://www.ligh.de/pics/ffdshow/50p_Frame0000.jpg
http://www.ligh.de/pics/ffdshow/50p_Frame0001.jpg
http://www.ligh.de/pics/ffdshow/50p_Frame0012.jpg
http://www.ligh.de/pics/ffdshow/50p_Frame0025.jpg
http://www.ligh.de/pics/ffdshow/50p_Frame0026.jpg

The MP4 file contains all relevant details about the x264 encoding.

http://www.ligh.de/pics/ffdshow/50p.mp4 (160 KB).

rsd78
30th March 2010, 12:27
Hi there,

I too are having some trouble with MediaControl and ffdshow DXVA. In short, with DXVA enabled I can't switch audio streams or subtitles by using MediaControl. MediaControl detects and displays all streams and subs, but nothing happens when i click them. I can still right-click the ffdshow tray icon and switch.

This only happens when I use DXVA. With "regular" ffdshow MediaControl works as intended.

running x64 and MPC-HC splitter (haali gives me DTS-HD bitstreaming issues), MediaControl 6.0.4 x64 and the latest x64 ffdshow from xvidvideo.ru (build 3336). Any ideas...?

Check the Keys/Input section in ffdshow dxva and make sure it matches regular ffdshow. I don't think Media Control's configuration command affects dxva yet. Basically this was my issue, because the remote control settings weren't configured properly.

zummi
30th March 2010, 13:11
Oh crap...i'm so stupuid i shouldn't be allowed to live. Well, thanks a lot, mate :-)

Ah, just one question...is there a way to set prefered stream/sub languages either in MediaControl or the MPC-HC splitter - like you can in Haali?

albain
30th March 2010, 18:49
Yes, I have to fix this

@Ikarad : here is a test build with better management of bluray subtitltes
Thanks to supread author I was able to do a better implementation.
Issue #3 may not be fixed yet (I haven't tested it)

http://damienbt.free.fr/ffdshow_rev3336_20100327_dbt_newlibs_beta9.exe

ikarad
30th March 2010, 20:11
Yes, I have to fix this

@Ikarad : here is a test build with better management of bluray subtitltes
Thanks to supread author I was able to do a better implementation.
Issue #3 may not be fixed yet (I haven't tested it)

http://damienbt.free.fr/ffdshow_rev3336_20100327_dbt_newlibs_beta9.exe

I try and it crash many times with rgb32 output.
When it works subs are not displayed. In the first 35 secondes the only sub displayed is "abandon ship" at 29 second.

I can't test if the problem that I speak before are corrected
With 3326 and rgb32 output I find several problems with blu rays subtitles (I can't test with YUY2 because It crash).
1)first problem: some subs are cut (Same problem with 3306 and other ffdshow version untill 3326)
For example there is this sub at 8min33
"Your back is heavy as I catch up to you"

http://nsa14.casimages.com/img/2010/03/21/mini_100321091909495937.png (http://www.casimages.com/img.php?i=100321091909495937.png)
In the video the "you" is cut
http://nsa15.casimages.com/img/2010/03/21/mini_100321092046662446.jpg (http://www.casimages.com/img.php?i=100321092046662446.jpg)

Same problem with this sub at 8min46
in the video
The original sub is

http://nsa14.casimages.com/img/2010/03/21/mini_100321092808826318.png (http://www.casimages.com/img.php?i=100321092808826318.png)

2) second problemThere is some problems with the time of displaying of subtitles.
For example in this video (that I also give you) The first sub :


is well displayed.
Although the second sub:
http://nsa14.casimages.com/img/2010/03/21/mini_100321090446191729.png (http://www.casimages.com/img.php?i=100321090446191729.png)

is displayed and is removed immediately. There is no time to read it and it's not normal.

Same problem with this sub

In the movie it disappeared at 00:08:41 and not at 00:08:44,272

There many other examples in the sample that I give you.

3) Third problem: If I use resize function (lanczos) of ffdshow: the display of subs is very very bad. All subs are displayed in the high left corner instead of the middle of screen and many subs are cut. Sound is cut at some moments.

DMD
30th March 2010, 21:10
ffdshow is coupled with other applications except PowerDVD, then
launching PowerDVD because I see this message?

http://www.allfreeportal.com/imghost2/images/159821Sccreenshot 001.png (http://allfreeportal.com)

http://www.allfreeportal.com/imghost2/images/102569Sccreenshot 002.png (http://allfreeportal.com)


THANKS

clsid
30th March 2010, 22:20
I shall add powerdvd10.exe to the default blacklist.

Choose "Don't use ffdshow (always)".

STaRGaZeR
30th March 2010, 23:10
Hi, Can you provide a sample ?
Thanks,
Seb.

Sure: http://www.mediafire.com/?jmyyddtm0mi (153MB)

It'll start with the AC3 track if you use Haali. With r3334 and previous you can change to the THD track and hear it perfectly fine, but if you change back to AC3 you will get silence. After r3334 if you change to the THD track you'll get silence, but if you change back to the AC3 track you'll hear it. Tested with r3338.

Sebastiii
31st March 2010, 07:22
Thanks, i'll try this evening :)
Did you test only with haali ?
Cheers,
Seb.

DMD
31st March 2010, 08:01
I shall add powerdvd10.exe to the default blacklist.

Choose "Don't use ffdshow (always)".
Thanks!

I activated the list does not use

http://www.allfreeportal.com/imghost2/images/790886Sccreenshot 003.png (http://allfreeportal.com)

albain
31st March 2010, 11:51
@Ikarad
@Stargazer

I have finally fixed this blackscreen problem with new ffmpeg libraries. The CPU optimizations weren't correctly taken into account and could cause weird issues (such as this one)

This build (http://www.mediafire.com/file/juf01drmly4/ffdshow_rev3342_20100331_dbt_newlibs_beta10.exe) fixes it and fixes also the stability problems with bluray subs

Casshern
31st March 2010, 13:06
@Ikarad
@Stargazer

I have finally fixed this blackscreen problem with new ffmpeg libraries. The CPU optimizations weren't correctly taken into account and could cause weird issues (such as this one)

This build (http://www.mediafire.com/file/juf01drmly4/ffdshow_rev3342_20100331_dbt_newlibs_beta10.exe) fixes it and fixes also the stability problems with bluray subs

Any news on the recently introduced bug that ffdshow only picks up the DTS core when files are played from the begining? If you directly seek and start playback in the middle ffdshow only decodes the DTS HD stream.

LigH
31st March 2010, 14:11
@ albain:

Does this also affect the issues mentioned in #11222 (http://forum.doom9.org/showpost.php?p=1387394&postcount=11222)?

clsid
31st March 2010, 14:21
@LigH
I don't see those artifacts with the generic build. Could you test that?

Sebastiii
31st March 2010, 14:47
@Ikarad
@Stargazer

I have finally fixed this blackscreen problem with new ffmpeg libraries. The CPU optimizations weren't correctly taken into account and could cause weird issues (such as this one)

This build (http://www.mediafire.com/file/juf01drmly4/ffdshow_rev3342_20100331_dbt_newlibs_beta10.exe) fixes it and fixes also the stability problems with bluray subs

Hi,

The file is corrupt on my side ? i have down twice.
And you ?
Thx :)
Seb.

fastplayer
31st March 2010, 15:01
Hi,

The file is corrupt on my side ? i have down twice.
And you ?
Thx :)
Seb.
Alternative download link (http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca95e79d7d0540e1e1)

ikarad
31st March 2010, 15:57
@Ikarad
@Stargazer

I have finally fixed this blackscreen problem with new ffmpeg libraries. The CPU optimizations weren't correctly taken into account and could cause weird issues (such as this one)

This build (http://www.mediafire.com/file/juf01drmly4/ffdshow_rev3342_20100331_dbt_newlibs_beta10.exe) fixes it and fixes also the stability problems with bluray subs

I have no crash now with rgb32 output but with YUY2 there is crash like with other versions

But I have the same bug with 3336: many subs are not displayed. For example in the first 35 secondes the only sub displayed is "abandon ship" at 29 second. With 3326 there wasn't this problem.

Atak_Snajpera
31st March 2010, 18:15
I think it is time to get rid of some useless algos under Deinterlace section

http://img714.imageshack.us/img714/4338/new1f.png

Screenshots -> http://www.mediafire.com/file/zhm3itwym2n/deinterlaced_pictures.7z

You will see that most of them provide poor quality. The best in my opinion is TomsMoComp + Vertical . However it does not deinterlace to full frame rate. Second would be Yadif.

albain
31st March 2010, 18:16
I have no crash now with rgb32 output but with YUY2 there is crash like with other versions

But I have the same bug with 3336: many subs are not displayed. For example in the first 35 secondes the only sub displayed is "abandon ship" at 29 second. With 3326 there wasn't this problem.

Ok for yuy2 but I think that the behaviour is correct in rev 3336

I know that rev 3326 displayed the first subs but it did not respect the PGS format

In the new revision I have to wait for the next subtitle to know if the current one is really finished to parse which explains why you can't see it during the first seconds of the video. But after the first subs it should be fine

Also note that the MPC splitter is buggy and does not detect the PGS streams early enough. But once the stream is detected and you have selected it, you can go back to the beginning of the video and the first subs should be displayed

Maybe this new behaviour could be improved but I would like to confirm first that the implementation is correct (YUY2 colorspace apart)

Any news on the recently introduced bug that ffdshow only picks up the DTS core when files are played from the begining? If you directly seek and start playback in the middle ffdshow only decodes the DTS HD stream.

I'll take a look on it tomorrow. Don't hesitate to remind me it if I forget

STaRGaZeR
31st March 2010, 19:11
Thanks, i'll try this evening :)
Did you test only with haali ?
Cheers,
Seb.

Gabest MKV splitter has always worked fine, but not really an option for me because it doesn't have an internal stream switcher and I need the splitter to honor the default track flags present in my MKVs :p. Keep in mind that with Gabest's all the tracks are sent at the same time to ffdshow and then you choose which one you want with the stream switcher, so it doesn't have to check for changes in a single stream, that's why it works while Haali doesn't.

@Ikarad
@Stargazer

I have finally fixed this blackscreen problem with new ffmpeg libraries. The CPU optimizations weren't correctly taken into account and could cause weird issues (such as this one)

This build (http://www.mediafire.com/file/juf01drmly4/ffdshow_rev3342_20100331_dbt_newlibs_beta10.exe) fixes it and fixes also the stability problems with bluray subs

As Sebastii says the file seems to be corrupted. Can't wait to test it.

Alternative download link (http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca95e79d7d0540e1e1)

Those are SVN builds only.

clsid
31st March 2010, 19:19
Please also test the latest version of Haali splitter if you haven't already. It supposedly has less problems with FF and RW.

ikarad
31st March 2010, 19:36
In the new revision I have to wait for the next subtitle to know if the current one is really finished to parse which explains why you can't see it during the first seconds of the video. But after the first subs it should be fine

Also note that the MPC splitter is buggy and does not detect the PGS streams early enough. But once the stream is detected and you have selected it, you can go back to the beginning of the video and the first subs should be displayed




I tried and it doens't work. With 3326 it works but not with 3336 and 3342.

Even if I go back to the beginning of the video, subs are not displayed except the first sub 1
00:00:09,050 --> 00:00:12,720
'"2015 A.D. Perseus Arm, Milky Way Galaxy
(12,000 arsecs from Earth)'"

and
7
00:00:28,570 --> 00:00:30,237
Abandon ship!

for the first 35 seconds. All the others subs are not displayed.
I try untill 2 minutes and the only subs displayed are the first and abandon ship. The others are not displayed

I try at 8 minutes and there is the same problem. Some subs are displayed and some are not displayed.
With 3326 there wasn't this problem.

I try with mpc hc 1613 or 1771 and there is the same problem. I try with vmr9renderless or evrcustom and there is the same problem.

I can't make a video to show this problem because fraps doesn't work with mpc-hc since many months

albain
31st March 2010, 19:55
Ok I have not paid attention enough.

I'll work on it tomorrow

albain
1st April 2010, 12:33
Here is a new build (http://damienbt.free.fr/ffdshow_rev3343_20100401_dbt_newlibs_beta11.exe)

Fixes :

Bluray subtitles fixes : now all are displayed
Stability fixes on bluray subtitles
Crashes fixed when using YUY2 colorspace with subtitles (this is a workaround inside ffmpeg but Tspuimage should not rescale picture plane by plane but all the planes at the same time)
New ffmpeg libraries inside (libswscale and libpostproc)

clsid
1st April 2010, 14:49
Albain, while you're working on the subtitle part, I have some suggestions to make the options a bit more user-friendly:

1) Move positioning/alignment/letterbox/stereoscopic options to a new subpage called "Positioning".
2) Move all checkboxes for enabling formats to the top of the main subtitles page. Move all remaining options on that page down a bit to make room at the top.
So there will be three checkboxes for enabling the various subtitle formats: Text-based, Closed Captions, PGS & VobSub. Plus "SSA/ASS" which is a child of Text-based. Plus "accept embedded" which applies to all.
Afaik it is currently not yet possible to disable handling of Text-based subs, while keeping for example PGS enabled. But I think that could be useful.
Perhaps PGS and VobSub could also be splitted into two format checkboxes?

ikarad
1st April 2010, 17:07
Here is a new build (http://damienbt.free.fr/ffdshow_rev3343_20100401_dbt_newlibs_beta11.exe)

Fixes :

Bluray subtitles fixes : now all are displayed
Stability fixes on bluray subtitles
Crashes fixed when using YUY2 colorspace with subtitles (this is a workaround inside ffmpeg but Tspuimage should not rescale picture plane by plane but all the planes at the same time)
New ffmpeg libraries inside (libswscale and libpostproc)


I try With YUY2 there is no crash thanks.
There is an improvement for displaying of subs but the same problem still exists.
There is more subs displayed with 3343 but not all subs are displayed like with 3326.
For example during the first 35 seconds these subs are displayed
1
00:00:09,050 --> 00:00:12,720
'"2015 A.D. Perseus Arm, Milky Way Galaxy
(12,000 arsecs from Earth)'"
7
00:00:28,570 --> 00:00:30,237
Abandon ship!

9
00:00:31,406 --> 00:00:32,948
Repeat, abandon ship!


theses subs are not displayed

3
00:00:14,597 --> 00:00:15,723
ETA, 20 seconds!

4
00:00:15,890 --> 00:00:17,975
Full speed evasive maneuvers, on the douvle!

5
00:00:18,059 --> 00:00:19,476
Full speed evasive maneuvers!
8
00:00:30,280 --> 00:00:31,321
We are avandoning ship.
10
00:00:33,241 --> 00:00:34,575
One more!

There is an mprovement because with the other version between 3336 and 3343 only two subs were displayed

1
00:00:09,050 --> 00:00:12,720
'"2015 A.D. Perseus Arm, Milky Way Galaxy
(12,000 arsecs from Earth)'"
7
00:00:28,570 --> 00:00:30,237
Abandon ship!

STaRGaZeR
1st April 2010, 17:56
Here is a new build (http://damienbt.free.fr/ffdshow_rev3343_20100401_dbt_newlibs_beta11.exe)

Fixes :

Bluray subtitles fixes : now all are displayed
Stability fixes on bluray subtitles
Crashes fixed when using YUY2 colorspace with subtitles (this is a workaround inside ffmpeg but Tspuimage should not rescale picture plane by plane but all the planes at the same time)
New ffmpeg libraries inside (libswscale and libpostproc)


I'm happy to announce that all these issues have been fixed:

RGB32:

- Luminance fix in picture properties, black screen. But wait, if you enable deband and you place it after picture properties everything is fine! The filter works and the image is not black. Maybe this can help you with debugging.
- Deinterlacing, same as luminance fix, it works perfectly fine but only if you put it before deband and you activate it, otherwise black screen with ffmpeg deints.
- Postprocessing with mplayer checked, I get black screen. Again if I activate deband after PP it works perfectly fine.
- mplayer temporal noise reducer in Blur, same as above, with deband after it it works fine.

YUY2:

With SD content, exact same issues as RGB32, but changing the black screens with the double speed but same number of frames issue I reported earlier. With HD content, exact same issues as RGB32 but changing the black screens with stuttering. Activating deband after the filters fixes the double speed and the stuttering.


Bugs that are still in there:

- NV12 output: black screen.
- White shadow in DVD subs.

Great work!

FredThompson
1st April 2010, 18:15
EDIT2: Another note/bug with MC. From your front page the Download button goes to an error page (not found). I had to download it manually through Sourceforge. Also on Sourgeforge the current version listed is 6.02, I had to go to show all files to get to 6.04.That's common with SourceForge. It's automatically generated but periodically, not interrupt-driven.

onomatopellan
1st April 2010, 18:55
With latest build the line of pixels problem (http://i45.tinypic.com/2iizvkk.png) is almost fixed. Now sometimes appear a vertical line at the end of the subs.
http://i42.tinypic.com/5lbdow.png

It seems pretty stable with RGB32 output though, great work!