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

DeathTheSheep
30th July 2007, 23:45
Found a rather crass bug when I try to enter a negative (which you are supposed to do, by the way):
http://gabe.ej.am/invalid.PNG

;)

squid_80
31st July 2007, 00:00
Found a rather crass bug when I try to enter a negative (which you are supposed to do, by the way):
;)
How is that valid? You'd end up with a negative quantizer.

zambelli
31st July 2007, 00:52
It's difficult. Applications may hook video renderer. So the stability of queueing may depend on applications. I cannot test thousands of DirectShow applications.
Does queueing only get used when rendering to screen? Would a graph without a renderer have any advantage from sample queueing?

Queueing also depends on the implementation of video drivers. It is effective on G400. It works with most of nvidia cards. It has known compatibility issue with some of the ATI's video cards. I cannot buy many video cards and if I could, I won't be able to fix such compatibility issues.
Can you elaborate on what exactly queueing does and how it's related to the video driver? Thanks!

DeathTheSheep
31st July 2007, 01:15
Not necessarily true, and that goes for the offset value below it, as well. It is -0.8 by default, but once you try to change it or erase the negative sign, all trouble begins. The I multiplier, for instance, is set to -.8 by default but the field disallows negative numbers?!

The feature beneath it, I offset, is the additive offset by which the current chosen quantizer is reduced in order to allocate better quality (higher bitrate) to the I-frames. Thus, a negative offset is required to adjust keyframe quality relative to P/B frames.

thuan
31st July 2007, 08:57
Opening a video with embedded subtitle (I have only tested ass or ssa embedded subs) then pause for a long time and later resume some times the player will crash when encountering the next sub line. After that opening the file that crashed will result in crashing every time there's a sub line appearing (nothing appears really it crashes before), restart fix it.
Zoom Player 5.00 with ffdshow_rev1381_20070729_clsid_sse_icl10 internal sub filter, output colorspace is YV12, CPU: Core 2 Duo, XPSP2.

clsid
31st July 2007, 12:59
I like having only 1 FFDShow Audio tray icon ^_^ but most importantly it seems that when the Audio Switcher is off, both streams are decoded although one of them isn't used so it's wasted CPU. With Audio Switcher On i think only the selected stream is decoded?
Thanks for your interest in this guys!
Later,

TSR

edit: in ZP's graph, i can see 2 "Default Directsound Output device" to render both streams when Audio Switcher is OFF. When On, only 1 "Default Directsound Output device", the graph is cleaner too! ;)
OK, so basically ZoomPlayer just has a crappy switcher.

If you use MPC or Haali's splitter, then you also will only have just 1 active audio stream in the graph.

TheShadowRunner
1st August 2007, 05:13
Hmm possibly. Still it would be great to have a Preferred Language selection feature, similar to the one there is for Subtitles > Vobsub in the FFDShow Video codec.

Besides, there is a lot of empty space on the current Stream Switcher page at the moment, don't you think? ;)

See you,

TSR

thuan
1st August 2007, 06:21
I like having only 1 FFDShow Audio tray icon ^_^ but most importantly it seems that when the Audio Switcher is off, both streams are decoded although one of them isn't used so it's wasted CPU. With Audio Switcher On i think only the selected stream is decoded?
Thanks for your interest in this guys!
Later,

TSR

edit: in ZP's graph, i can see 2 "Default Directsound Output device" to render both streams when Audio Switcher is OFF. When On, only 1 "Default Directsound Output device", the graph is cleaner too! ;)

This is not true, even with 2 or more audio filters in ZP graph only one is active at a time (only one is fed with audio data), the others don't do any decoding (check its properties).
I don't understand why you don't use Haali splitter either. It works ok for any mkv and ogm files I throw at it.

But then again, a language priority system in ffdshow audio switcher is nice for ppl use it, I don't think many use it though.

haruhiko_yamagata
1st August 2007, 10:43
Hi All, here is a little request for the FFDShow Audio decoder.
I enabled the Stream Switcher feature and for movie files such as .MKV that contain 2 audio streams, for exemple Japanese & English, I would like FFDShow Audio to automatically select the Japanese stream upon playing the file.
Thanks, good idea. But it's low priority for me.
Of course, it is great if anybody does it.

