View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
mindbomb
5th February 2011, 21:55
actually, i think i see the problem. I was using Wasapi as my audio interface. I can get downmixing to work if I use directsound.
On a related note, I've noticed that lavcaudio won't connect to default directsound device. I can only get directsound to work if i select it in reclock.
nevcairiel
5th February 2011, 22:43
actually, i think i see the problem. I was using Wasapi as my audio interface. I can get downmixing to work if I use directsound.
That'll do it. WASAPI skips the windows mixer.
On a related note, I've noticed that lavcaudio won't connect to default directsound device. I can only get directsound to work if i select it in reclock.
You're using 0.13 i assume?
You can try the debug build i posted 2 pages back, it fixed a bug with connections
http://files.1f0.de/lavf/LAVCAudio-0.13-debug1.zip
0.14 will be out tomorrow, though.
bjd
5th February 2011, 23:07
actually, i think i see the problem. I was using Wasapi as my audio interface. I can get downmixing to work if I use directsound.
Right, I am using XP and Reclock/Kernel Steaming for bit exact rendering. The Realtek has no issues downmixing.
I have had no direct sound issues with lavc either when testing.
For what it's worth reclock is the way to go with a decent audio decoder like lavc.
0.14 will be out tomorrow, though.
@nevcairiel Many thanks.
mindbomb
6th February 2011, 00:20
i tested on a realtek alc 882's analog output, and alc 883's digital output, and when using wasapi in windows 7, i had no downmixing, so sound was messed up on things greater than 2 channels.
but i don't mind using directsound and lavcaudio, because i still find that better than wasapi and ffdshow. Ideally ofc I would like wasapi and lavcaudio.
bjd
6th February 2011, 00:25
Interesting, the only odd thing I have noticed with the Realtek un der XP is when in multichannel mode, the spdif will only output front L & R.
On my Windows7 work PC, i have not encountered any WASAPI anomalies, but happy to stick with XP on the home media server whilst I still can.
mindbomb
6th February 2011, 00:32
spdif only does support a maximum of 2 channel pcm, so that might explain that multichannel problem.
bjd
6th February 2011, 00:42
spdif only does support a maximum of 2 channel pcm, so that might explain that multichannel problem.
Sure, just would have expected a downmix like you get in 2ch mode.
mindbomb
6th February 2011, 01:46
I think i may have found a lavfsplitter bug.
If you double click on lavfsplitter while it is in the external filter list, and try to put in a preference for audio and subtitle tracks, they won't stick.
It does work if you go through play>filters, and set it there.
pankov
6th February 2011, 03:31
nevcairiel,
I've sent you a PM with couple of samples that don't work with your splitter.
sample_A.mkv brings an error "Cannot load specified file" when I try to add lavfsplitter in GraphStudio. The "special" thing about this file is that it has huge amount of embedded subtitles ... 40 if I remember correctly. Haali splitter doesn't work on it too but MPC's MatroskaSplitter.ax works just fine.
sample_G.mkv crashesh GraphStudio without even given an error. The "special" thing about it is that it has two "versions" of the movie in it - both Theatrical and Extended. Haali works fine with it and gives the option to switch the streams while MPC's splitter doesn't show the two streams.
I really hope that your splitter will be "the one to rule them all".
It's been a few months since the last time I used the LAVFSplitter and I thought I should give it a try one more time.
So here is my report:
Sadly, the LAVFSplitter still doesn't work in ZoomPlayer. Nevcairiel, I'm not exactly sure why this is the only splitter that doesn't work in ZP but if you find the time can you, please, test it with ZP's trial version to see if you can do anything about it or it's solely ZP's fault.
Nevertheless I did some tests with GraphStudio and I got mixed results with the above mentioned samples (nevcairiel, I can send you the links again if you happen to delete them). Sample_A still brings the same "Cannot load specified file" error. Now there is progress with Sample_G - it doesn't anymore crash GraphStudio and plays fine, but sadly, in the Stream selection menu there is no option to select the "edition". I guess you didn't find the time to add support for ordered chapters yet, right?
In general I have very high expectation from this splitter (and now the audio decoder) so I'm looking for next versions and I really do hope that it will be supported in ZoomPlayer.
nevcairiel
6th February 2011, 10:14
Editision/Ordered Chapters are not supported, and won't be for quite a while. libavformat does not support it, and its quite a complicated feature to add.
I still have your samples, i can look into the one that doesn't work at all.
How many streams does that file have exactly?
PS:
I just installed ZoomPlayer 7.00 MAX, opened some MKV file (I don't have any other MKV Splitter installed), and it uses LAVSplitter just fine.
nevcairiel
6th February 2011, 10:51
I still have your samples, i can look into the one that doesn't work at all.
How many streams does that file have exactly?
It was like 44 streams. Anyway, i disabled the maximum stream limit in ffmpeg (which is scheduled to be removed for the next ffmpeg version bump), and the file loads fine now.
bjd
6th February 2011, 11:22
If you double click on lavfsplitter while it is in the external filter list, and try to put in a preference for audio and subtitle tracks, they won't stick.
Workds for me in Vista/Mpc-Hc 1.4.1.2860 if go to View > Options > External Filters
pankov
6th February 2011, 12:08
Editision/Ordered Chapters are not supported, and won't be for quite a while. libavformat does not support it, and its quite a complicated feature to add.
I understand and will be patient. :thanks:
PS:
I just installed ZoomPlayer 7.00 MAX, opened some MKV file (I don't have any other MKV Splitter installed), and it uses LAVSplitter just fine.Now that's very strange. Can I guess that you didn't configured ZP in "Smart Play" mode?
You can change this from Options->Playback->Smart Play.
After this you can configure selected splitters/decoders for all the different format/containers.
If you'd like I can send you my full configuration so you won't bother getting to know ZP's config ... unless now that you've tried it you like it and decide to use it.
It was like 44 streams. Anyway, i disabled the maximum stream limit in ffmpeg (which is scheduled to be removed for the next ffmpeg version bump), and the file loads fine now.
Yes, there are many, but I'm very glad you've removed the limit.
:)
PS:
I just noticed a very insignificant problem with install_xxx.bat files. When you call "cd /d %~dp0" you've omit the quotes around %~dp0 and it gives an error if the path to this batch file contains spaces. In general I'm not sure why we ever need this "CD" command but I guess it doesn't hurt.
nevcairiel
6th February 2011, 12:28
Now that's very strange. Can I guess that you didn't configured ZP in "Smart Play" mode?
You can change this from Options->Playback->Smart Play.
After this you can configure selected splitters/decoders for all the different format/containers.
If you'd like I can send you my full configuration so you won't bother getting to know ZP's config ... unless now that you've tried it you like it and decide to use it.
Looks like it was in Smart Play mode on its own. Since i don't have any other MKV Splitter, it basically has no choice but to use it. But its working just fine.
The option for Matroska was pre-configure to File Source (Async.), configuring it explicitly to LAV Splitter still works.
Since it works with the players Default configuration, it really doesn't look like a problem on my end, or if it is, i have no idea what.
If the ZP author cares, he could shed some light on this.
pankov
6th February 2011, 12:39
If I'm not pushing it too much can you look one more time at ZP's configuration window and check if you have "Show Smart Play graph creation errors (useful for debugging)" enabled and probably disable "When Smart Play fails to create a graph, fall-back to DirectShow graph creation". Both settings can be found in Options->Playback->Smart Play->Settings & Black List. You need to be in "Advanced Mode" (use the button in the bottom left corner) to see this options an the whole "Settings & Black List" tab.
nevcairiel
6th February 2011, 12:47
Yeah that fails, but the error message is really not useful.
pankov
6th February 2011, 12:55
Yes, I guessed so.
I was just hoping you'll be able to somehow miraculously find a way to fix it by comparing the way ZP builds the graph in this mode vs. the default non "Smart Play" mode.
I guess I was hoping for the impossible.
btw
Can you also check the problem with AVI playback. After installing LAVFSplitter ZP can't play .avi files. I gives an error
Could not find a suitable Decoder for "[Source File: Smart Play Graph].Output"
SubTypes:
{9C53931C-7D5A-4A75-B26F-4E51654DB2C0}
{00000000-0000-0000-0000-000000000000}
which is very strange.
How is it possible that installing a filter/splitter will break other?
Can you help with this?
nevcairiel
6th February 2011, 13:11
I have no idea what that Smart Play mode does to build a graph. It seems to not behave like DirectShow at all. You should really talk to the author of ZP, you paid him afterall. Maybe he can shed some light on how Smart Play works, and what information it needs to build a graph properly.
bjd
6th February 2011, 14:08
@nevcairiel
Any plans to add support for MEDIATYPE_DVD_ENCRYPTED_PACK in lavc for ac3,dts & lpcm ?
nevcairiel
6th February 2011, 14:47
@nevcairiel
Any plans to add support for MEDIATYPE_DVD_ENCRYPTED_PACK in lavc for ac3,dts & lpcm ?
That requires a full DeCSS filter in between, which will probably not happen so soon.
mindbomb
6th February 2011, 15:53
Workds for me in Vista/Mpc-Hc 1.4.1.2860 if go to View > Options > External Filters
really? even after you restart mpc hc?
bjd
6th February 2011, 18:21
really? even after you restart mpc hc?
Yes, and that information is stored by Mpc-Hc not the splitter in the registry under HCU\Software\Gabest\Media Player Classic\Filters\[Filter No]\Merit
That requires a full DeCSS filter in between, which will probably not happen so soon.
Right, I was meaning where you open a DVD in mpc-hc and it builds a graph:
Ms DVD Navigator > Audio/Video Decoders >A/V Renderers
The DVD Navigator presents MEDIA_DVD_ENCRYPTED PACK but has the DeCSS stuff not been done by Mpc-HC first - Filters like ffdhow, AC3 filter which can connect ok, they don't have some built in DeCSS filter ?
mindbomb
6th February 2011, 19:09
i ran into the wrong file length problem again.
This time, for a .m2ts with h264 video and ac3 mono.
so it appears not to be limited to just vc-1 and truehd files.
tetsuo55
6th February 2011, 19:10
Can you provide a sample?
bjd
6th February 2011, 19:39
Can you provide a sample?
I also found with the Region B version of Commando, the main 19gb movie file mpeg2/dtshd/dts/subtitles only reports 40s as the duration.
If I create a 10s sample in TsMuxer, the time is reported correctly.
nevcairiel
6th February 2011, 19:59
Report the issue to ffmpeg, not to me. Check what ffprobe/ffplay report, if its wrong there, its not something i can fix easily.
It will be fixed once i implement better BluRay support, assuming that all these files are actually on a proper BD Disc with the full BD structure.
mindbomb
6th February 2011, 20:08
same problem as bjd.
I have something that reports itself as being 58s, instead of 23min 31s
when i create a 70s sample with tsmuxer, time is reported correctly in the sample.
and yes, they are from a bluray disc.
bjd
6th February 2011, 20:17
Check what ffprobe/ffplay report, if its wrong there, its not something i can fix easily.
ffprobe correctly reports 01:30:15.81 for the main Commando .m2ts, although it looks to be getting this information from the container rather than any of the streams. To be honest as long as the filter splits ok and plays, the times does not matter that much to me.
jmone
7th February 2011, 06:34
Great Splitter! It has really developed nicely and I've only a couple of things from testing.
The first one is that it does not seem to connect th audio track of an MPG container with a PCM track to an Audio "decoder" or "renderer". See below for:
1) Media Info dump on a sample file
2) Direct Show filter info with LAV Splitter (no audio)
3) Direct Show filter info with FileSouce & MPC Splitter (plays fine)
==========================
Media Info
General
Complete name : \\RUMPUS\Media3\Video\Test\DVD MPEG PCM.mpg
Format : MPEG-PS
File size : 254 MiB
Duration : 3mn 59s
Overall bit rate : 8 882 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Duration : 3mn 59s
Bit rate mode : Variable
Bit rate : 7 169 Kbps
Nominal bit rate : 8 264 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.691
Stream size : 205 MiB (81%)
Audio
ID : 160 (0xA0)
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Signed
Muxing mode : DVD-Video
Duration : 3mn 59s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 43.8 MiB (17%)
Direct Show Filter Info - Not working with LAV Filter
Filter Graph Info:
Filter 'Enhanced Video Renderer'
CLSID: {FA10746C-9B63-4B6C-BC49-FC300EA5F256}
Host: c:\windows\syswow64\evr.dll
Input Pin 'EVR Input0'
Connected to pin 'Out' of filter 'ffdshow Video Decoder'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_YUY2, Format type FORMAT_VideoInfo2
Input Pin 'EVR Input1'
Filter 'ffdshow Video Decoder'
CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
Host: c:\program files (x86)\ffdshow\ffdshow.ax
Input Pin 'In'
Connected to pin 'Video' of filter '\\RUMPUS\Media3\Video\Test\DVD MPEG PCM.mpg'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
Output Pin 'Out'
Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_YUY2, Format type FORMAT_VideoInfo2
Input Pin 'In Text'
Filter '\\RUMPUS\Media3\Video\Test\DVD MPEG PCM.mpg'
CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
Host: c:\users\mum and dad\downloads\lavfsplitter-0.13\lavfdshowsplitter.ax
Output Pin 'Video'
Connected to pin 'In' of filter 'ffdshow Video Decoder'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
Output Pin 'Audio'
Direct Show Filter Info - Working with File Source and MPC Splitter.
Filter Graph Info:
Filter 'ReClock Audio Renderer'
CLSID: {9DC15360-914C-46B8-B9DF-BFE67FD36C6A}
Host: c:\program files (x86)\reclock\reclock.dll
Input Pin 'In'
Connected to pin 'Out' of filter 'ffdshow Audio Decoder'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_IEEE_FLOAT, Format type FORMAT_WaveFormatEx
Filter 'Enhanced Video Renderer'
CLSID: {FA10746C-9B63-4B6C-BC49-FC300EA5F256}
Host: c:\windows\syswow64\evr.dll
Input Pin 'EVR Input0'
Connected to pin 'Out' of filter 'ffdshow Video Decoder'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_YUY2, Format type FORMAT_VideoInfo2
Input Pin 'EVR Input1'
Filter 'ffdshow Audio Decoder'
CLSID: {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
Host: c:\program files (x86)\ffdshow\ffdshow.ax
Output Pin 'Out'
Connected to pin 'In' of filter 'ReClock Audio Renderer'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_IEEE_FLOAT, Format type FORMAT_WaveFormatEx
Input Pin 'In'
Connected to pin 'Output' of filter 'J. River Media Proxy Audio'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_DVD_LPCM_AUDIO, Format type FORMAT_WaveFormatEx
Input Pin 'In2'
Filter 'ffdshow Video Decoder'
CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
Host: c:\program files (x86)\ffdshow\ffdshow.ax
Input Pin 'In'
Connected to pin 'Output' of filter 'J. River Media Proxy Video'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
Output Pin 'Out'
Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_YUY2, Format type FORMAT_VideoInfo2
Input Pin 'In Text'
Connected to pin 'No subtitles' of filter 'MPC - Mpeg Splitter (Gabest)'
Major type Unknown GUID Name: {E487EB08-6B26-4BE9-9DD3-993434D313FD} Sub type Unknown GUID Name: {04EBA53E-9330-436C-9133-553EC87031DC}, Format type FORMAT_None
Input Pin 'In Text 2'
Filter 'J. River Media Proxy Audio'
CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
Host:
Input Pin 'Input'
Connected to pin 'Audio - DVD LPCM, 48.0 kHz, 2 chn, 16 bit, 1536.0 kbit/s (0000,bd,a0)' of filter 'MPC - Mpeg Splitter (Gabest)'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_DVD_LPCM_AUDIO, Format type FORMAT_WaveFormatEx
Output Pin 'Output'
Connected to pin 'In' of filter 'ffdshow Audio Decoder'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_DVD_LPCM_AUDIO, Format type FORMAT_WaveFormatEx
Filter 'J. River Media Proxy Video'
CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
Host:
Input Pin 'Input'
Connected to pin 'Video - MPEG2, Spatially Scalable Profile, Level 8, 720x576, 25.000 fps, 8264.0 kbit/s (0000,e0,00)' of filter 'MPC - Mpeg Splitter (Gabest)'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
Output Pin 'Output'
Connected to pin 'In' of filter 'ffdshow Video Decoder'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
Filter 'MPC - Mpeg Splitter (Gabest)'
CLSID: {DC257063-045F-4BE2-BD5B-E12279C464F0}
Host: c:\temp\mpegsplitter.ax
Output Pin 'Video - MPEG2, Spatially Scalable Profile, Level 8, 720x576, 25.000 fps, 8264.0 kbit/s (0000,e0,00)'
Connected to pin 'Input' of filter 'J. River Media Proxy Video'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_MPEG2_VIDEO, Format type FORMAT_MPEG2_VIDEO
Output Pin 'Audio - DVD LPCM, 48.0 kHz, 2 chn, 16 bit, 1536.0 kbit/s (0000,bd,a0)'
Connected to pin 'Input' of filter 'J. River Media Proxy Audio'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_DVD_LPCM_AUDIO, Format type FORMAT_WaveFormatEx
Output Pin 'No subtitles'
Connected to pin 'In Text' of filter 'ffdshow Video Decoder'
Major type Unknown GUID Name: {E487EB08-6B26-4BE9-9DD3-993434D313FD} Sub type Unknown GUID Name: {04EBA53E-9330-436C-9133-553EC87031DC}, Format type FORMAT_None
Input Pin 'Input'
Connected to pin 'Output' of filter 'File Source (Async.)'
Major type MEDIATYPE_Stream Sub type Unknown GUID Name: {9C53931C-7D5A-4A75-B26F-4E51654DB2C0}, Format type TIME_FORMAT_NONE
Filter 'File Source (Async.)'
CLSID: {E436EBB5-524F-11CE-9F53-0020AF0BA770}
Host: c:\windows\syswow64\quartz.dll
Output Pin 'Output'
Connected to pin 'Input' of filter 'MPC - Mpeg Splitter (Gabest)'
Major type MEDIATYPE_Stream Sub type Unknown GUID Name: {9C53931C-7D5A-4A75-B26F-4E51654DB2C0}, Format type TIME_FORMAT_NONE
jmone
7th February 2011, 07:56
Here is a link to the sample MPG/PCM discussed above: http://www.megaupload.com/?d=SZZ3GPTD
nevcairiel
7th February 2011, 08:22
Thats weird, dvd-type PCM should work. I'll have a look at that sample when i get home.
jmone
7th February 2011, 09:20
Thanks still testing away - but this latest verion of your splitter is really very very good!
Another Q on Forced Subs - I've attached a mediainfo dump of a sample Blu --> MKV with forced subs muxed in and they display fine with FFDSHOW when you select them. How should LAV Splitter be configed to automatically select the subs instead of "none".
General
Unique ID : 210922638537066824643914718731675516789 (0x9EAE38F91657C6ED84C515EEBC163F75)
Complete name : X:\Output\Blu2mkv Forced Sub.mkv
Format : Matroska
File size : 18.6 GiB
Duration : 1h 52mn
Overall bit rate : 23.7 Mbps
Movie name : test
Encoded date : UTC 2011-02-07 07:59:53
Writing application : mkvmerge v4.5.0 ('Speed of Light') built on Feb 1 2011 02:10:32
Writing library : libebml v1.2.0 + libmatroska v1.1.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 52mn
Bit rate mode : Variable
Bit rate : 21.6 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.435
Stream size : 17.0 GiB (91%)
Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Codec ID : A_DTS
Duration : 1h 52mn
Bit rate mode : Variable
Bit rate : 1 561 Kbps / 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless / Lossy
Title : DTS Master Audio
Language : English
Text
ID : 3
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : English
Menu
00:00:00.000 : en:00:00:00.000
00:06:22.340 : en:00:06:22.340
00:13:25.346 : en:00:13:25.346
nevcairiel
7th February 2011, 09:23
If the MKV has the forced subs flag, you can configure it to "Only Forced Subs" and set your preferred languages (or no languages, then any forced subs are choosen). If that flag is not set, you need to select "Always full subs", which will always enable one sub track matching your language.
robpdotcom
7th February 2011, 10:18
I have several mkv's with forced subs, but they never load when "Only Forced Subs" is checked. They all contain 2 subtitle streams - the normal subs are set with forced flag "no", default flag "no", and the forced subs are set with forced flag "yes" and default flag "yes".
nevcairiel
7th February 2011, 10:20
Could you create a small sample with the streams flagged like that?
I thought i tested that to work properly, but i cannot find my sample anymore.
jmone
7th February 2011, 10:45
Another one for you. There have been some bug posts about MKV not starting playback but a seek will get it playing with your splitter. In testing some Blu --> MKV rips it seems to be related to the version of MKVMerge that is used. The same rip using MKVmerge V4.3.0 has the issue, but I just redid it with V4.5.0 and these ones play fine.
jmone
7th February 2011, 11:39
Here you go - a 1 min sample with subs http://www.megaupload.com/?d=CNKNOIPG . I also have an issue where the subs stop displaying but I've posted on the FFDSHOW forum to see if they know why http://forum.doom9.org/showthread.php?p=1476180#post1476180
robpdotcom
7th February 2011, 22:19
Here's another sample - with 2 streams as I described above:
http://www.megaupload.com/?d=J2TLX3XN
jmone
8th February 2011, 09:47
I can also post the same segment in a M2TS container if that is of use.
Stebet
8th February 2011, 13:19
Short question regarding the audio codecs. I use Microsoft's Expression Encoder (EE for short) a lot but doing a 2-pass encoding of AC3 has so far been impossible due to the fact that both ac3filter and ffdshow seem to not return the same data for two-passes in a row. I don't know how common it is for these codecs to return inconsistent data for the same file when decoding the same file, but I find it weird but that seems to be the case with both ac3filter and ffdshow.
Is this something that you guys have any control over or is it completely under the control of the audio library developers?
Also, if you could test your splitter to make sure it works properly with EE that would be awesome, since EE is rather sensitive to codecs and splitters doing the slightest things abnormally.
So far I've found the MKV splitter working well with EE, but the audio codecs are not able to get EE to recognize AC3 audio inside an MKV. I haven't tested other audio codecs so far.
nevcairiel
9th February 2011, 09:15
I'm trying to figure out the video-does-not-start issue some people keep reporting.
Can someone reproduce it 100%?
If yes:
- What player?
- What decoders?
- What renderers?
- Any other filters in the graph?
- Sample it happens with?
Virtual_ManPL
9th February 2011, 10:11
Here's the main bug about it, bug # 23 (https://github.com/Nevcairiel/LAVFSplitter/issues#issue/23)
And I added some more info as I work now on Win 7 64bit
(lol, close it accidentally second time...)
And this bug looks like it will be related to bug #29 (https://github.com/Nevcairiel/LAVFSplitter/issues#issue/29) and bug #31 (https://github.com/Nevcairiel/LAVFSplitter/issues#issue/31)
jmone
9th February 2011, 10:56
I'm trying to figure out the video-does-not-start issue some people keep reporting.
Can someone reproduce it 100%?
If yes:
- What player?
- What decoders?
- What renderers?
- Any other filters in the graph?
- Sample it happens with?
Sure - it is 100% repeatable if you use an older version of the MKVMerge (and/or MatroskaSplitter ?) install package to create the MKV. The other sample I provided for looking at subtitles were created with V4.5 of MKVMerge and they play fine, it seems to be an issue with files created with earlier versions where they either:
1) get "stuck" at the start unless you do a seek,
2) seem to play but there is video or sound, or
3) play with video but no sound
Yet, it is fine if once playing you seek back to the start - it is just an issue the first time you try to play it (as MC remembers the playback position it is fine post the first play). Here is a 30sec clip - let me know if you need more details or other samples etc http://www.megaupload.com/?d=TSBWNB6A - for me this sample plays but without sound till I do a seek. FYI - The full version I cut this first 30sec off will not play at all till an initial seek is done. There must be a difference in the header used by V4.5 of MKVMerge...Good Luck!
Media Info Dump
General
Unique ID : 181394820644180377279347843185022479491 (0x88775F26A6FFB6F0BD3E260EC46A2C83)
Complete name : G:\Media3\Video\Test\Not working.mkv
Format : Matroska
File size : 60.1 MiB
Duration : 30s 635ms
Overall bit rate : 16.5 Mbps
Movie name : District 9 (2009)
Encoded date : UTC 2011-02-09 09:32:07
Writing application : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 6 2010 16:18:42
Writing library : libebml v1.0.0 + libmatroska v1.0.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 30s 656ms
Bit rate mode : Variable
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 30s 635ms
Bit rate mode : Variable
Channel(s) : 6 channels
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Title : Flac
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)
Language : English
Text
ID : 3
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : English
Menu
00:00:00.000 : en:00:00:00.000
Filter Info from JR Media Center
Filter Graph Info:
Filter 'ReClock Audio Renderer'
CLSID: {9DC15360-914C-46B8-B9DF-BFE67FD36C6A}
Host: c:\program files (x86)\reclock\reclock.dll
Input Pin 'In'
Connected to pin 'Out' of filter 'ffdshow Audio Decoder'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_IEEE_FLOAT, Format type FORMAT_WaveFormatEx
Filter 'Enhanced Video Renderer'
CLSID: {FA10746C-9B63-4B6C-BC49-FC300EA5F256}
Host: c:\windows\syswow64\evr.dll
Input Pin 'EVR Input0'
Connected to pin 'Out' of filter 'ffdshow Video Decoder'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_YUY2, Format type FORMAT_VideoInfo2
Input Pin 'EVR Input1'
Filter 'ffdshow Audio Decoder'
CLSID: {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
Host: c:\program files (x86)\ffdshow\ffdshow.ax
Output Pin 'Out'
Connected to pin 'In' of filter 'ReClock Audio Renderer'
Major type MEDIATYPE_Audio Sub type MEDIASUBTYPE_IEEE_FLOAT, Format type FORMAT_WaveFormatEx
Input Pin 'In'
Connected to pin 'Audio' of filter 'lavf dshow source filter'
Major type MEDIATYPE_Audio Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
Input Pin 'In2'
Filter 'ffdshow Video Decoder'
CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
Host: c:\program files (x86)\ffdshow\ffdshow.ax
Input Pin 'In'
Connected to pin 'Video' of filter 'lavf dshow source filter'
Major type MEDIATYPE_Video Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
Output Pin 'Out'
Connected to pin 'EVR Input0' of filter 'Enhanced Video Renderer'
Major type MEDIATYPE_Video Sub type MEDIASUBTYPE_YUY2, Format type FORMAT_VideoInfo2
Input Pin 'In Text'
Connected to pin 'Subtitle' of filter 'lavf dshow source filter'
Major type Unknown GUID Name: {E487EB08-6B26-4BE9-9DD3-993434D313FD} Sub type Unknown GUID Name: {F7239E31-9599-4E43-8DD5-FBAF75CF37F1}, Format type Unknown GUID Name: {F7239E31-9599-4E43-8DD5-FBAF75CF37F1}
Input Pin 'In Text 2'
Filter 'lavf dshow source filter'
CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
Host: c:\users\mum and dad\downloads\lavfsplitter-0.13\lavfdshowsplitter.ax
Output Pin 'Video'
Connected to pin 'In' of filter 'ffdshow Video Decoder'
Major type MEDIATYPE_Video Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
Output Pin 'Audio'
Connected to pin 'In' of filter 'ffdshow Audio Decoder'
Major type MEDIATYPE_Audio Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
Output Pin 'Subtitle'
Connected to pin 'In Text' of filter 'ffdshow Video Decoder'
Major type Unknown GUID Name: {E487EB08-6B26-4BE9-9DD3-993434D313FD} Sub type Unknown GUID Name: {F7239E31-9599-4E43-8DD5-FBAF75CF37F1}, Format type Unknown GUID Name: {F7239E31-9599-4E43-8DD5-FBAF75CF37F1}
bjd
9th February 2011, 11:48
I can only replicate this with certain mkv's on Vista/XP providing the splitter connects directly to ffdshow only. I do not have this problem with Windows 7 on identical playback configurations.
Splitting the mkv to provide a 10 second sample cures the issue frustratingly.
I have virtually moved away from ffdshow now lavc has no DRC, but do fall back to it if opening an .ifo or DVD in mpc-hc as lavc only caters for MEDIATYPE_Audio not MEDIATYPE_MPEG2_PACK/PES or DVD_ENCRYPTEDPACK even though I am fairly certain this is just a placeholder container as the DeCSS has been done by Mpc-Hc, or when playing a non DeCSS disc, MEDIATYPE_DVD_ENCRYPTEDPACK is still presented.
jmone
9th February 2011, 12:17
The lavc audio decoder is interesting. What formats does it currently support?
nevcairiel
9th February 2011, 12:20
The lavc audio decoder is interesting. What formats does it currently support?
If used with LAV Splitter, basically all audio formats ffmpeg supports (thats alot).
With any other splitter, it supports all the common formats, DTS, (E)AC3, AAC, MP1/2/3, TrueHD*, QT PCM types, FLAC, Ogg Vorbis (not 100% compatible with all splitters yet), LPCM
*TrueHD is not supported when used with the MPC-HC MPEG Splitter, because it doesn't properly identify TrueHD as such, and trys to send it as AC-3.
jmone
9th February 2011, 12:23
If the MKV has the forced subs flag, you can configure it to "Only Forced Subs" and set your preferred languages (or no languages, then any forced subs are choosen). If that flag is not set, you need to select "Always full subs", which will always enable one sub track matching your language.
The issue is that it seems to display the subs for a second or so then it just stops showing them till you turn them off then on again (then repeat process). If I use Haali then they seem to be fine (note: Haali loads VOBSUB as a seperate filter while LAVSplitter is just using FFDSHOW and I've received no further insight from the post over in that thread)
Thanks
Nathan
jmone
9th February 2011, 12:27
If used with LAV Splitter, basically all audio formats ffmpeg supports (thats alot).
With any other splitter, it supports all the common formats, DTS, (E)AC3, AAC, MP1/2/3, TrueHD*, QT PCM types, FLAC, Ogg Vorbis (not 100% compatible with all splitters yet), LPCM
*TrueHD is not supported when used with the MPC-HC MPEG Splitter, because it sucks.
Thanks - I'll do some more testing and report back. I'm using JR Media Center as my Direct Show player and I can select what combination of filters for it to try to build a graph with. With a quick play, I'm getting some working really well, some where it is not connecting, and some where it is hanging. I'll give a fuller update tommorow with luck.
Ger
9th February 2011, 19:34
I'm trying to figure out the video-does-not-start issue some people keep reporting.
Can someone reproduce it 100%?
If yes:
- What player?
- What decoders?
- What renderers?
- Any other filters in the graph?
- Sample it happens with?
Since jmone provided mkv info, I've just sent an avi sample with the same issue by PM.
Forgot to mention renderers in the PM. I've tested both EVR Custom and EVR Sync. Both have the same issue. No other unusual filters. Decoders doesn't seem to matter.
Only seeking, starting from a non-zero position or using another splitter fixes the issue.
BatKnight
9th February 2011, 20:36
If used with LAV Splitter, basically all audio formats ffmpeg supports (thats alot).
With any other splitter, it supports all the common formats, DTS, (E)AC3, AAC, MP1/2/3, TrueHD*, QT PCM types, FLAC, Ogg Vorbis (not 100% compatible with all splitters yet), LPCM
*TrueHD is not supported when used with the MPC-HC MPEG Splitter, because it doesn't properly identify TrueHD as such, and trys to send it as AC-3.
I've also noticed that m2ts files with DTS-HD MA tracks spllitted by LAVSplitter and decoded by LAVadio just outputs bursts of static noise. I don't know if MKV with DTS-HD MA also does the same, because I don't have any file that way.
But I do know that MKV with regular DTS plays ok.
These m2ts files with DTS-HD MA were from Blurays.
Can anyone also reproduce this?
Bat
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.