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

Inventive Software
29th July 2008, 16:11
Are the devs aware of the following H.264/AVC patch or commit for ffmpeg/mplayer? http://forum.doom9.org/showthread.php?t=139526 It'd be nice to see it implemented, if it's easily patchable against ffdshow. I'm unable to try it due to me screwing around with different things on my laptop. :)

clsid
29th July 2008, 16:28
That is unfinished stuff. Anyhow, xxl already tried patching our version of libavcodec, but it crashed.

clsid
29th July 2008, 16:34
I think there is a problem with the "export all settings" option....it doesn't export the Avisynth scripts :(

If I export the /GNU/ key with regedit, then it's properly exported to a .reg
Ask Leak if he can fix it.

_xxl
29th July 2008, 17:14
Are the devs aware of the following H.264/AVC patch or commit for ffmpeg/mplayer? http://forum.doom9.org/showthread.php?t=139526 It'd be nice to see it implemented, if it's easily patchable against ffdshow. I'm unable to try it due to me screwing around with different things on my laptop.
Already tried but crashing when frame threading is enabled. This weekend if I have time I''ll try again with latest code. The easy way is to compile ffmpeg.exe from ffmpeg-mt.

Leak
29th July 2008, 17:27
Ask Leak if he can fix it.
I thought Haruhiko fixed that some time ago?

Works for me - it writes a 1:1 copy of the ffdshow registry key.

Of course, the old "avisynthScript" value will still be b0rked when there are newlines in the script, but it also writes out a "avisynthScriptMULTI_SZ" value with the script hex-encoded.

If the export somehow acts funky, try deleting the "avisynthScript" values under "HKEY_CURRENT_USER\Software\GNU\ffdshow\<profile name>" in the registry. (After making sure that the "avisynthScriptMULTI_SZ" value exists; if not, try changing the script in the config dialog and hitting "Apply" - I'd hazard a guess that the new MULTI_SZ value isn't written unless the script is changed...)

np: Radiohead - Backdrifts (Honeymoon Is Over) (Hail To The Thief)

JarrettH
29th July 2008, 19:07
I have a question...

I want to use Spline and Resize to Screen Resolution. Is there a way, using MPC, to have the video enter full screen instead of staying windowed? If I Spline Resize to this and double click to enter full screen, doesn't this just resize my resized video?

:thanks:

LoRd_MuldeR
29th July 2008, 19:46
If you resize to your screen resolution in ffdshow (e.g. Spline resize) and then go fullscreen in MPC, the video renderer will not change (re-resize) the video.
But if you resize to a different resolution than your screen resolution, then going fullscreen will resize your video again and might sacrifice quality...

Leak
29th July 2008, 20:39
If you resize to your screen resolution in ffdshow (e.g. Spline resize) and then go fullscreen in MPC, the video renderer will not change (re-resize) the video.
But if you resize to a different resolution than your screen resolution, then going fullscreen will resize your video again and might sacrifice quality...
Selecting "Video Frame > Normal size" should take care of any unwanted resizing in the renderer...

np: Nathan Fake - Charlie's House (Apparat Remix) (Things To Be Frickled (Disc 1))

pitch.fr
31st July 2008, 11:57
Works for me - it writes a 1:1 copy of the ffdshow registry key.

Of course, the old "avisynthScript" value will still be b0rked when there are newlines in the script, but it also writes out a "avisynthScriptMULTI_SZ" value with the script hex-encoded.
ok thanks for your help.

well I dunno, seems to work now ?!

but from now on I will export with regedit I think.

problem solved on my end :D