haruhiko_yamagata
1st August 2007, 10:47
Does queueing only get used when rendering to screen? Would a graph without a renderer have any advantage from sample queueing?
If there is no video renderer in the graph, queueing does not work.
Can you elaborate on what exactly queueing does and how it's related to the video driver? Thanks!I'll write queue.htm in the future. Please wait.

haruhiko_yamagata
1st August 2007, 11:11
Opening a video with embedded subtitle (I have only tested ass or ssa embedded subs) then pause for a long time and later resume some times the player will crash when encountering the next sub line. After that opening the file that crashed will result in crashing every time there's a sub line appearing (nothing appears really it crashes before), restart fix it.
Zoom Player 5.00 with ffdshow_rev1381_20070729_clsid_sse_icl10 internal sub filter, output colorspace is YV12, CPU: Core 2 Duo, XPSP2.
Thanks, but I can't reproduce. Is it same with MPC?
Zoom player does not show subtitle at all if I enable "Smart Play".
If it is sample specific, please send me the sample.

Daedalus01
1st August 2007, 13:35
hi

ffdshow audio decoder is extremely useful because i can add audio delay to offset the out of sync audio of some dvd encodes. however, for one particular movie (pirates of the caribbean 1) the delay seems to be longer than 5000ms, which is the maximum ffdshow allows.

does anyone know how to add delay that is longer than 5000ms?

thanks

HeadBangeR77
1st August 2007, 14:22
hi

ffdshow audio decoder is extremely useful because i can add audio delay to offset the out of sync audio of some dvd encodes. however, for one particular movie (pirates of the caribbean 1) the delay seems to be longer than 5000ms, which is the maximum ffdshow allows.

does anyone know how to add delay that is longer than 5000ms?

thanks
In such a case it's got nothing to do with ffdshow.
Just recreate the file using VDubMod, AVIMux GUI, MKVmerge or MP4 Box, depending on the container, and add an appropriate delay to the audio track before interleaving it with the video.

@ ffdshow crew:
I've encountered a problem concerning letterboxing and subtitles recently. I always like to have the subtitles displayed under the main film area, so I add 16:9 letterboxing for 1:2.35/1.240 widescreen films and 4:3 letterboxing for 16:9 films. In the latter case ffdshow doesn't just add black bars beneath and above, but also at the sides, so when I switch to full screen a part of the film is pan scanned, including some longer subtitles lines. Usually it's just one letter or even a halve of it but it's annoying nevertheless.
MPC build from May + ffdshow rev. 1358 ICL9 by clsid.

Can anyone reproduce such a behaviour?

thuan
2nd August 2007, 01:47
I haven't used MPC for a long time. I will check with it later. I don't use "Smart Play" in ZP as my computer is pretty much 3rd party filter clean. It's not really sample specific but all of them are anime in H264 720p with subs (like Dennou Coil from Ureshii, Hayate no Gotoku from Eclipse...). And even with that, it's tricky to reproduced, I just open a video then let it pause there doing other things then return, some times it crashes some times not.

Daedalus01
2nd August 2007, 02:23
In such a case it's got nothing to do with ffdshow.
Just recreate the file using VDubMod, AVIMux GUI, MKVmerge or MP4 Box, depending on the container, and add an appropriate delay to the audio track before interleaving it with the video.



thats wat i finally did, but if ffdshow lets me add audio delay >5000ms i dont have to go through a remux

haruhiko_yamagata
2nd August 2007, 11:13
@ ffdshow crew:
I've encountered a problem concerning letterboxing and subtitles recently. I always like to have the subtitles displayed under the main film area, so I add 16:9 letterboxing for 1:2.35/1.240 widescreen films and 4:3 letterboxing for 16:9 films. In the latter case ffdshow doesn't just add black bars beneath and above, but also at the sides, so when I switch to full screen a part of the film is pan scanned, including some longer subtitles lines. Usually it's just one letter or even a halve of it but it's annoying nevertheless.
MPC build from May + ffdshow rev. 1358 ICL9 by clsid.

