View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
ppp0941
1st December 2011, 14:37
how can I generate thumbnail in win7 x64???
THX
nevcairiel
1st December 2011, 14:40
Let me make that clear one last time:
LAV does NOT generate thumbnails for you!
It never has, and it never will. The Thumbnail generator in Explorer will just use whatever DirectShow filters you have installed to create thumbnails - which could be LAV, but LAV is otherwise in no way related to thumbnails!
kerimcem
1st December 2011, 15:42
not open thumbnail mkv and flv
where option?
x86 win7:(
nevcairiel
1st December 2011, 15:43
I give up, people just don't read.
I wish i could ban people from my own thread for failing basic reading comprehension.
SamuriHL
1st December 2011, 15:50
Holy snikes people are stupid. Basic reading comprehension 101 = FAIL!
kerimcem
1st December 2011, 15:51
I give up, people just don't read.
I wish i could ban people from my own thread for failing basic reading comprehension.
sorry :stupid:my bad english..
http://www.videohelp.com/tools/Icaros
ıcaros works well mkv thumb..
SamuriHL
1st December 2011, 15:52
sorry :stupid:my bad english..
http://www.videohelp.com/tools/Icaros
ıcaros works well mkv thumb..
But that's also not part of LAV Filters. It can USE LAV Filters, but, Nev didn't write it. :)
Paladin77
1st December 2011, 15:55
LOL!
Nev you could suggest doom9 admins give Recognized developers privileges to lets say Recognized developers lol. These have control over their created threads. At least that is what we do at xda developers.
and as kerimcem said. Icaros works well with LAV in thumbnail generation.
gendouhydeist
1st December 2011, 16:02
I've just found a solution to it, use Codec Tweak Tool then enable mkv thumbnails that's it. Though there will be the problem with thumbnail offsets... otherwise use Icaros.
http://www.free-codecs.com/download/codec_tweak_tool.htm
Shark007
1st December 2011, 18:20
otherwise use Icaros.
THIS UPDATE (http://code.google.com/p/lavfilters/source/detail?r=79323509fc684215351dc0a19d164047fcdb1a73) where you added explorer.exe to list of applications breaks Icaros ability to provide thumbnails.
EDIT: The Icaros author has requested that I recant this post until he has time for further testing.
nevcairiel
1st December 2011, 19:01
All that it does is disable subtitles when running under explorer.exe, if it breaks his thumbnails, he is doing it wrong. :P
Midzuki
1st December 2011, 20:23
Video thumbnails in Windows Explorer are pointless,
don't use them,
case solved. :) :p :D
SamuriHL
1st December 2011, 20:29
At the very least, thumbnails have NOTHING to do with LAV Filters...The tools can consume LAV Filters in order to create the thumbnails, I guess, but, players consume LAV Filters, too. :D
T3rm1
1st December 2011, 21:40
I just installed LAV Audio and LAV Splitter and for the first time my AV receiver lights up the DolbyTrueHD sign, yay!
Unfortunately I discovered that the audio is slightly out of sync. It's not very much, maybe 50ms.
LAV Audio has an option "Auto A/V Sync correction". What does it do? Does it turn on the HDMI Lib Sync Feature?
I discovered the 50 ms delay on a scene with gunfire. If I play it on VLC and on my pc monitor with sound coming from pc speakers it matched perfectly. However on my TV with sound coming from the AV receiver it's slightly off.
:(
Paladin77
1st December 2011, 23:14
I just installed LAV Audio and LAV Splitter and for the first time my AV receiver lights up the DolbyTrueHD sign, yay!
Unfortunately I discovered that the audio is slightly out of sync. It's not very much, maybe 50ms.
LAV Audio has an option "Auto A/V Sync correction". What does it do? Does it turn on the HDMI Lib Sync Feature?
I discovered the 50 ms delay on a scene with gunfire. If I play it on VLC and on my pc monitor with sound coming from pc speakers it matched perfectly. However on my TV with sound coming from the AV receiver it's slightly off.
:(
Well I am an ultra super newbie to this. So anyone, feel free to intervene and correct me am Still learning slowly lol. But may I suggest you trying reclock (http://www.free-codecs.com/download/ReClock_DirectShow_Filter.htm) to fix your sound sync issues. Here is a good tutorial for it: http://www.homecinema-hd.com/reclock_en.html
hope it helps
pirlouy
2nd December 2011, 00:35
@T3rm1: Maybe this delay is caused by your AVR being slow to decode DolbyTrueHD ! If you disable bitstreaming, do you have this delay ?
Andy o
2nd December 2011, 02:23
I'd say he's running two different audio devices and displays so anything's possible. The obvious way to test would be to decode with LAV both times, and not with switch to VLC (or not switch monitors/audio devices when switching to VLC). T3rm1, are you running different refresh rates for the two scenarios you describe? Is the audio delayed, or the video? If so to the former, try running your TV at the same rate as the monitor and see if it's the same then.
TDiTP_
2nd December 2011, 03:00
Lav Audio decodes this TrueHD 6.1 configuration:
http://thumbnails66.imagebam.com/16229/dc8211162281602.jpg (http://www.imagebam.com/image/dc8211162281602)
to WAVE_FORMAT_EXTENSIBLE with MaskChannels = 0x1060F (FL FR FC LF SL SR TBC). I think it isn't properly, there is no 'Top Back Center' in such configuration. Correct Mask must be 9743 (FL FR FC LF SL SR TFC). BTW eac3to uses just such mask for decoding this type of THD 6.1.
The same story for this configuration:
http://thumbnails59.imagebam.com/16229/db0a9a162281605.jpg (http://www.imagebam.com/image/db0a9a162281605)
Lav Audio decodes it to WAVE_FORMAT_EXTENSIBLE with MaskChannels = 0x1060F (FL FR FC LF SL SR TBC). I think mask must be 3599 (FL FR FC LF SL SR TC). Again, eac3to uses the same.
I have done samples for each configuration: http://www.mediafire.com/?gxd8v5vb3ck8a6d (there're input wavs and output THDs).
mr.duck
2nd December 2011, 03:23
I have TS files where the subtitles do not show. They are from DVB-T recordings. It could be a bug in LAVSplitter or maybe it needs to be supported in MPC HC subtitle renderer? I could provide a sample.
Plus here's a handy little INSTALL.BAT file (rather than having 3 separate install .BATs)...
FOR %%G IN (*.ax) DO (regsvr32 %%G)
chapas
2nd December 2011, 06:12
Hello nevcairiel.
I was using LAV Splitter 0.37 with nice results, and I updated to 0.42 and now seeking in mkv files has delays. It happens with all h264 files it seems.
I'm decoding audio with ffshow, and video with CoreAVC.
The one I tried is:
Video: MPEG4 Video (H264) 1280x720 23.98fps [Video]
Audio: Dolby AC3 48000Hz 6ch 384kbps [Audio]
LAV Splitter 0.37 + CoreAVC = Fast seeking
LAV Splitter 0.42 + CoreAVC = Sloppy seeking
LAV Splitter 0.42 + ffdshow video = Fast seeking
Haali Splitter + CoreAVC = Sloppy seeking
Maybe it's the new splitter?
Sorry if this was mentioned or known, but I read a couple pages back and nothing came up.
Thanks.
nevcairiel
2nd December 2011, 09:27
Lav Audio decodes this TrueHD 6.1 configuration to WAVE_FORMAT_EXTENSIBLE with MaskChannels = 0x1060F (FL FR FC LF SL SR TBC). I think it isn't properly, there is no 'Top Back Center' in such configuration. Correct Mask must be 9743 (FL FR FC LF SL SR TFC). BTW eac3to uses just such mask for decoding this type of THD 6.1.
The same story for this configuration:
Lav Audio decodes it to WAVE_FORMAT_EXTENSIBLE with MaskChannels = 0x1060F (FL FR FC LF SL SR TBC). I think mask must be 3599 (FL FR FC LF SL SR TC). Again, eac3to uses the same.
Thanks, i found the problem and a patch to solve it, will apply it later, it should make all "unusual" channel layouts behave more sanely.
Not sure which typical speakers those should be output to, though - who really has a TFC or TC speaker? :d
XadoX
2nd December 2011, 11:45
Can the LAV Video decoder use DXVA or CUVID?
golagoda
2nd December 2011, 11:58
Can the LAV Video decoder use DXVA or CUVID?
Yes it can, there's an option to enable CUVID hardware decoding in the lav video options... it's set to not be used by default though since it only works on Nvidia GPU's.
XadoX
2nd December 2011, 12:53
Ok thx for the feedback.
dann23
2nd December 2011, 13:23
Yes it can, there's an option to enable CUVID hardware decoding in the lav video options... it's set to not be used by default though since it only works on Nvidia GPU's.
we also hope that someday maybe nevcairiel thinks about radeon owners :) and I won't mentions subtitles support because he already feels guilty that many people are using wmp and wmc with lav splitter :D
Mixer73
2nd December 2011, 13:35
we also hope that someday maybe nevcairiel thinks about radeon owners :) and I won't mentions subtitles support because he already feels guilty that many people are using wmp and wmc with lav splitter :D
Actually AMD needs to think about Radeon owners...
Pat357
2nd December 2011, 20:22
Haali Splitter + CoreAVC = Sloppy seeking
That's kind of odd, because the "recent" changes in HMS are the results of a very close corporation between HMS developer and CoreAVC developer(s).
As you certainly know, CoreAVC comes even bundled with the Haali splitter as their default splitter!
Maybe it's the new splitter?
Not sure, but, as I understand it, recent lav-splitter versions are a more "Haali alike" then say v0.37. It could of course as well be an issue with CoreAVC.
I stopped using CoreAVC shortly after the v3.0 release and went to LAV video. I don't think I'll ever consider switching back : CoreCodec is a way too slow for me for fixing issues & releasing bugfixes.
Anyway, I'm currently very happy with LAV (splitter + audio + video) !
chapas
3rd December 2011, 01:20
I have an ATI card, so no hardware acceleration for LAV Video, hence CoreAVC. I read the MKV splitter changed for the latest LAV Filter releases, so I wanted to confirm if the problem is indeed CoreAVC.
nevcairiel
3rd December 2011, 01:28
CoreAVC is known for its slow seeking.
T3rm1
3rd December 2011, 01:33
I'd say he's running two different audio devices and displays so anything's possible. The obvious way to test would be to decode with LAV both times, and not with switch to VLC (or not switch monitors/audio devices when switching to VLC). T3rm1, are you running different refresh rates for the two scenarios you describe? Is the audio delayed, or the video? If so to the former, try running your TV at the same rate as the monitor and see if it's the same then.
The audio plays too late. Same problem with DolbyDTS. TV has same refresh rate.
mkanet
3rd December 2011, 06:10
Hi nevcairiel (and fellow experienced video experts):
I have a 4 year old mystery I've been trying to solve. I have the ability to capture the original mpeg2 transport stream 1080i recordings from my digital cableTV provider's cable box. For some reason, these streams are very difficult to playback smoothly on many devices. They play fine on standalone hardware media playback devices such as sageTV HD300. On my old Nvidia GT8500, these files played back perfectly as well.
However on devices that can't play it back correctly, they playback with stutter/judder. I have seen this on a few different PCs (Nvidia 8800GT, 9800GT, GT 545)
I just recently played back these files with the latest LAV Video decoder + CUVID + Nvidia GT545.
I used Reclock to see what framerate LAV Video is decoding at... and, I think I may have found the problem (or at least one problem). The frame rate for the same media file changes relatively frequently anywhere from 24fps to 47.952fps to 59.940 to 60.000fps throughout the video. If I have LAV Aggressive Deinterlacing enabled, the FPS starts changing much more frequently; sometimes within just a couple of seconds.
When the video is detected at 24.000fps, the video plays back smoothly. However, it doesn't stay on that FPS for very long.
Could you please try both samples below to see if there's a clever way to stabilize the FPS for this type of media WITHOUT adversely affecting other media files that already play back correctly? I am guessing the correct FPS is supposed to be 24fps; since that offers the most stable playback on my PC.
http://www.filedropper.com/dexter-sinofomission
http://www.filedropper.com/missionimpossible_1
Thanks a million,
MKANET
Andy o
3rd December 2011, 07:33
Haven't downloaded yet, but from the titles, it's certainly telecined content. I could do IVTC with CUVID deinterlacing and decimating with an avisynth script in ffdshow's processor (I think it was tdecimate). Right now I'm back on AMD though.
mkanet
3rd December 2011, 08:28
Hi Andy, Nvidia IVTC doesnt work on this type of content like it does with other telecined digital TV content. I'm hoping someone here can figure out a way to play these files back automatically in directshow; just like other telecined content that does playback correctly. I dont want to add processing to other files that dont need it though. The interesting thing is even my old junky Nvidia 8500GT which could barely do inverse telecine for 1080i did it just fine.. smooth as silk; and, very sharp. It would be nice to know what makes these types of files so special. Comcast has been using this format for over a decade on their non-local TV channels.
Haven't downloaded yet, but from the titles, it's certainly telecined content. I could do IVTC with CUVID deinterlacing and decimating with an avisynth script in ffdshow's processor (I think it was tdecimate). Right now I'm back on AMD though.
Andy o
3rd December 2011, 08:43
What software/filters were you using with the 8500GT to have IVTC?
mkanet
3rd December 2011, 08:58
Nothing fancy. All mpeg2 decoders with hardware acceleration enabled played these files back with no problem on the 8500GT. I vaguely remember using Nvidia Purevideo HD mpeg 2 decoder and SageTV's mpeg2 decoder (I think it's based off Mediaconcepts mpeg2 decoder. There were no LAV based video decoders back then. Intrestingly, the 8800GT; which was relatively close to the 8500GT in decoding capabilities had the same kind of stuttering issues my brand new display adapter has with this kind of media.
What software/filters were you using with the 8500GT to have IVTC?
chaddawkins
3rd December 2011, 09:41
LAV Audio playback is noticeably quieter than when I play movies with AC3Filter for every type of audio. Why? Is there some way to change this? Gain?
thanks
EDIT:
My setup - computer to tv via hdmi, tv to soundbar via optical, soundbar to sub via wireless
I barely hear anything coming from the sub.
SoBizarre
3rd December 2011, 10:01
Dexter clip (http://www.filedropper.com/dexter-sinofomission) posted by mkanet plays (almost) smoothly using PotPlayer internal MPEG2 decoder, while using LAV decoder makes it unwatchably choppy. Also, Reclock is recognizing video stream as 23.976 fps and reports changing playback speed to 24fps, while madVR is reporting file being 29,970fps. Why is all that? :confused:
dead_screem
3rd December 2011, 13:15
this probly has to do with pulldown being used but not flagged/flagged improperly in the stream. nev has done work in the past to get dvd's with non-flagged pulldown playing back right, but without the ivtc so you won't get the 24fps playback :( however lav still fails with hd mpeg2 content. you can get these to play smoothly by enabling the "treat as progressive" option, but you'd have to disable it again to get actual interlaced content working again...
fwiw mpc-hc's internal mpeg-2 decoder (libmpeg2) always plays back such content correctly.
kasper93
3rd December 2011, 15:57
There is bug with internal MPC-HC mpeg2 splitter and LAV Video. Audio goes out of sync. With any other video decoder it works fine. I use lav splitter anyway, but I think you should know about this bug.
nevcairiel
3rd December 2011, 17:05
Could you please try both samples below to see if there's a clever way to stabilize the FPS for this type of media WITHOUT adversely affecting other media files that already play back correctly? I am guessing the correct FPS is supposed to be 24fps; since that offers the most stable playback on my PC.
I tried downloading the files several times with different browsers, but all it got me were broken files (everytime in a different size!)
Please use a better file hoster.
Anyway, the problem with such files in general is that when broadcast they are quite commonly mixed progressive and telecined content - with one additional problem: Everything is coded as interlaced.
Its basically impossible to properly detect this. The only solution for "fluid" playback is to simply use half-rate deinterlacing, which means it'll deinterlace the frames, removing all interlacing artifacts, but not add additional frames. This can be done with the CUVID decoder or YADIF deinterlacing (set it to 25p/30p mode), if you rely on the renderer for deinterlacing, you cannot do this.
MPC-HCs MPEG-2 decoder by default uses its own deinterlacing, and does not send the flags to the renderer. If it would, you would probably see similar issues.
Overall, such content is just horrible, and i have no real interest and spending hours trying to fix it, i'll leave that to people that get paid to deal with crappy designs like this. (I don't watch such content either, our broadcasts are pretty sane - also, madVR seems to hide the timestamp jitter pretty well, i only really see issues with EVR-CP)
fastplayer
3rd December 2011, 17:24
I've uploaded one file to a more reliable hoster. The other one is impossible to download:
http://www.mediafire.com/?vp7lg2182d4fqag
clsid
3rd December 2011, 17:30
Can it be solved by manually overriding the (incorrect) flags?
A future tray icon could harbor such an option, shown only for content that is known for possibly having incorrect flags (like MPEG-2). For example submenu called "Interlacing" with entries like Auto-detect/Assume Progressive/Assume Interlaced/Assume IVTC. The override naturally only applies to current playback session and resets to default audio-detect for next file. Changing the setting should give on-the-fly effect, or auto perform a seek to make it apply.
sneaker_ger
3rd December 2011, 17:54
Here's the other sample:
https://rapidshare.com/files/1326861093/Dexter-SinofOmission.zip
nevcairiel
3rd December 2011, 18:01
What could be done to make them play better would be to just apply the soft-telecine if its flagged properly, resulting in a hard-telecined fluid 30fps stream. If someone wanted, they could probably IVTC that back then with AviSynth or such.
This is however a post-processing task IMHO. I set the repeat flags on the output samples, so a post-processor could handle it completely.
mr.duck
3rd December 2011, 22:39
nevcairiel, do you know much about DVB-T subtitle support in LAV splitter/MPC HC ?
I have TS files where the subtitles do not show. They are from DVB-T recordings. It could be a bug in LAVSplitter or maybe it needs to be supported in MPC HC subtitle renderer? I could provide a sample.
Plus here's a handy little INSTALL.BAT file (rather than having 3 separate install .BATs)...
FOR %%G IN (*.ax) DO (regsvr32 %%G)
mkanet
4th December 2011, 00:55
Hi NevCariel (and others), sorry for the previous unreliable file hoster. I posted on two new file hosting sites below; which should hopefully be better. I really would like some smart people to personally try to play these files.
Maybe I might have given the wrong idea... These videos aren't just a couple of unique video encodings that I'm trying to playback. Regardless of how bad of an encoding these files are, millions of people play this exact video encoding format every day 24/7 (for the last several years...and for many more); as this is the native format that the largest cable TV provider in the United States uses... Comcast. At least, this is EXACTLY how they encode all their "Premium HD" channels (not local channels). Various types of cableboxes and hardware "HD" media players have no problems decoding these files at full quality (using ALL frames). Hardware based mpeg2 decoding on modern Nvidia display adapters may need some help (not sure about ATI or Intel).
I'm hoping someone here can find a clever way to find an automatic directshow playback solution that playback these files and other files completely automatic (system-built filtergraghs and respective filter settings) without compromising picture quality; just like standalone HD media players. Ideally, having LAV Video decoder handle these types of encodings properly/automatically without quality loss.
Here they are...
http://hotfile.com/dl/136663686/0a58c79/Dext.zip.html
http://hotfile.com/dl/136662412/0ddc195/MissionImpossible.zip.html
http://www.megaupload.com/?d=8D8Q1Q5G
http://www.megaupload.com/?d=D8X708QK
Thanks so much! I would be forever grateful if there's a full quality automated directshow solution for these and other more standard files in hopefully a single video decoder.
-MKANET
I tried downloading the files several times with different browsers, but all it got me were broken files (everytime in a different size!)
Please use a better file hoster.
Anyway, the problem with such files in general is that when broadcast they are quite commonly mixed progressive and telecined content - with one additional problem: Everything is coded as interlaced.
Its basically impossible to properly detect this. The only solution for "fluid" playback is to simply use half-rate deinterlacing, which means it'll deinterlace the frames, removing all interlacing artifacts, but not add additional frames. This can be done with the CUVID decoder or YADIF deinterlacing (set it to 25p/30p mode), if you rely on the renderer for deinterlacing, you cannot do this.
MPC-HCs MPEG-2 decoder by default uses its own deinterlacing, and does not send the flags to the renderer. If it would, you would probably see similar issues.
Overall, such content is just horrible, and i have no real interest and spending hours trying to fix it, i'll leave that to people that get paid to deal with crappy designs like this. (I don't watch such content either, our broadcasts are pretty sane - also, madVR seems to hide the timestamp jitter pretty well, i only really see issues with EVR-CP)
mindbomb
4th December 2011, 01:56
i have a question.
my friend is watching the movie up, which has a 6.1 dts-hd es matrix.
he says it works, though i thought lav audio doesnt work with dts es?
Andy o
4th December 2011, 04:42
Both LAV and the dtsdecoderdll.dll do regular DTS-ES just fine, but not ES matrix. That disc has a dts-es matrix core, but the DTS-HD MA audio appears to be 5.1. I never saw the point of DTS-ES matrix, and luckily neither did most disc producers, cause there's very few discs with that audio.
mkanet
4th December 2011, 05:21
I didn't believe it until I saw it with my own eyes. Potplayer plays it very well and very sharp in detail using it's internal mpeg2 decoder with hardware acceleration without any post processing. It looks like Potplayer might have been tested with these types of interlaced television files.
NevCariel, please... could you try to see why Potplayer's FFmpeg-based hardware decoding can; and, see if it's possible to get LAV video decoder to decode these types just as well? I would very, very much appreciate it.
http://i67.photobucket.com/albums/h283/mkanet/th_Potplayer.jpg (http://i67.photobucket.com/albums/h283/mkanet/Potplayer.jpg)
Dexter clip (http://www.filedropper.com/dexter-sinofomission) posted by mkanet plays (almost) smoothly using PotPlayer internal MPEG2 decoder, while using LAV decoder makes it unwatchably choppy. Also, Reclock is recognizing video stream as 23.976 fps and reports changing playback speed to 24fps, while madVR is reporting file being 29,970fps. Why is all that? :confused:
Nozomi
4th December 2011, 06:00
How can I downmix AC3 5.1 to stereo 2 speakers output in my Windows 7 notebook with LAV? Do I need to install another directshow mixer? In this case how can I connect LAV 6 channels output to this mixer?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.