Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th February 2008, 22:36   #3181  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
I think ffdshow's decoding of elementary MPEG-2 files is broken somehow. It seems to output a SAR of 64:27 for a 16:9 720x576 video, when it's reporting internally that the SAR is 64:45. MPC's internal decoder has no such problems. Resize and aspect is disabled. Do you need a sample stream to confirm this?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 15th February 2008, 13:35   #3182  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by fastplayer View Post
I like clsid's idea mentioned above. I'd just change the wording:
Code:
[ ] Restrict usage of ffdshow to known, compatible applications
 |--[ ]Show prompt for applications that are unknown to ffdshow
OK, I'll use this. Please wait a few more days until I can get back to development.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 15th February 2008, 13:37   #3183  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by Richard Berg View Post
I'm having some trouble with the VFW plugin.

1) It won't decode MJPG files created with older versions of ffdshow.
Please send us a sample.
Quote:
2) MJPG and HFYU are not supported at all in by the encoder. At least, they're not in the dropdown list.
I can find them in the dropdown list.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 15th February 2008, 14:11   #3184  |  Link
fastplayer
Registered User
 
Join Date: Nov 2006
Posts: 799
Quote:
Originally Posted by haruhiko_yamagata View Post
OK, I'll use this. Please wait a few more days until I can get back to development.
No hurry!
I suggest that this option covers both audio and video. IMO there's no need to separate them - at least during the installation process. This'll make it less confusing for beginners.
Us advanced users can easily make further changes in the DirectShow control page which should remain unchanged.
fastplayer is offline   Reply With Quote
Old 15th February 2008, 18:05   #3185  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by Inventive Software View Post
I think ffdshow's decoding of elementary MPEG-2 files is broken somehow. It seems to output a SAR of 64:27 for a 16:9 720x576 video, when it's reporting internally that the SAR is 64:45. MPC's internal decoder has no such problems. Resize and aspect is disabled. Do you need a sample stream to confirm this?
Which decoder (libmpeg2 or libavcodec) are you using, and have you tried the other one just in case?

np: Grad_U - Knob III (CMYK)
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 15th February 2008, 18:47   #3186  |  Link
fastplayer
Registered User
 
Join Date: Nov 2006
Posts: 799
Escaped ampersand bug

@Haruhiko:

With rev1626 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:
Scenario 1

Code:
Directory A & B
|--> A & B.mkv
|--> A & B.srt
Works. No problems at all.

Scenario 2
Code:
Directory A & B
|--> A & B.mkv
|--> A & B.srt
|--> AB.srt
Works until you change to the AB.srt subtitle (via right-click) because then ffdshow doesn't show anything. Even selecting back the "default" A & B.srt subtitle doesn't work anymore.

Looking at the code, I see that you simply escaped a single "&" with "&&" which is the correct way but you're escaping the path to the subtitle file too (variable files contains file names and the corresponding paths).
The reason why Scenario 1 and 2 work in the beginning is that the escaping doesn't occur until you open the context menu (makeSubtitlesMenu()). If you then change the subtitle (or even select the same one), processCmd() will operate with the incorrect, escaped path (which was passed via GetMenuString()).

My analysis may be wrong, so take it with a grain of salt.
Java FTW!
fastplayer is offline   Reply With Quote
Old 15th February 2008, 19:25   #3187  |  Link
EpheMeroN
EphMan
 
Join Date: May 2004
Posts: 737
MKV in FFDShow

Are MKV files not supported in FFDShow? Or is there an option I need to tick somewhere in config to allow decoding support?

I use WMP w/ FFDShow Tryouts and it plays everything I throw at it lately but nothing in an Matroska container.
EpheMeroN is offline   Reply With Quote
Old 15th February 2008, 19:28   #3188  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by EpheMeroN View Post
I use WMP w/ FFDShow Tryouts and it plays everything I throw at it lately but nothing in an Matroska container.
ffdshow is no splitter. Never was, never will be.

If you want to play files with a container format that isn't supported by DirectShow out of the box install a splitter.

np: Rumpistol - Dodvaegt (Intelligent Toys 4)
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 15th February 2008, 21:07   #3189  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
Quote:
Originally Posted by Leak View Post
Which decoder (libmpeg2 or libavcodec) are you using, and have you tried the other one just in case?

np: Grad_U - Knob III (CMYK)
Both, and for good measure, tried changing the "MPEG in AVI" type. Both decoders gimme a wrong SAR.

I suspect it's something to do with my MPEG-2 in MKV bug not being nice with different SARs, but if it's doing it with elementary files, that suggests otherwise?

And I can't remember if it happened last time with the elementary files.....
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline   Reply With Quote
Old 16th February 2008, 01:50   #3190  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by haruhiko_yamagata View Post
@leeperry,swalker
I don't have time now. Please wait.
OK I think I have fixed my problems with ffdshow and reclock

if I check "drop frame on delay : 1 ms", I get perfect synchronisation with reclock resampling 23.976@24 fps in 48.000 Hz.....it stays right on 24.000 even after 2 hours straight