Can anyone reproduce such a behaviour?Thank you for testing. I found some problems around subtitle letterbox. I'm trying to fix them.

HeadBangeR77
2nd August 2007, 17:42
Thank you for testing. I found some problems around subtitle letterbox. I'm trying to fix them.

Thank your for the quick reaction! You've already done whole lot of good work on the field of improving the subtitles part of ffdshow :)
Looking forward to next patches & fixes ;)

cheers /HDBR77

oddball
2nd August 2007, 17:43
libavcodec is too darned slow.

Is anyone working on making the decoder faster? I have a (W)VC1 at 1920x1080 and libavc decoding lags behind the audio. If I disable it in ffdshow and let WMP11's codec take over it plays fine. Also some full HD x264 stuff plays slow using libavc.

I have an E6600 which SHOULD be enough? I'm thinking about overclocking it to 3Ghz in order to playback some of this stuff smoothly at least until CoreAVC 1.5 is out.

Also. Is anyone working on hyperthreading the ffdshow decoder?

One more thing. High bitrate DTS is still a BIG problem with ffdshow using SPDIF passthru. It stutters like crazy. I have to disable ffdshow's DTS decoder and let AC3Filter decode it instead.

_xxl
2nd August 2007, 18:17
Known limitations:
4.H264 and VC-1 libavc aren't multithreaded.
5.High bitrate DTS stutters when using SPDIF passthru.

scarbrtj
3rd August 2007, 06:32
FWIW, my (ffdshow) observation as it relates to VC-1:

1) WMP 11 only: no playback
2) WMP 11 + Haali: playback but with really bad artifacts/colors in particular parts
3) WMP 11 + Haali + ffdshow (wmv9): mostly good playback but bad "stuttering" in some portions of playback (spotty)...but good on CPU usage (~30%, both cores)
4) WMP 11 + Haali + ffdshow (libavcodec): mostly good playback but bad "stuttering" in some portions of playback (spotty)...CPU usage ~0% one core, 80-100% other core...and yes, audio goes out of sync

_xxl
3rd August 2007, 08:56
WMP 11 + Haali:
Is your sample .evob?

scarbrtj
3rd August 2007, 14:21
@_xxl:

