Old 08-08-2022, 11:21 AM   #1
tirian
Human being with feelings
 
Join Date: Aug 2022
Posts: 2
Default Is DirectShow broken? (FIXED)

For some reason I can't seem to find how to enable Directshow video. The About page for Reaper still says it's supported. (https://www.reaper.fm/about.php)

I see that in Version 6.57, a change was made:
+ Video: deprecate DirectShow video decode mode, must be manually re-enabled in preferences

However, I can't seem to find that setting option available anywhere in the preferences. Am I blind, or is this broken? For the short term I'm using 6.56 which still has it available.
Thanks!
tirian is offline   Reply With Quote
Old 08-08-2022, 11:46 AM   #2
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,197
Default

Hi,

in Preferences > Video/... click on "Show decoder information" you'll probably see something like

Quote:
This version of REAPER supports video decoding/playback via:

• wmf: Windows Media Foundation: Windows Vista+ only, no additional download required
• qt: Quicktime: (bridged to 32-bit), Quicktime must be installed
• ffmpeg: FFmpeg/libav: minimal build included with REAPER, v2.8-v4.2 can be downloaded separately for more functionality
• vlc: VLC media player: v2.x-v3.x for correct architecture must be downloaded separately
• dshow_depr: DirectShow: deprecated, not recommended
So looks like dshow_depr must be added to the Video decoder priority textbox to re-enable it (didn't test).
nofish is offline   Reply With Quote
Old 08-30-2022, 08:30 AM   #3
tirian
Human being with feelings
 
Join Date: Aug 2022
Posts: 2
Default

Unfortunately, that doesn't seem to work. In v6.56, I can put only dshow or dshow_depr in that textbox and the video displays fine. When I upgrade to v6.66, the video window is just black if I have either only dshow or dshow_depr in that textbox. No other changes were made to the system besides the Reaper upgrade install. Reinstalling v6.56 again and the video works fine again. So, could there be some other "code" needed in that textbox to enable directshow now? Or, does it just not work anymore?
tirian is offline   Reply With Quote
Old 08-30-2022, 08:50 AM   #4
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,197
Default

That changelog line you mention in your opening post is the most recent one I see in the changelog regarding DirectShow, so going by that I think it should still work in current Reaper (when re-enabled), why it doesn't, I don't know.
nofish is offline   Reply With Quote
Old 08-31-2022, 07:52 AM   #5
MacroMan
Human being with feelings
 
Join Date: Aug 2022
Posts: 2
Default Direct Show still not working

I have used Direct Show for years and it doesn't work in current versions. I've tried using "dshow_depr" and that doesn't work. This is a real problem.
MacroMan is offline   Reply With Quote
Old 09-01-2022, 08:28 PM   #6
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,998
Default

ah oops that is confirmed, fixing!
Justin is offline   Reply With Quote
Old 09-04-2023, 03:58 PM   #7
Amazingmax
Human being with feelings
 
Join Date: Sep 2022
Posts: 1
Default

Quote:
Originally Posted by Justin View Post
ah oops that is confirmed, fixing!
Sorry, but how do I access the DirectShow decoding? Neither "dshow" nor "dshow_depr" do not seem to do anything in the newer versions. Video just won't load.
Amazingmax is offline   Reply With Quote
Old 11-18-2023, 07:29 AM   #8
dimonnaruton
Human being with feelings
 
Join Date: Nov 2023
Location: Ukraine
Posts: 6
Default

Quote:
Originally Posted by Amazingmax View Post
Sorry, but how do I access the DirectShow decoding? Neither "dshow" nor "dshow_depr" do not seem to do anything in the newer versions. Video just won't load.
Just rename the imported file to *.avi
then "dshow_depr" will work
It is strange that this is not mentioned anywhere
Is this done intentionally or just broken associations for DirectShow...
(this way, any video file is imported, be it mkv or mp4. Just rename the extension to avi)
dimonnaruton is offline   Reply With Quote
Old 11-18-2023, 07:59 AM   #9
dimonnaruton
Human being with feelings
 
Join Date: Nov 2023
Location: Ukraine
Posts: 6
Default

Quote:
Originally Posted by Justin View Post
ah oops that is confirmed, fixing!
Please note there is a problem with "dshow_depr".
When using it, most video files are not imported and you need to rename the file to avi.
This is a big problem under certain usage scenarios REAPER
Fixit this, or give an answer about the specifics of using "dshow_depr". All topics about directshow remained unanswered. Few people thought of renaming the file.

Last edited by dimonnaruton; 11-18-2023 at 08:09 AM.
dimonnaruton is offline   Reply With Quote
Old 11-18-2023, 09:40 AM   #10
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,998
Default

Quote:
Originally Posted by dimonnaruton View Post
Please note there is a problem with "dshow_depr".
When using it, most video files are not imported and you need to rename the file to avi.
This is a big problem under certain usage scenarios REAPER
Fixit this, or give an answer about the specifics of using "dshow_depr". All topics about directshow remained unanswered. Few people thought of renaming the file.
what extension is the file? can you post an example with content?
Justin is offline   Reply With Quote
Old 11-18-2023, 10:55 AM   #11
dimonnaruton
Human being with feelings
 
Join Date: Nov 2023
Location: Ukraine
Posts: 6
Default

Quote:
Originally Posted by Justin View Post
what extension is the file? can you post an example with content?
Absolutely any video file is not imported mp4, mkv... if you leave only "dshow_depr" in the priority of decoders. (error Could not import 1 of 1 items!)
If you set priority for other decoders (dshow_depr, vlc, ffmpeg), the file will open through the next one, bypassing dshow_depr.
at the same time, if you rename the file extension to avi, the file is imported and works via directshow.
(in addition to *.avi, *.wmv is also imported (from what I checked))
This problem started with version 6.57 and persists until now (7.05)
Demonstrated the problem:
https://drive.google.com/file/d/19yt...ew?usp=sharing
dimonnaruton is offline   Reply With Quote
Old 11-18-2023, 12:38 PM   #12
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,998
Default

Thanks. The problem is that .mp4 files are incredibly unreliable via DirectShow (depending on what codecs are installed) and can cause hangs and crashes, so they are not allowed. For 7.06 we will update it to allow, but only if you explicitly enable it for that extension, e.g. dshow_depr:mp4 .

For the file in question, WMF should decode it (if on Win7+)... or if on an old version of Windows, install VLC and that decoder should work too.
Justin is offline   Reply With Quote
Old 11-18-2023, 12:57 PM   #13
dimonnaruton
Human being with feelings
 
Join Date: Nov 2023
Location: Ukraine
Posts: 6
Default

Quote:
Originally Posted by Justin View Post
Thanks. The problem is that .mp4 files are incredibly unreliable via DirectShow (depending on what codecs are installed) and can cause hangs and crashes, so they are not allowed. For 7.06 we will update it to allow, but only if you explicitly enable it for that extension, e.g. dshow_depr:mp4 .

For the file in question, WMF should decode it (if on Win7+)... or if on an old version of Windows, install VLC and that decoder should work too.
The problem is not only with mp4, but also with mkv (avc).
WMF decoder does not always correctly reproduce AEC3 sound
VLC is great and eats everything, but...
I, like many others, use directshow in combination with DirectVobSub to display subtitles inside the window Video (near or inside mkv). With k lite mega installed, there have never been any problems with any video format
It is convenient for voicing.
and other decoders don't allow you to connect external subtitles, which is why directshow is so important to us.
If you allow us to forcibly select formats for directshow, that would be great! I will be waiting for an update.
Thank you for your prompt response!
dimonnaruton is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.