DrGuz
2nd August 2008, 19:24
(I was torn between starting a new thread and appending to this one ... got no response (http://ffdshow-tryout.sourceforge.net/phpBB2/viewtopic.php?p=3152#3152) on the official ffdshow tryouts support forum ... apologies if I'm doing it wrong)

I'm getting a black screen trying to process an MJPG AVI. Is there some diagnostic tool to make sure ffdshow VFW is working right? Or would someone be willing to help me troubleshoot?

SOFTWARE VERSIONS:
VirtualDub 1.8.3, VirtualDub-MPEG2 1.6.15, and Vegas 4.0
ffdshow tryouts revision 2033 Jun 27 2008 14:11:43 (msvc 2003, x86, unicode)
Windows XP SP2

Here are some things I've already tried....

The .avi file gets a clean report from GSpot. 4CC = MJPG, 704x480, 204 MB, 848 frames, 29.970 fps, PCM audio (44100/16/stereo). It was created by VirtualDub capture on a Windows 98 machine, through a miro DC30 card from laserdisc.

VirtualDub shows it perfectly if I set its "Preferences > AVI > Prefer internal codecs over installed third-party codecs (MJPEG and DV)".

ffdshow "VFW configuration > Decoder > codecs > MJPEG" is set to "libavcodec".

Removing "libavcodec.dll" from the ffdshow folder causes VirtualDub to work properly, presumably because VFW fails and it falls back on its internal MJPG decoder. This proves to me that VirtualDub is finding the right files for ffdshow / libavcodec.

Activating "VFW configuration > Decoder > Bitmap overlay" with opacity 100% fails to produce an image in the VirtualDub output pane. This suggests that ffdshow itself is not running properly, rather than libavcodec being to blame.

The ultimate goal is to get this AVI into Vegas 4.0, which has no built-in MJPG support and only works with VFW, not DirectShow. Prior to installing ffdshow, Vegas would only import the audio track; after installing, it now imports both audio and video tracks, but the video track is solid black.

quacka
4th August 2008, 01:03
Hi,

I am trying to use ffdshow tryouts filter in my application to switch audio stream. I am a VB.NET developer and have built the graph manually to include ffshow fine.

I have read that albain has added remote API into ffdshow and have opened up ffdshowRemoteAPI.cpp to have a look. However due to my lack of knowledge of C++ I do not know how to use this in my application. Anyone have a sample snippet which uses RemoteAPI they can show me?

Cheers

Thunderbolt8
4th August 2008, 03:50
I found some kind of image corruption when I watched the dark city blu-ray with ffdshow 2060 & libavcodec. when I choose ffdshow & wmv9 instead to decode the picture then it looked fine.

libavcodec
http://thumbnails9.imagebam.com/1054/4fcd3210533562.gif (http://www.imagebam.com/image/4fcd3210533562)

wmv9
http://thumbnails9.imagebam.com/1054/da116110533563.gif (http://www.imagebam.com/image/da116110533563)

this problems only occured at 2 places in the movie, but is still somwhat strange

foxyshadis
4th August 2008, 23:11
I found some kind of image corruption when I watched the dark city blu-ray with ffdshow 2060 & libavcodec. when I choose ffdshow & wmv9 instead to decode the picture then it looked fine.

libavcodec
http://thumbnails9.imagebam.com/1054/4fcd3210533562.gif (http://www.imagebam.com/image/4fcd3210533562)

wmv9
http://thumbnails9.imagebam.com/1054/da116110533563.gif (http://www.imagebam.com/image/da116110533563)

this problems only occured at 2 places in the movie, but is still somwhat strange

These decoding issues have to be reported to the ffmpeg team, not ffdshow. We can't fix them (well, very rarely).

Sharktooth
5th August 2008, 02:08
it seems a deblocking issue but im not so sure.

clsid
6th August 2008, 12:22
I have added a recent FFplay build to the first post of this topic. With that tool you can check whether a decoding problem is caused by a bug/limitation of the FFmpeg code.

LoRd_MuldeR
6th August 2008, 19:30
I have added a recent FFplay build to the first post of this topic. With that tool you can check whether a decoding problem is caused by a bug/limitation of the FFmpeg code.

I just noticed that your download is missing the "SDL.dll" lib...

clsid
6th August 2008, 19:45
Fixed.

rebkell
6th August 2008, 19:47
Fixed.

Download link isn't working, 'File Not Found'

LoRd_MuldeR
6th August 2008, 20:05
Download link isn't working, 'File Not Found'

Works here. But is it normal the FFplay will die quietly as soon as I resize the window?

clsid
6th August 2008, 20:28
Resizing works here. FFplay is a very very simple player. I doesn't seem to output any error messages at all.

rebkell
6th August 2008, 20:31
Works here. But is it normal the FFplay will die quietly as soon as I resize the window?

It's there for me now also.

JarrettH
6th August 2008, 21:02
Selecting "Video Frame > Normal size" should take care of any unwanted resizing in the renderer...

Hey thanks that's a good solution :D

rkalwaitis
7th August 2008, 11:04
Doesnt the later versions of the tryouts have snow? I can not see it? Trying to use VirtualDub. Thanks

fastplayer
7th August 2008, 11:19
It has been disabled a while ago due to "incompleteness".

rkalwaitis
8th August 2008, 09:31
does anyone know he last build with snow?

fastplayer
8th August 2008, 12:02
does anyone know he last build with snow?
Any build with revision < 1526.
Try this one:
http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_rev1523_20071009_clsid.exe

clsid
8th August 2008, 12:19
The SNOW specification is still unfinished. So anything you encode now is potentially incompatible with future versions. I don't know why you want to use SNOW, but I would strongly advice against using that old ffdshow build. Better use a recent FFmpeg build.

Seraphic-
9th August 2008, 05:06
MPC-HC 1.1.604.0
ffdshow_beta5_rev2033_20080705_clsid
ac3filter_1_51a
MatroskaSplitter

Hi,

Have the above four software apps installed to handle playback of my video/audio. However, now when I try to play my 5.1DTS track, I get FL, FC, FR, BL, BR, but I'm getting nothing from my SUB.

I know the track has a LFE and I even tried 5.1 tracks from HERE (http://www.kellyindustries.com/sounds.html), but with them all, I'm still getting no SUB.

Used to use codec pack (http://www.free-codecs.com/download/K_Lite_Mega_Codec_Pack.htm) and always had full 5.1 sound.

Is there something I'm missing?

Wishbringer
9th August 2008, 11:33
Hope, it's only a sourceforge problem (hickup):
when trying to access site on sourceforge I get an "Invalid Project" error.

clsid
9th August 2008, 11:46
Assuming that AC3Filter is decoding that DTS audio, you need to adjust those settings, not ffdshow's.

rkalwaitis
9th August 2008, 14:42
thanks clsid Ill go that route

Seraphic-
9th August 2008, 17:58
Assuming that AC3Filter is decoding that DTS audio, you need to adjust those settings, not ffdshow's.

AC3Filter is set to 5.1 though.

As is my system and ffdshow tryouts.

Maybe it has to do with MPC-HC not working with AC3Filter.

Edit:
If I uninstall AC3Filter, I just get front left/right.
ffdshow tryouts is set to 5.1 and to decode DTS, so I don't know.

clsid
9th August 2008, 19:53
MPC-HC works fine with AC3Filter. You must however disable the internal AC3 decoder.

Seraphic-
9th August 2008, 20:25
MPC-HC works fine with AC3Filter. You must however disable the internal AC3 decoder.

You mean the DTS Transform Filter right?
If so, that fixed the issue.
Thanks for the help.

Last issue that remains is that the DTS volume is MUCH louder then it was when using the codec pack.
There must be some audio normalization somewhere that was enabled in the codec pack, but not in the current settings.
It is peaking out just about, was not like that before.

Test Track (http://www.temp.seraphicgate.com/51Test3.dts)
http://www.temp.seraphicgate.com/51.jpg

clsid
9th August 2008, 20:36
AC3Filter has lots of options. I think 'Normalize matrix' is the one you are looking for. Although that should normally already be enabled by default in AC3Filter.

Seraphic-
9th August 2008, 20:44
AC3Filter has lots of options. I think 'Normalize matrix' is the one you are looking for. Although that should normally already be enabled by default in AC3Filter.

Yeah, it is. Odd that it plays with a much higher volume.

Edit:
Just tried a two channel stereo wav file and it is playing as 5.0 (no sub), lol.
Sigh... might as well go back to the codec pack.

Edit2:
I'll install the codec pack again and mirror the settings to the other install.
See what that does.

Seraphic-
9th August 2008, 22:46
Quite a few AC3Filter settings were different and changing them did make a difference in some cases.

Seems like I just go back to the codec pack as it works 100% for me.

I just doesn't use ffdshow tryouts or MPC-HC, it uses ffdshow and MPC.

But was hoping to use this setup to avoid conflicts with my audio/video encoding.

clsid
10th August 2008, 14:07
That pack also uses tryouts. Almost everybody just uses the name 'ffdshow'.

iron2000
11th August 2008, 13:06
I seem to have problems with video files with Vorbis sound.
Theres kind of a "zzz"/rapid skipping sound every few seconds.
When it gets severe the video slows down also.
All other sound types seem ok.

Tried beta 5, 2060 and 2063, all had the problem.
Switch from Tremor to libavcodec, no use too.
Problem exists in MPC-HC's Vorbis internal filter also.

Updated Direct X today.
Run kX Drivers for audio.

Anything else I can try?

Ok defintely a problem with ffdshow as it plays fine with CoreVorbis.
But using CoreVorbis with ffdshow uncompressed all supported reproduces the problem.
Or is this a recent known problem?

Rumbah
12th August 2008, 13:26
I just ran into a problematic sample but I don't know if it's the fault of ffdshow, Avisynth or the stream itself.

If I play the original video file in Virtualdub via ffdshow VFW it works. The playback with FFPlay also works. But if I open the video via Avisynth, the ending gets corrupted (and I get a green first frame). I'm using ffdshow beta 5. I did a test encode with the video to show the corrupted results I get.

The Avisynth script that I used for encoding:
AVISource("Test.avi")

The original file:
http://www.speedshare.org/download.php?id=CFE7360B12

The encoded file with errors (after 16-20 seconds):
http://www.speedshare.org/download.php?id=1E225C7D12

Inventive Software
12th August 2008, 14:37
Use the latest revision, as many bugs have been fixed, and tell us if the problem still arises. The ffplay version is probably a much newer compile of libavcodec than beta5 of ffdshow, thus the decoding errors are more likely to have been fixed.

_xxl
12th August 2008, 14:54
But using CoreVorbis with ffdshow uncompressed all supported reproduces the problem.
Or is this a recent known problem?
Are you sure that this is a ffmpeg,vorbis/tremor bug?
ffdshow uses some code from mpc and if there's a bug be sure that will be in ffdshow also.

iron2000
12th August 2008, 15:37
Are you sure that this is a ffmpeg,vorbis/tremor bug?
ffdshow uses some code from mpc and if there's a bug be sure that will be in ffdshow also.

The problem happened both when using ffdshow audio decoder and the MPC internal filter.
But no problems with Corevorbis.

thuan
12th August 2008, 17:36
I get the same vorbis problem with 2060 and 2063 using libavcodec, but not with any older or Tremor or MPC decoder. It might be a different problem though.

clsid
13th August 2008, 00:06
I have updated the libavcodec Vorbis decoder. Maybe it works better now.

Two modifications are not present in the current updated code:
1) Compatibility with OggDS splitter (a very old outdated filter)
2) VorbisGain support

I don't think it is worthwhile to add support for OggDS. That comes its own decoder anyway.

Does anyone here use the VorbisGain option?

thuan
13th August 2008, 12:09
If it's not that much of a hassle, then add it, I have some old encodes that use it.

iron2000
13th August 2008, 12:16
The new 2073 still have the same problems with Vorbis on Tremor.
But with 2073, Vorbis on libavcodec produces distorted sound.

One other thing is that the problem appears too when I tried to use CoreVorbis with ffdshow (to use ffdshow's Winamp2, resample and mixer by making ffdshow take in uncompressed format).
Unchecking the 3 doesn't help too.
No problems with CoreVorbis itself.

_xxl
13th August 2008, 12:44
But with 2073, Vorbis on libavcodec produces distorted sound.
samples please

iron2000
13th August 2008, 12:52
Sorry but how do I provide samples?

Tried going back to 2026, the same Vorbis problem occurs also.

clsid
13th August 2008, 14:12
With samples, we mean sample files.

Add the updates I made are part of revision 2074. So 2073 still has old libavcodec vorbis.