Nope. Files from Bluray discs; I would call them VC-1 .m2ts files. I have tried .evob files too; same sort of "problems" you might say. (Right now I'm perseverating on the .m2ts files though.)

haruhiko_yamagata
4th August 2007, 04:08
hi

ffdshow audio decoder is extremely useful because i can add audio delay to offset the out of sync audio of some dvd encodes. however, for one particular movie (pirates of the caribbean 1) the delay seems to be longer than 5000ms, which is the maximum ffdshow allows.

does anyone know how to add delay that is longer than 5000ms?

thanksI'm not sure if it is good idea to add such long delay, but anyway, I changed the upper limit from 5000ms to 20000ms at rev 1399.

haruhiko_yamagata
4th August 2007, 04:10
Found a rather crass bug when I try to enter a negative (which you are supposed to do, by the way):
fixed at rev 1398.:thanks:

molitar
4th August 2007, 09:04
Help with keyboard controls. I enabled them but none of the keyboard commands work at all. Any idea what is wrong?

Leak
4th August 2007, 10:31
Help with keyboard controls. I enabled them but none of the keyboard commands work at all. Any idea what is wrong?
You need to hold down both keys you defined as "Activation keys" together with any of the other function keys.

If that doesn't work, try checking "Process keypresses even if not focused" which will make the hotkeys system-wide, which means they should work even if you're using some other app.

np: Anthony Rother - Brainshaker (Super Space Model)

molitar
4th August 2007, 15:13
You need to hold down both keys you defined as "Activation keys" together with any of the other function keys.

If that doesn't work, try checking "Process keypresses even if not focused" which will make the hotkeys system-wide, which means they should work even if you're using some other app.

np: Anthony Rother - Brainshaker (Super Space Model)

Thanks Leak looked all over but didn't see any reference that you had to use 3 keys.

molitar
4th August 2007, 19:08
hello I am using a remote control software called UICE and it is very stable and easier to use than Girder and way cheaper.. Only $20 for it. Problem is that I have not had any luck with getting it to work with the ffdshow remote api. Could you please look at this software and see if you can figure out how to make it work with ffdshow? The download for the 30 day trial can be found here. (http://www.mediatexx.com/download/index.htm)

multiblitz
6th August 2007, 18:47
one quick question to the avisynth-professionals here: Currently I cant's use ffdshow for playback of hd-dvd as it does not get the 24fps-speed right, works only with 30fps, so video and audio are heavily out of sync. Is there a way to use avisynth to force ffdshow to play it with the right speed ? Would be great as I like to us some postprosseing even with hd-dvd...

THX for your patience & forgive me that ths a bit off-topic, but it sounds to me that here are all the experts who might have a solution...

multiblitz
6th August 2007, 18:50
On the VC-1.Issue. I believe we have still the bug in both, the haali-splitter and ffdshow: HD_DVD is played back at 30fps instead of 24fps und so video and audio is heavily out of sync, which is a pitty. OUr has anyone found a solution to that yet ?

foxyshadis
6th August 2007, 19:26
I understand that this thread is about encoding, but one quick question to the avisynth-professionals here: Currently I cant's use ffdshow for playback of hd-dvd as it does not get the 24fps-speed right, works only with 30fps, so video and audio are heavily out of sync. Is there a way to use avisynth to force ffdshow to play it with the right speed ? Would be great as I like to us some postprosseing even with hd-dvd...

This would be a better place to ask such a question. You can always try prefacing your avisynth script with AssumeFPS(24) or 23.976.

HeadBangeR77
6th August 2007, 21:21
Subtitles letterboxing works without problems here (have checked the same films that had used to cause problems). I like the new blurring function of subs, works flawlessly in YUY2 also, not only RGB.
Thanks a bunch for all the improvements (rev. 1406 by clsid). :)

Keepitsimple
6th August 2007, 21:46
I just wanted to say that you coders do an amazing job. Keep it up!

Leak
6th August 2007, 22:03
I understand that this thread is about encoding[...]
Errr.. what gave you that idea? :confused:

Just saying...

Also, I'm afraid AssumeFPS won't work as the AviSynth filter takes it's timestamps from the input frames and basically ignores any FPS change in the script - you'd have to remove or add frames to actually change the FPS, but that still won't fix your problem, as the overall length stays the same.

I know the old AviSynth filter allowed changing the speed with AssumeFPS, but it simply scaled the timestamps, so if you changed the script in the middle of playback you'd get one long pause (or the decoder running at full tilt and no frames) because there'd either be a big gaping hole in the timestamps, or suddenly the timestamps would be before the previous ones.

And, of course, it didn't allow changing the FPS while keeping the length the same, as is needed for bobbing or IVTCing. That's why I went with simply interpolating between the existing timestamps where needed, which makes sure audio and video stay in sync - in normal cases, of course.

I do think it'd make more sense to fix the VC1 decoder, but that's a bit out of my league...

np: Retina.IT - Tetsub (Semeion)

haruhiko_yamagata
10th August 2007, 09:36
Hi, a small (but important) feature request..

I have widescreen plasma tv with 1024x768 resolution (4:3 pixels), and I like to resize everything to exactly that.

Could you add a simple "display aspect ratio" setting? Like MPC has "Scale to 16:9 TV" etc. I'd much rather do it in ffdshow than having unnecessary resize with display adapter.

It does work manually now by setting "Aspect ratio: Manual: 1.33:1". But if I watch a ~21:9 movie, I have to change it to 1.77:1. It would be much easier to just "Keep original aspect ratio" and "Display aspect ratio: 1.33".

Thanks.
Added at rev 1413 as an option of "Process aspect ratio internally".

jodur
10th August 2007, 09:44
Thank you for this nice program, i use ffdshow already a long time with success.
I now recently own a media center with Vista Home Premium (32 bits).
When I want to playback 1080p HD movies with ffdshow (libavodec) the playback is jerky (Not enough CPU power? Core 2 Duo T5500, NVIDEA G7600), so I decided to use CoreAVC instead of libavodec for HD playback. The playback is now very smooth even with 1080p.
The drawback is however, that ffdshow isn’t showing any subtitles any more. I enabled raw video, so ffdshow is inserted in the graph. When I look in grapedit, I see that Coreavc is used for video decoding and ffdshow is used for displaying subtitles. Playing the file in graphedit also results in a video with subtitles. (so far so good!)

However!!:
Playing the same video file in WMP11 in Vista results in a video, without subtitles!
Playing the same video on my XP machine with WMP11 and the same decoder settings (same graph) results in a video with subtitles.

Conclusion:
It looks like the raw video filter doesn’t work in Vista in conjunction with WMP11 (in grapedit in vista the raw video works, so proper ably in a other player (NON WMP11) it will work also)
WMP11 is a must have for me, because it’s the native player of the MCE shell.

Question:
Is there a change this will be fixed in a newer build from ffdshow. I can’t imagine that I am the the only non native “English speaker” who is having this problem with Vista, CoreAVC and ffdshow subtitles. I remember I saw in some earlier postings in this forum, that people reporting also problems with the raw video in conjunction with the dscaler filter in Vista.

Alternative?:
As alternative I played around with VS-filter (only V2.23 is working well for all formats (DivX,H264 etc.)) for displaying subtitles. But in this case with some video’s the display ratio / (Width/Height) is fucked up by VS-filter. So this isn’t really a alternative.

Does anybody have any clues for this problem??

haruhiko_yamagata
10th August 2007, 11:10
It looks like the raw video filter doesn’t work in Vista in conjunction with WMP11Thank you for the details.
Yes, I know it does not work.
I'll look into it when I have time, but if WMP11 is excluding ffdshow on purpose, it may be difficult to find the way.

Yong
10th August 2007, 22:21
1).operating system = windows xp sp2 home @ celeron 1.2ghz
2).ffdshow r1413 msvc 2003 x86 ansi build
3).ffdshow settings and used filters = queue, resize, subtitles, osd
4).media player = mpc hc 1090
5).output colorspaces = yuy2
6).Haali Media Splitter
7).video renderers = vmr9 windowed
8).video/audio samples = playing any video also show the same problem
9).the osd is showing inconsistent font weight. resize, change some options at osd font will solve the problem.