so basically if you could still fix the bug with winamp2 plugins explained here, that'd be really AWESOME

http://forum.doom9.org/showpost.php?...postcount=3111

the ability to hide the winamp2 plugin GUI would also be fantastic....like in winamp.

TIA,

Last edited by leeperry; 17th February 2008 at 19:42.
leeperry is offline   Reply With Quote
Old 16th February 2008, 02:02   #3191  |  Link
Episode
n00b
 
Episode's Avatar
 
Join Date: Jan 2003
Location: Tokyo, Japan
Posts: 122
Quote:
Originally Posted by EpheMeroN View Post
Are MKV files not supported in FFDShow? Or is there an option I need to tick somewhere in config to allow decoding support?

I use WMP w/ FFDShow Tryouts and it plays everything I throw at it lately but nothing in an Matroska container.
You need to install Haali's media splitter to get it working. You can get it from http://haali.cs.msu.ru/mkv/
Episode is offline   Reply With Quote
Old 16th February 2008, 07:50   #3192  |  Link
taklubaba
Registered User
 
Join Date: Sep 2007
Posts: 21
Leak, clsid, Inventive Software and others.

Thanks a lot for your help. Really appreciate it.
Though the problem may seem small, your suggestions have helped me in checking out ffdshow code from the repository.

The problem was with the url.
As Leak had suggested I tried with
https://ffdshow-tryout.svn.sourcefor...ffdshow-tryout
and it worked.

Thanks once again.
Taklu.
taklubaba is offline   Reply With Quote
Old 17th February 2008, 19:42   #3193  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
I've made 2 profiles in ffdshow audio...one for movies and one for music.
but for WMV files, it never works.
the "movie" profile is supposed to be enabled when "ffdshow video decoder" is active(I've set ffdshow video to "all supported"), but it doesn't work for WMV files......even though "ffdshow video decoder" is loaded ?!
leeperry is offline   Reply With Quote
Old 17th February 2008, 20:16   #3194  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Why don't you use the default profile in this case? Because the condition "ffdshow video decoder is in the filter chain" will (or should at least) always be true. So it makes no sense to use that condition.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 17th February 2008, 20:20   #3195  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
well it works perfectly fine....except for WMV files.

the "movies" profile is used if "ffdshow video decoder" is loaded

otherwise, the "music" profile is used.

but for WMV files, it falls back to the "music" profile.....even though "ffdshow video decoder" is loaded.
leeperry is offline   Reply With Quote
Old 17th February 2008, 22:07   #3196  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Why do you have a "music" profile in the video settings of ffdshow? That makes no sense.

The audio and video settings (including the profiles) are fully separated in ffdshow!
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 17th February 2008, 22:31   #3197  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
huh ?

I got these profiles in the ffdshow Audio Decoder Configuration.
leeperry is offline   Reply With Quote
Old 17th February 2008, 23:02   #3198  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
Originally Posted by clsid View Post
Why do you have a "music" profile in the video settings of ffdshow? That makes no sense.

The audio and video settings (including the profiles) are fully separated in ffdshow!
Ummm... as far as I understand it he wants two different audio profiles to load under different circumstances:

* One ("movies") when the ffdshow video decoder is in the graph, since the audio decoder is then probably decoding a movie's soundtrack

* Another one ("music") when there's just the audio decoder in the graph, since that's probably the media player just playing some MP3 file or the like

(Personally, I'd just use a dedicated audio player (i.e. Foobar2000) for playing music, but that might be just me in that case...)

np: Proem - Live @ KVRX 10-09-2001 (Merck Fragments)
__________________
now playing: [artist] - [track] ([album])
Leak is offline   Reply With Quote
Old 17th February 2008, 23:13   #3199  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Ok, I have read it incorrectly. I thought you defined the profiles in the video decoder.

But there indeed is a bug. It also doesn't work with for example "Video Renderer".

Edit:
A workaround would be to use this condition: "ffdshow Video Decoder;DMO Wrapper Filter"
__________________
MPC-HC 2.1.7.2

Last edited by clsid; 17th February 2008 at 23:22.
clsid is offline   Reply With Quote
Old 18th February 2008, 00:36   #3200  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
w00t thanks, clsid!

I tried with "ffdshow Video Decoder;WMVideo Decoder DMO" as it says in the filters section....but that didn't work

well I got one "movie" profile that doesn't resample to 96 Hz to avoid problems with Reclock doing 23.976@24 resampling.
in the "music" profile, I've got noise shaping set to "heavy", and resampling in high quality to 96 KHz.
both profiles are processed with the "OzoneMP" winamp2 plugin in 32 bit float, and output in 24 bit integer through WaveOut to my M-Audio Audiophile USB and my Sony MDR-CD3000.

I've tried foobar, but the GUI sucks, and I very much like Gabest's mp3 decoder.....sounds really good to me

there's some bugs in the winamp2 plugin support as explained here : http://forum.doom9.org/showthread.ph...30#post1100930
hopefully haruhiko_yamagata would fix them soon enough

Last edited by leeperry; 18th February 2008 at 00:39.
leeperry is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 +1. The time now is 13:35.


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