View Full Version : ffdshow tryouts project: Discussion & Development
leeperry
28th February 2008, 11:21
ok thanks for the reply haruhiko, so to be on the safe side I can just output in YUY2 from ffdshow I guess ;)
soulkeeper
28th February 2008, 18:04
I want to update my current ffdshow version(1485.xxl 26/09/08) to 1870.xxl...
Do i simple select uninstall and install new version?
No need for registry cleaning e.t.c?
Thanks...
clsid
28th February 2008, 18:17
I am having some resizing troubles with DVD playback. The height of the video is too small. Happens with both libavcodec and libmpeg2.
Input: 720x576, SAR: 64/45, DAR: 16:9
Output: 1280x1024
With MPEG-4 and H.264 video the resizing is done correctly. Those files have a SAR of 1/1, so I suspect the problem related to that. The height of the (wrongly) resized dvd video is approximately cunsuming 45/65 of the height of my screen.
clsid
28th February 2008, 18:18
I want to update my current ffdshow version(1485.xxl 26/09/08) to 1870.xxl...
Do i simple select uninstall and install new version?
No need for registry cleaning e.t.c?
Thanks...
You can just install on top of your current installation. No need for uninstallating or registry cleaning.
soulkeeper
28th February 2008, 18:20
You can just install on top of your current installation. No need for uninstallating or registry cleaning.
Thanks!!
fofwp
28th February 2008, 18:27
I have this problem when using ffdshow for decoding the audio of DVDs. At certain parts the audio sounds as though it is being clipped. I have found a particular scene where this happens and played it back using ffdshow on two different PCs. Both produced the same clipping sound.
I have tried the internal AC-3 decoder of MPC-HC and the NVidia Audio Decoder and neither display this behavior.
The only thing that is checked in ffdshow is the Mixer. All other processing is disabled. Can someone tell me what can be causing this?
Px
28th February 2008, 18:39
I am having some resizing troubles with DVD playback. The height of the video is too small. Happens with both libavcodec and libmpeg2.
NVIDIA Videocard?
Thunderbolt8
28th February 2008, 19:56
the haali splitter & haali renderer. I already tried it with mpcs internal splitter and also with overlay mixer and VMR9 as well, but the result stays the same.
well, any idea what I could do now? ive already installed & uninstalled other versions, but its still the same :S
wyrd
28th February 2008, 21:06
Hi,Thunderbolt8
I can reproduce when i uncheck "skip deblocking always".
(skip deblocking checked then work fine.)
snapshot (http://tirnanog.fate.jp/tmp/snap/test-001.mkv.snapshot.jpg)
regards
clsid
28th February 2008, 22:46
NVIDIA Videocard?
Nope. ATI 9200 se.
Thunderbolt8
29th February 2008, 04:15
Hi,Thunderbolt8
I can reproduce when i uncheck "skip deblocking always".
(skip deblocking checked then work fine.)
snapshot (http://tirnanog.fate.jp/tmp/snap/test-001.mkv.snapshot.jpg)
regards
thank you very much, that was indeed the reason! :)
so this basically means deblocking works faulty for this movie and therefore needs to be turned off here? luckily is this the only h264 movie with this issue I had so far.
nm
29th February 2008, 10:28
thank you very much, that was indeed the reason! :)
so this basically means deblocking works faulty for this movie and therefore needs to be turned off here? luckily is this the only h264 movie with this issue I had so far.
It means that there is a bug somewhere and it should be fixed. As you previously noticed, the clip plays fine with deblocking on other decoders and players, even ones based on libavcodec (MPlayer, VLC).
haruhiko_yamagata
29th February 2008, 10:48
I have a problem with a H.264 broadcast here with ffdshow (1870 xxl), the picture is pretty much distorted, while its fine with CoreAVC and VLC (0.8.6d).
I made a short sample: http://www.sendspace.com/file/rk4epuWorks if I set "Number of decoding threads:" = 1.
clsid
29th February 2008, 12:34
This is one of those cases that shows why the multithreading patch is still experimental.
Thunderbolt8
29th February 2008, 12:58
ok then ill just use the clsid version to decode this one :P
Ive got another question, since I un- and re-installed ffdshow I dont know any more which was the default renderer for mpeg1 and 2 video - libmpeg2 or libavcodec?
or better asked whats the difference between those 2 anyway and which one offers the better PQ for HD mpeg2 files (TV/blu-ray)?
nm
29th February 2008, 13:29
Ive got another question, since I un- and re-installed ffdshow I dont know any more which was the default renderer for mpeg1 and 2 video - libmpeg2 or libavcodec?
or better asked whats the difference between those 2 anyway and which one offers the better PQ for HD mpeg2 files (TV/blu-ray)?
I don't know which one is the default, but libavcodec's decoder has much better error tolerance when dealing with damaged TV caps (it beats most other MPEG-2 decoders in this, as can be seen in MSU's comparison: http://www.compression.ru/video/codec_comparison/mpeg-2_2006_en.html). With good streams, output quality is the same for both.
dimzon
29th February 2008, 15:01
Some stupid question
I can see ffdshow changelog here (http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout/?view=log)
Where I can see libavcodec changelog? Since libavcodec is 90% of ffdshow I must look at them to decide - download or not latest version.
fastplayer
29th February 2008, 15:16
Where I can see libavcodec changelog?
http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/?view=log
clsid
29th February 2008, 15:26
ok then ill just use the clsid version to decode this one :P
My version also has multithreading because the patch was committed to SVN. You must set the number of threads to 1. Either permanently or just when you encounter a problematic file.
Ive got another question, since I un- and re-installed ffdshow I dont know any more which was the default renderer for mpeg1 and 2 video - libmpeg2 or libavcodec?
libmpeg2 is the default one for MPEG-2.
Disabled is the default for MPEG-1. Then the Microsoft decoder will be used that is part of DirectX.
Thunderbolt8
1st March 2008, 00:26
I don't know which one is the default, but libavcodec's decoder has much better error tolerance when dealing with damaged TV caps (it beats most other MPEG-2 decoders in this, as can be seen in MSU's comparison: http://www.compression.ru/video/codec_comparison/mpeg-2_2006_en.html). With good streams, output quality is the same for both.
interesting comparison indeed, thanks!
about the relationship of libmpeg2 and libavcodec for mpeg2 decoding, how is it, was libavcodec written by the same people who already made libmpeg2 and was meant to be an improvement?
My version also has multithreading because the patch was committed to SVN. You must set the number of threads to 1. Either permanently or just when you encounter a problematic file.
so I guess you and xxl are both using the same basis now and from now on it shouldnt matter any more which one I download? or do the xxl version still include some, well 'beta' material or however I should put this?
clsid
1st March 2008, 00:35
Afaik libmpeg2 and libacodec are two completely separated projects.
Current builds are all just plain SVN, no extra patches.
rickardk
1st March 2008, 00:47
Something is wrong with AC3 decoding I think.
Just watched Michael Clayton (m2ts from Blu-ray) and I get "pop/click" sounds all through the movie. I had this problem with other titles before but never so frequent as with this one.
If I use AC3filter or Sonic Audio decoder the sound plays without pops/clicks.
A small sample can be found here:
http://www.earselect.se/sample.mkv
http://www.earselect.se/sample.ac3
The click/pop is between 00:00:02 and 00:00:03. Located in the left front speaker.
fastplayer
1st March 2008, 00:57
The click/pop is between 00:00:02 and 00:00:03. Located in the left front speaker.
Confirmed.
If I use AC3filter or Sonic Audio decoder the sound plays without pops/clicks.
Add MPC's internal AC3 filter to that list.
rickardk
1st March 2008, 00:59
Confirmed.
Add MPC's internal AC3 filter to that list.
+ Nero and Cyberlink
interesting comparison indeed, thanks!
about the relationship of libmpeg2 and libavcodec for mpeg2 decoding, how is it, was libavcodec written by the same people who already made libmpeg2 and was meant to be an improvement?
They have different authors, licenses and codebases. Libmpeg2 was mostly written by Aaron Holtzman and Michel Lespinasse and libavcodec's mpeg12 decoder was written by Fabrice Bellard and Michael Niedermayer. Libmpeg2 is licensed under GPL and lavc is LGPL, so the latter couldn't borrow code from the former without permission from the original authors.
I don't know the history well, but I might guess that the FFmpeg project (or Fabrice) wanted to have their own MPEG-1/2 decoder, and since some of the code could be shared with other decoders (or was already written for the MPEG-4/DivX decoder), it was best to write it from the ground up.
fastplayer
1st March 2008, 01:28
http://img03.picoodle.com/img/img03/4/2/29/f_NewBitmapImm_a6c4d0e.png
Shouldn't the "DVD decoding" check box be greyed-out when MPEG2 decoder is set to "disabled"? Or am I missing something here?
Thunderbolt8
1st March 2008, 04:05
maybe its meant as exception so that you dont want to use ffdshow to decode mpeg2 files in general, but still could use it only for DVDs.
Leak
1st March 2008, 14:57
maybe its meant as exception so that you dont want to use ffdshow to decode mpeg2 files in general, but still could use it only for DVDs.
Ah, but using which library? libmpeg2 or libavcodec? ;)
np: The Orb - Mother Nature (The Dream)
clsid
1st March 2008, 15:13
The internal AC3 decoder in MPC uses liba53, same as ffdshow. So perhaps the error is caused by the Mixer or any of the other audio filters in ffdshow?
fastplayer
1st March 2008, 15:23
The internal AC3 decoder in MPC uses liba53, same as ffdshow. So perhaps the error is caused by the Mixer or any of the other audio filters in ffdshow?
Even with everything turned off (Volume, Mixer and Dynamic range compression), it still clicks.
clsid
1st March 2008, 15:31
Just tested the file. I am getting a pop between second 4 and 5 instead of between 2 and 3. But only with WMVideo DMO decoder. With libavcodec everythings seems fine.
The .ac3 file play without any unusual sounds here. Unless I am getting deaf :)
Yong
1st March 2008, 20:09
if i select libtheora as decoder for theora,
avisynth filter "buffer back/ahead" value equal or bigger than 1 will cause ffdshow.ax crash.
its happen only if i select yv12 as input colorspace.
im using latest xxl build.
rickardk
1st March 2008, 20:34
Just tested the file. I am getting a pop between second 4 and 5 instead of between 2 and 3. But only with WMVideo DMO decoder. With libavcodec everythings seems fine.
The .ac3 file play without any unusual sounds here. Unless I am getting deaf :)
I'm getting the pop regardless of video decoder and also when I just play the AC3 file. Also tested muxing it into mka.
All decoders I tested except ffdshow (liba52) play this without pop/click. So I guess it must be a ffdshow/liba52 problem.
It's a very discrete pop though. But it's there...
SeeMoreDigital
1st March 2008, 20:45
The .ac3 file play without any unusual sounds here. Unless I am getting deaf :)I don't hear unusual sounds here either...
To confirm. I'm passing the (FFdshow) decoded bit-stream to an external DSS amplifier.
Cheers
rickardk
1st March 2008, 21:05
You should not pass the bit stream I think. You should decode the AC3 stream with ffdshow.
Also, if you don't hear the pop you can try with another AC3 decoder and then switch back to ffdshow. That might help you spot the pop/click.
I'm 100% sure it's there. Tested latest ffdshow (clsid) on clean XP SP2 and clean Vista Ultimate 32 (both with and without SP1). Same problem...
fastplayer
1st March 2008, 21:54
Just ripped a DVD and wanted to play it back with MPC and libavcodec's MPEG2 decoder. I double-clicked the VIDEO_TS.IFO and all I got was stutter. The video would literally freeze every half second.
Now when I directly start DVD playback (circumventing the intro and menu) by loading the VTS_0x_0.IFO, then all is OK.
I compared MPC's filter list and noticed that the stutter would only occur when the "DVD Navigator" filter was used. This filter loads with the VIDEO_TS.IFO but it does not with the VTS_0x_0.IFO (instead MPC's MPEG2 splitter kicks in).
If I use libmpeg2 - whether it's MPC's internal or ffdshow's version - then I have no problems at all.
So why does the "DVD Navigator" take precedence over MPC's internal MPEG2 splitter? :confused:
clsid
1st March 2008, 22:29
Without it you won't get DVD menus and thus you need it for proper DVD playback. Libavcodec just doesn't work very well in combination with DVDs.
fastplayer
1st March 2008, 22:40
Libavcodec just doesn't work very well in combination with DVDs.
The stutters mentioned above cause frame drops even though CPU load is less than 20%. :confused:
Everytime I give libavcodec a chance at DVD playback, it fails.
But as long as I have a working alternative, I won't complain. :)
Thunderbolt8
2nd March 2008, 01:48
Ah, but using which library? libmpeg2 or libavcodec? ;)
np: The Orb - Mother Nature (The Dream)
cant tell, it was just a guess ;)
fofwp
2nd March 2008, 03:06
Something is wrong with AC3 decoding I think.
Just watched Michael Clayton (m2ts from Blu-ray) and I get "pop/click" sounds all through the movie. I had this problem with other titles before but never so frequent as with this one.
If I use AC3filter or Sonic Audio decoder the sound plays without pops/clicks.
A small sample can be found here:
http://www.earselect.se/sample.mkv
http://www.earselect.se/sample.ac3
The click/pop is between 00:00:02 and 00:00:03. Located in the left front speaker.
I can hear what you are talking about when using ffdshow for decoding. When I use the AC3 decoder built into MPC-HC I don't hear it.
I have also experienced something similar which I had posted about earlier, but have not received a response for. I have quoted it below.
I have this problem when using ffdshow for decoding the audio of DVDs. At certain parts the audio sounds as though it is being clipped. I have found a particular scene where this happens and played it back using ffdshow on two different PCs. Both produced the same clipping sound.
I have tried the internal AC-3 decoder of MPC-HC and the NVidia Audio Decoder and neither display this behavior.
The only thing that is checked in ffdshow is the Mixer. All other processing is disabled. Can someone tell me what can be causing this?
If someone can give me instructions about how to cut a part of the ac3 track and where to upload it. I would be glad to do it if it means that someone will look into this. A thing to note is that I hear this when using the analog out (not digital) from two computers with different sound cards
haruhiko_yamagata
2nd March 2008, 13:41
@Haruhiko:
With rev1626 (http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout?view=rev&revision=1626) you fixed a bug where subtitles with an "&" in the filename were incorrectly shown in ffdshow's context menu.
Unfortunately, your bugfix introduced another bug:
Sorry for late reply and thank you.
I have fixed at rev 1877.
Leak
2nd March 2008, 13:45
The stutters mentioned above cause frame drops even though CPU load is less than 20%. :confused:
Everytime I give libavcodec a chance at DVD playback, it fails.
Well, for me I get the video playing at twice the speed for half a second followed by a half-second pause and so on.
I'd hazard a guess that in the DVD case the timestamp generation from libavcodec is somehow whack, but I'm not really familiar with it's innards...
np: The Orb - Codes (The Dream)
fastplayer
2nd March 2008, 14:06
Sorry for late reply and thank you.
I have fixed at rev 1877.
No worries. I'm patient :)
I noticed that your fix now replaces "&&" with "&". I wonder what'll happen when you have actually 2 ampersands in the path/filename... I'll test the "special" cases as soon as a build gets released.
Anyway, :thanks:
Well, for me I get the video playing at twice the speed for half a second followed by a half-second pause and so on.
This might actually be a better explanation of what I noticed. I was too fixed on the pauses itself.
By the way, the "DVD decoding" check box "adds" the MEDIATYPE_DVD_ENCRYPTED_PACK media type to the decoder. That's how far I got looking at the code. I remember that in earlier ffdshow releases you had to add it manually to MPC in order to get ffdshow to decode DVDs.
cc979
2nd March 2008, 14:07
You should not pass the bit stream I think. You should decode the AC3 stream with ffdshow.
Also, if you don't hear the pop you can try with another AC3 decoder and then switch back to ffdshow. That might help you spot the pop/click.
I'm 100% sure it's there. Tested latest ffdshow (clsid) on clean XP SP2 and clean Vista Ultimate 32 (both with and without SP1). Same problem...
try decoding the audio with ffdshow and load it into an audio editor you maybe able to see it
haruhiko_yamagata
2nd March 2008, 14:51
try decoding the audio with ffdshow and load it into an audio editor you maybe able to see it
I did and I can see it. Still it's difficult to fix. I don't know where to start.
_xxl
2nd March 2008, 21:28
Something is wrong with AC3 decoding I think.
Just watched Michael Clayton (m2ts from Blu-ray) and I get "pop/click" sounds all through the movie. I had this problem with other titles before but never so frequent as with this one.
#if defined(ARCH_X86) && defined(__GNUC__)
...
#endif //ARCH_X86
Liba52 has some MMX, 3DNOW! and SSE code from mplayer for (down)mix available only for MINGW GCC builds.
if(mm_accel & FF_CPU_SSE)
a52_imdct_512 = imdct_do_512_sse;
And some SSE for imdct available only in MSVC or ICL builds.
Try to disable them from ffdshow?
haruhiko_yamagata
3rd March 2008, 12:19
if(mm_accel & FF_CPU_SSE)
a52_imdct_512 = imdct_do_512_sse;
And some SSE for imdct available only in MSVC or ICL builds.
Try to disable them from ffdshow?Good suggestion. It works without imdct_do_512_sse :).
haruhiko_yamagata
3rd March 2008, 13:18
Something is wrong with AC3 decoding I think.
Just watched Michael Clayton (m2ts from Blu-ray) and I get "pop/click" sounds all through the movie. I had this problem with other titles before but never so frequent as with this one.
If I use AC3filter or Sonic Audio decoder the sound plays without pops/clicks.
A small sample can be found here:
http://www.earselect.se/sample.mkv
http://www.earselect.se/sample.ac3
The click/pop is between 00:00:02 and 00:00:03. Located in the left front speaker.
Mplayer have the same click.
The click is located at 3.122 seconds from the start.
If I use a52_imdct_512_C instead of imdct_do_512_sse, there is no click. Could you post a report to mplayer project?
imdct_do_512_sse is mplayer specific, so please do not post a report to lia52.
_xxl
3rd March 2008, 13:24
I would like to remove that MMX,3dnow and SSE from liba52?
First is used only in gcc builds, rare and second doesn't work.
clsid
3rd March 2008, 14:01
If you have some time, maybe you could also attempt to add the libavcodec AC3 decoder.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.