here is my osd settings:
http://img248.imageshack.us/img248/1481/clipboard01zn8.gif

screenshot:
http://img248.imageshack.us/img248/2441/clipboard01ca2.jpg

2. overlay resize bug
resize mess up output when use overlay mixer.
all settings are same as above, except colorspace is yv12,
resize filer settings are default, except the "multiply by:" field, when the value is 0.1 to 0.9, and 1.1 to 1.9, the output will mess up. sorry cant test above 3 :p

3. h264 grayscale decoding is broken
its ancient bug...
ffdshow h264 grayscale decoding show greenish color instead of grayscale.

Mc Onyx
11th August 2007, 14:16
I'm not sure this was answered before, so i apologize if it was.
The thing is that i'm using Vista and FFDshow audio decoder won't kick in . When i play a movie with MP3 soundtrack, Microsoft's MP3 Audio Decoder DMO takes the decoding, if it's AC3 or DTS some other filter kick's in. But if i enable PCM decoding in AC3 Filter, then FFDShow Audio decoder takes the decoding, but that's not what i want, don't want AC3 Filter postprocessing the stream. There's no problem with the FFDShow Video Decoder! And i checked the merits and have set FFDShow Audio Dec. to highest. Thanks.

:EDIT: Forget it, just figured it out, i had Don't use WAVEFORMATEXTENSIBLE ticked under the output and for some reason that was the culprit!

vlada
11th August 2007, 17:38
I found a possible bug in AviSynth frameserving (AVIS codec).

I'll describe first what I wanted to do: I have a video from Panasonic AVCHD camcorder. It is 1080i PAFF so any libavcodec based tool instantly crashes with it. I wanted to open this file in SONY Vegas. But it is High Profile video and since Vegas supports h.264 through QuickTime, it won't open it. So my last possibility is CoreAVC and frameservering.

