2011-05-10, 18:00
Sorry for the possibly dumb question, but will this or a further iteration allow me to use reclock? Even as an audio output filter?
<rules>
<video>
<rule codec="mpeg4">
<path></path>
<guid>{008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}</guid>
</rule>
</video>
</rules>
sshaikh Wrote:Sorry for the possibly dumb question, but will this or a further iteration allow me to use reclock? Even as an audio output filter?This is a good question. The way it's working right now for the audio codec you have to chose from the gui the audio renderer you want to use with your audio codec. (This include of course reclock and all other registered audio renderer on your system)
sansub Wrote:Thanks tiben20 for the great work.Those will be fixed since lavfsplitter maintained by nevcairel and created by me based on the current code of dscodec i will just update my code to his change. This will fix many problem in the loading of the codecs.
I am also having the same issue. I did download the XBMCSetup-20110430-caa7295-dx_video.exe, latest ffdshow tryout and installed them in my machine. I made MPC-HC to work with ffdshow, but when I run the XBMC it still uses the internal codec. The internal codec couldn't handle mpeg2 movies and m2ts movies properly (toomuch video artifacts). The same videos plays very well in MPC. I would really appreciate any help in making the ffdshow to work with XBMC (any config file to tinker with?? Changing ffdshow "DirectShow Control" Merit higher didn't fix it).
ENV: Windows 7 64bit
ffdshow 64bit
Here is the error message I see in the log file.
NOTICE: Opening video stream: 0 source: 256
09:21:16 T:3152 M:1036443648 NOTICE: Creating video codec with codec id: 28
09:21:16 T:3152 M:1036414976 NOTICE: Loading directshow filter for file 1.mkv
09:21:16 T:3152 M:1036754944 ERROR: FactoryCodec - Video: Failed with exception
09:21:16 T:3152 M:1036877824 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Thanks,
tiben20 Wrote:This is a good question. The way it's working right now for the audio codec you have to chose from the gui the audio renderer you want to use with your audio codec. (This include of course reclock and all other registered audio renderer on your system)
tiben20 Wrote:Is there any preference for the way you want the filters loading to be made this time.No particluar preference mate - just that it works Seems reasonable to load against registered codecs, rather than file types.
right now i made it quite simple
this would load the guid from the registry instead of using a specified path.Code:<rules>
<video>
<rule codec="mpeg4">
<path></path>
<guid>{008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}</guid>
</rule>
</video>
</rules>
Of course this time i didn't base the rules on file extension which was a mistake i made for dsplayer in the first place.
tiben20 Wrote:Those will be fixed since lavfsplitter maintained by nevcairel and created by me based on the current code of dscodec i will just update my code to his change. This will fix many problem in the loading of the codecs.
tiben20 Wrote:Is there any preference for the way you want the filters loading to be made this time.
right now i made it quite simple
this would load the guid from the registry instead of using a specified path.Code:<rules>
<video>
<rule codec="mpeg4">
<path></path>
<guid>{008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}</guid>
</rule>
</video>
</rules>
Of course this time i didn't base the rules on file extension which was a mistake i made for dsplayer in the first place.
sansub Wrote:Just a quick question, forgive me if it is dump, I am a newbie when it comes to codec thing. Do we really need to install any external codec (ffdshow) for your XBMC version to work? The reason is, XBMC plays most of the videos fine with it's internal codec. Does it comes with ffdshow already integrated in it? and if yes, is there any way to improve it to play m2ts and mpeg2 videos (currently it plays with lots of horizontal blocks around the objects when the camera moves faster).
sshaikh Wrote:So just to be clear, I can use Reclock right now by picking it as the audio renderer in the GUI?If your building the latest version from github yeah, the build in the first thread don't have this feature since it's an older build.
therealjoeblow Wrote:I would very much appreciate if codec rules included the ability to be set with a filename filter (ie, portion of the filename) as before, since I like to use ffdshow(software) for everything except for stuff that is 1080p, and I use ffdshow(dxva) for that. I use move.year.720p.x264.mkv or movie.year.1080p.x264.mkv filenaming convention to make this happen.It could be done of course but it would be easier for you instead of using a filenaming convention. I already started integrating resolution to the rule.
Cheers
The REAL Joe
steelman1991 Wrote:No particluar preference mate - just that it works Seems reasonable to load against registered codecs, rather than file types.Just to make people not confuse there. You don't need the codecs to be registered like with dsplayer a simple path will work. The problem with file extension was the fact that many container(ex:avi,mkv,mov...) can have more than one different video or audio codec. So i'm basically changing the file extension to a codec based setting.
tiben20 Wrote:Ps: To everyone following my development i am working 2 days a week on the project. And for this week i already did my 2 days. It doesn't mean i won't code a bit during the week but i am more active during my days off.
neoleo Wrote:Thanks for your work Tibens. I was just about to quit on XBMC (newbie things) to play my media library. After installed your version changed my mind. What a difference. Now its time to start playing with codecs.thanks really appreciate that kind of comments.