The video plays fine using Haali's splitter, CoreAVC for video and ffdshow for audio (AC3), except that the first frame is broken (but this is a minor issue). VD has no problems opening the video through AviSynth with DirectShowSource. Unfortunately Vegas doesn't support AVS. So I used MakeAVIS tool from ffdshow and create a "fake" AVI. Unfortunately this AVI can't be opened in Vegas and instantly crashes VirtualDub. I aslo tried another movie (AVI). With DirectShowSource the result was the same, with AviSource VD didn't crash but displays an error message: VideoSourceAVI Error: The operation is not supported (error code -1) in status bar and shows no video. The fake AVIs play fine through DirectShow, are just vertically flipped. So I believe the problem is somewhere in VfW AVIS codec. I tried ffdshow beta2, beta3 and build 1413 with the same results.

Btw. I use AviSynth 2.58. I'll try it with 2.57 too.

Could someone confirm this or even better fix it?

Edit: Same situation with Avisynth 2.57. Except the "fake" AVI movie isn't upside down when playing through DirectShow.

haruhiko_yamagata
12th August 2007, 13:12
9).the osd is showing inconsistent font weight. resize, change some options at osd font will solve the problem.
Thank you. I've just returned from a small trip.
I can reproduce and will try to fix it.
2. overlay resize bug
3. h264 grayscale decoding is broken

I'll test tomorrow.

Leak
12th August 2007, 14:02
The video plays fine using Haali's splitter, CoreAVC for video and ffdshow for audio (AC3), except that the first frame is broken (but this is a minor issue). VD has no problems opening the video through AviSynth with DirectShowSource. Unfortunately Vegas doesn't support AVS. So I used MakeAVIS tool from ffdshow and create a "fake" AVI. Unfortunately this AVI can't be opened in Vegas and instantly crashes VirtualDub. I aslo tried another movie (AVI). With DirectShowSource the result was the same, with AviSource VD didn't crash but displays an error message: VideoSourceAVI Error: The operation is not supported (error code -1) in status bar and shows no video. The fake AVIs play fine through DirectShow, are just vertically flipped. So I believe the problem is somewhere in VfW AVIS codec. I tried ffdshow beta2, beta3 and build 1413 with the same results.
That's strange.

I'm afraid I don't have CoreAVC (nor do I have any use for it and thus no intention of buying it) and therefore can't try this here - could you perhaps check if the same error also happens in conjunction with some other codec?

np: Fennesz / Sakamoto - Abyss (Cendre)

DeepBeepMeep
12th August 2007, 15:30
As far I can tell, there are still some incompatibility with EVO files parsed by Haali filter and ffdshow VC1 video decoder. The Audio and Video get out of sync.

Haali in this post (http://forum.doom9.org/showthread.php?p=1007787#post1007787) had fixed some stuff on his part and normally the rff flag should be now forwarded to the next filter in the chain. It seems the last thing to do is to handle this flag.

Some samples EVO files had been posted in the past. Even needed, I can post another one.

It would be greatly appreciated if this bug could be fixed it would save plenty of people to remux EVO file to a matroska file to have proper playback. Thanks.

multiblitz
12th August 2007, 22:37
As far I can tell, there are still some incompatibility with EVO files parsed by Haali filter and ffdshow VC1 video decoder. The Audio and Video get out of sync.

Haali in this post (http://forum.doom9.org/showthread.php?p=1007787#post1007787) had fixed some stuff on his part and normally the rff flag should be now forwarded to the next filter in the chain. It seems the last thing to do is to handle this flag.

Some samples EVO files had been posted in the past. Even needed, I can post another one.

It would be greatly appreciated if this bug could be fixed it would save plenty of people to remux EVO file to a matroska file to have proper playback. Thanks.

Thanks for bringing this up again...I am as well hoping to get a fix on that...I guess the demand for a beautiful VC-1 playback is raising as the new HD-formats become more popular and even now blu-ray is using it...so, pleeeease.

vlada
13th August 2007, 00:14
Leak
Sorry, I wasn't clear enough. The other file I tried was AVI/MPEG-4 ASP decoded by ffdshow. So I think the problem is general and will probably happen with any format/codecs.

Leak
13th August 2007, 00:23
Leak
Sorry, I wasn't clear enough. The other file I tried was AVI/MPEG-4 ASP decoded by ffdshow. So I think the problem is general and will probably happen with any format/codecs.
Okay, that's something I have to take a look at, then... :)

np: Fennesz - Surf (Field Recordings 1995:2002)

bugblatter
13th August 2007, 06:48
Hi, I just recently started seeing a problem in ffdshow I had never seen before when playing mpeg1 videos. It seems to play fine, but when the video reaches the end, the player (media player classic) hangs and the CPU% shoots up to 100% until I manually kill the process. It seems obvious, but I haven't found any other mention of it in this thread, and I can't find any other reason for it either.

It seems ffdshow_rev1390_20070731_xxl.exe was that last one that worked before the problem started. The only thing in the changelog was "updated libavcodec". I retried several subsequent builds up to ffdshow-rev1413_20070809_xxl.exe with no success. Going back to rev1390 was successful.

It fails with MPEG1 set to "libavcodec", but succeeds with "libmpeg2" or "disabled". I just have it set for libmpeg2 now so it's no problem, but I thought I would mention it.

As for a sample, the first hit on google for "mpeg1 sample" works: http://www.kvcd.net/portal/articles.php?lng=en&pg=60 and click on "704x480-showoff.mpg"

Btw, I'm new here and just wanted to say thanks for all the great work on this project.

haruhiko_yamagata
13th August 2007, 10:44
As far I can tell, there are still some incompatibility with EVO files parsed by Haali filter and ffdshow VC1 video decoder. The Audio and Video get out of sync.

Haali in this post (http://forum.doom9.org/showthread.php?p=1007787#post1007787) had fixed some stuff on his part and normally the rff flag should be now forwarded to the next filter in the chain. It seems the last thing to do is to handle this flag.

03/06/2007
New Features:
Added support for more audio formats in quicktime files.
Added support for zlib compressed headers in quicktime files.
Subtitle streams are now shown by shell extension.
Added a preview tab and range selection to GDSMux.
Added A/V encoding support to GDSMux.
Added hardsubbing support to GDSMux.
Added minimal editing support to GDSMux.
Added support for loading cuesheets and HD-DVD xml chapter files in GDSMux chapter editor.
Added support for more video and audio formats to the muxer.
Fixed items:
Fixed a regression in PS timestamps calculation.
Fixed GetCurrentImage in the renderer so it behaves correctly when called indirectly via FGM.
Fixed some minor bugs in GDSMux chapter editor.
Fixed next/prev segment IDs generation and reading in GDSMux.
Other improvements and bugfixes.

Unfortunately 03/06/2007 version does not seem to have the fix. I think we have to wait for the coming release.

DeepBeepMeep
13th August 2007, 11:52
Unfortunately 03/06/2007 version does not seem to have the fix. I think we have to wait for the coming release.

Thanks for looking at the issue. Haali post I have quoted dates one week before the the last release, so it is possible the last release included the fix but was not mentioned in the change log. An easy way to check would be to see if the rff flag is there. Or hopefully Haali can inform us about the status of this fix, he seems to be around these days...

bluesk1d
13th August 2007, 14:54
I will just ask this briefly as I don't want to get too involved with it and start posting samples if it is already a known issue/resolution. I backed up my first AVC HD DVD the other day (all before have been VC-1) and while decoding with ffdshow beta (1324), there was strange green, magenta, red color shifting. It was restricted to specific shots in random scenes almost as if there was something in the actual image characteristics of the shot that triggered it.

My decode went through the following steps

Graph edit:
Haali media splitter (Ripped HD DVD evo file containing the feature h.264 stream) > ffdshow video decoder > AVI splitter (not sure why but graphedit added this on its own and wouldnt render without it)

The graph is then referenced by an AVS using DirectShowSource

Simply playing the disc reveals that this problem is not in the source. I had this same issue before with a MKV that had an H.264 stream and I don't recall what I did to fix it. Any tips would be greatly appreciated. Is there an issue with decoding directly from within the evo container?