View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
doubleJ
31st December 2012, 17:32
Or Reclock, or use HDMI...
I use HDMI, but my receiver doesn't decode AAC.
I'll check into ReClock.
JJ
andyvt
31st December 2012, 17:34
I use HDMI, but my receiver doesn't decode AAC.
If you use HDMI you get all the channels. Why do you want to do another lossy encode when that can only make it sound worse?
nevcairiel
31st December 2012, 17:36
you should not put 720 and 1080 on the same checklist. 1080p is called full HD, beyond that is Ultra HD
I'm not going to change this. Personally i don't see the use, even the slowest GPUs can use DXVA on Full HD content because the decoder is independent of the actual GPU speed.
And even if it would help you for some obscure reasons, its a *very* limited use-case and would just clutter the options.
Heck, the option was only meant to be for 4K in the first place, but apparently some old ATI GPUs are broken with SD content, so i added it too for that case, but not for performance reasons.
6233638
31st December 2012, 18:39
Try this build, it should support fade-in/fade-out animations like those:
http://files.1f0.de/lavf/LAVFilters-0.54.1-76-gd52abc1.zip
In theory it would also be possible to do color or position animations with the same mechanic in the DVD decoder, but without a sample which actually uses this, i'm a bit reluctant to hack it in there.
If someone finds a sample DVD with subs which should be animated, but LAV does not do it, please let me know.That did the trick, they seem to work as intended now. I actually really dislike having the animation, but obviously it's necessary to be able to read the subtitles at all.
Ideally I would actually prefer to have the entire duration of the subtitle being the middle frame of the animation (i.e. full brightness all the time) but obviously that's an unrealistic request, and would probably break some titles.
I don't think I have any other examples of animated subtitles; at least not any that fade in like that. I may find out that some of the discs I have fade them out or something.
wanezhiling
31st December 2012, 19:22
http://www.sendspace.com/file/qeqjs0
Hi nev, here is a PMP file, it works fine with [lav s + lav v, ms v], cant work with [lav s + mpc v, ffdshow v, coreavc...]
Is it because mpc/ffdshow/coreavc cant accept the h264 stream which lav sends? If so, I'll report to other places.
nevcairiel
31st December 2012, 19:42
Should be fixed in LAV Splitter, i hope this didn't break other PMP files, i don't have any to check. ;)
jmonier
31st December 2012, 20:03
I use HDMI, but my receiver doesn't decode AAC.
I'll check into ReClock.
JJ
If you're using HDMI AUDIO, then LAV Audio will decode AAC and it's sent over HDMI as PCM which your receiver will handle just fine. I don't know if you know that you don't HAVE to bitstream anything. LAV will decode almost anything to PCM and there will be no loss of quality vs. decoding it in the receiver.
wanezhiling
31st December 2012, 20:12
Should be fixed in LAV Splitter, i hope this didn't break other PMP files, i don't have any to check. ;)
Thanks, I will test my other 5 PMP files tomorrow.
doubleJ
31st December 2012, 22:16
If you use HDMI you get all the channels. Why do you want to do another lossy encode when that can only make it sound worse?
Ummm...
My receiver doesn't decode AAC.
It only sees down-mixed stereo.
Sent from my Verizon HTC 8X using Board Express
andyvt
31st December 2012, 22:54
Ummm...
My receiver doesn't decode AAC.
It only sees down-mixed stereo.
If you're using HDMI it doesn't matter where you decode the audio.
Transcoding AAC to AC3 isn't going to do anything but lose information. I assumed that you wanted to do this because the only reason to do it is if you're using S/PDIF (why the feature exists in Reclock/Ffdshow/AC3Filter).
If the file has mutli-channel AAC and you're getting stereo, your PC is setup wrong.
JEEB
1st January 2013, 00:15
Ummm...
My receiver doesn't decode AAC.
It only sees down-mixed stereo.
Sent from my Verizon HTC 8X using Board Express
What andyvt says, I thought you were on an S/PDIF setup as well (although even if you use HDMI you might be limited by derpy hardware regarding what you can push through it, esp. with video cards).
If you want to get full decoded PCM out of the decoder, you either just set the LAV's mixer to as many channels as your speaker setup, or just disable the mixer. Both are doable either through LAV Audio's settings screen or from the settings application that I think you have at hand.
turbojet
1st January 2013, 00:37
54.1-76 build fixes the bad lines when height isn't mod4 with cuvid but there's a bigger issue, it crops and vertically stretches SD material. Take a look at the fox logo and rating in these pics, same frame isn't important.
SD cuvid, cropped\stretched (http://www.imagebam.com/image/0bd8f4229492116)
SD avcodec, fine (http://www.imagebam.com/image/5f1817229492127)
HD cuvid, fine (http://www.imagebam.com/image/9e5d8e229492143)
nevcairiel
1st January 2013, 01:00
It was not related to the material being SD, just that it requires cropping (ie. not mod16).
But it is fixed now.
wanezhiling
1st January 2013, 08:42
Should be fixed in LAV Splitter, i hope this didn't break other PMP files, i don't have any to check. ;)
Now LAV Splitter works with other h.264 video decoders, but I noticed a Audio/Video sync problem after seeking on that file (http://www.sendspace.com/file/qeqjs0).
You can seek in [0:01:38 - 0:02:06] and [0:04:18 - 0:05:00], its apparent that the video is delayed compared to the audio.
While PotPlayer's PMP splitter(based on FFmpeg too) seems to be ok.
LAV Splitter (http://i.minus.com/iWbu1eR8JpFD9.png)
PotPlayer (http://i.minus.com/ibxACCF7AOcGtG.png)
Qaq
1st January 2013, 09:24
Ummm...
My receiver doesn't decode AAC.
It only sees down-mixed stereo.
Because your receiver is set to pass sound to TV (which is 2 ch). Check receiver's settings carefully.
nevcairiel
1st January 2013, 09:58
Now LAV Splitter works with other h.264 video decoders, but I noticed a Audio/Video sync problem after seeking on that file (http://www.sendspace.com/file/qeqjs0).
Looks like PMP files don't have timestamps, so their sync is always just sheer luck, but i found the reason it was totally off, and it should be improved now.
bugmen0t
1st January 2013, 11:41
:p My old 8400M GS is easy for 1080p dxva2.
my gpu is strong too but not for madvr
I'm not going to change this. Personally i don't see the use, even the slowest GPUs can use DXVA on Full HD content because the decoder is independent of the actual GPU speed.
And even if it would help you for some obscure reasons, its a *very* limited use-case and would just clutter the options.
Heck, the option was only meant to be for 4K in the first place, but apparently some old ATI GPUs are broken with SD content, so i added it too for that case, but not for performance reasons.
oh comoene, please i think its easy thing for you to make fullHD cheklist for filtering 1080p.
my gpu's actually able to play 1080p dxva2 fine with EVR, but not strong for Madvr dxva2. thats why i request it. please. do it for me and other user ;)
pie1394
1st January 2013, 13:10
About this ISDB-T sample, its 5.1ch AAC is unsupported by Lav audio decoder. The MS DTV/DVD-Audio can decode it, but the output is always 2 channels.
TS sample (https://hotfile.com/dl/185596632/ddef693/ayaka_MSSL12.ts.html)
nevcairiel
1st January 2013, 13:57
About this ISDB-T sample, its 5.1ch AAC is unsupported by Lav audio decoder. The MS DTV/DVD-Audio can decode it, but the output is always 2 channels.
TS sample (https://hotfile.com/dl/185596632/ddef693/ayaka_MSSL12.ts.html)
Fixed for LAV Audio, not sure if the MS decoder still works with it, but i don't particularly care. :D
AAC in TS is a bit of a problem, because some decoders require init data, but TS does not offer the init data, and i haven't found an easy way to extract it from the audio stream.
Luckily, LAV Audio does not need this init data. :)
jmonier
1st January 2013, 14:34
Because your receiver is set to pass sound to TV (which is 2 ch). Check receiver's settings carefully.
Actually, it's probably the sound settings in the computer. This usually defaults to stereo and has to be set to 5.1 (or 7.1).
Gruko
1st January 2013, 18:43
@Gruko
Speex should already work with default settings in LAV Filters.
WMP does not open unknown file types if you drag&drop them. You need to at least once open the file through File>Open menu to let WMP recognize the new file extension.
Thank you very much. Solved problem! ;)
P.S. Strangely, WMP recognizes other multimedia files such as MKV, Opus, MP4, M4A etc.. if they are played by the 'open with' context menu item or drag & drop.
ralle_h
1st January 2013, 22:44
Hey,
I wanted to ask if IntelŽ Quick Sync is implemented yet? I have two systems with Intel Sandy Bridge and Ivy Bridge CPUs and when I try to use Quicksync in the settings, it tells me that it is not available :(
Any help or answer would be appreciated!
Best regards,
Ralle
nevcairiel
1st January 2013, 22:46
You need to have the Intel GPU activated and a screen connected (or a fake screen), because the GPU does the decoding, not the CPU.
ralle_h
1st January 2013, 22:58
It is, there is no other GPU in the system other than the IGP.
Do I need special drivers other than the latest MEI and IGPU driver, like Luicid Virtu?
nevcairiel
1st January 2013, 22:59
You need a proper driver, install the one from Intel directly, not the crap Microsoft gives you from Windows Update.
ralle_h
1st January 2013, 23:30
I downloaded the driver from Intel directly, I even tried the new one from this December and it didn't make a difference:
http://www.abload.de/img/gpurzbpx.png
Do I need any Virtu related drivers?
I'm using an i3-2120 with latest MPC-BE btw (and latest EVR/madVR as renderer).
pie1394
2nd January 2013, 01:35
Fixed for LAV Audio, not sure if the MS decoder still works with it, but i don't particularly care. :D
AAC in TS is a bit of a problem, because some decoders require init data, but TS does not offer the init data, and i haven't found an easy way to extract it from the audio stream.
Luckily, LAV Audio does not need this init data. :)
So fast ... fixed within 1 hour!!! :eek: :thanks:
pie1394
2nd January 2013, 02:04
I'm using an i3-2120 with latest MPC-BE btw (and latest EVR/madVR as renderer).
It just works fine on my Toshiba Z830 with Core i5-2467M. The driver version is 9.17.10.2875. It shows that Intel QuickSync option is available on Lav video decoder with following 2 setups:
MPC-BE v1.1.3.0 + Lav 0.54.1 + madVR 0.85.7
MPC-BE64 v1.1.3.0 + Lav x64 0.54.1 + EVR
What kind of contents?
Do you use Lav filter ?
Does dxva2n or dxva2cb mode work ?
DirectX runtime redistributable jun 2010 is installed?
ralle_h
2nd January 2013, 03:04
Hi pie1394!
Thanks for your reply.
I tried driver version 9.17.10.2875 + 2897.
MPC-BE v1.0.3.1 + Lav 0.54.1 + madVR 0.85.7 (and previously 0.85.1)
/edit: Tried v1.1.3.0 now, same issue :(
Does dxva2n or dxva2cb mode work [YES]
DirectX runtime redistributable jun 2010 is installed [YES]
-
Does my Mainboard (ASRock H77M-ITX) support Quick Sync? Any additional driver like Lucidlogix Virtu needed?
/edit:
Okay, checked on all my computers...
Desktop with HD4000: Doesn't work
Ultraboock with HD4000: DOES work.
Copied the mpc-be.ini from my Ultrabook to my Desktop... didn't change a thing. So it can't be the MPC settings basically.
Same IGP driver version, OpenCL SDK installed on both. Only difference is the OS (got Win8 Pro on my Ultrabook).
This is starting to get really confusing :(
AndreaMG
2nd January 2013, 09:13
Hi Nev,
yesterday I was watching a TV show (mkv) and I encountered broken audio in various parts, I thought it was the file but playing with VLC the audio seems ok, can you please take a look at this sample (it has been cutted with MKVToolnix)? Thanks :)
It mutes from 17s to 21s :(
The issue occurs only in bistreaming mode (FFdshow audio decoder has the same identical behaviour: HDMI=broken audio).
http://www.mediafire.com/?clqoa8agi2gm12n
egur
2nd January 2013, 12:54
Hey,
I wanted to ask if IntelŽ Quick Sync is implemented yet? I have two systems with Intel Sandy Bridge and Ivy Bridge CPUs and when I try to use Quicksync in the settings, it tells me that it is not available :(
Any help or answer would be appreciated!
Best regards,
Ralle
Please take this up with the Intel QuickSync decoder thread (http://forum.doom9.org/showthread.php?t=162442).
Try to write a more detailed setup:
Windows version, make and model of your HW, players you tried, etc.
iSunrise
2nd January 2013, 13:54
Thanks a lot for LAV, nevcairiel. I´ve been using it since you implemented audio-downmixing and never looked back. I wish you a happy and healthy new year, too.
I have some files that suddenly cannot be opened with LAV Splitter/LAV Splitter Source as the splitter filter configured. They still all play perfectly fine with e.x. VLC, PotPlayer, KMPlayer or GOMPlayer.
EDIT: Samples removed, see post #13659.
wanezhiling
2nd January 2013, 14:03
LAV Splitter works fine here.
iSunrise
2nd January 2013, 14:12
LAV Splitter works fine here.
Thanks for your feedback, wanezhiling. I´ve just reinstalled the whole LAVFilters 0.54.1 package (.exe) and even though I had configured LAV Splitter for matroska in the splitter configuration utility, it looks like that doesn´t really mean that the system knows that is has to open .mkv containers with LAV splitter. So I guess what did the trick was to reinstall the splitter again and enable matroska in the setup itself. Very confusing, but now it works again.
@nev: Just ignore my previous report please, I´ve also taken down the samples, they all work fine again.
wanezhiling
2nd January 2013, 16:11
http://www.sendspace.com/file/eh7zxi
nev, lav cant recognize its audio.
nevcairiel
2nd January 2013, 17:18
http://www.sendspace.com/file/eh7zxi
nev, lav cant recognize its audio.
If the name of the file can be trusted, the audio is in Dolby E format, for which there is no support in ffmpeg or any other DirectShow decoder i know of, not much that can be done.
ThurstonX
2nd January 2013, 17:34
If the name of the file can be trusted, the audio is in Dolby E format, for which there is no support in ffmpeg or any other DirectShow decoder i know of, not much that can be done.
Love these forums. Learn something every day :-)
from:
http://en.wikipedia.org/wiki/Dolby_E
"Dolby E never reaches home viewers, it is used when passing material between production facilities and broadcasters, but is decoded before transmission.
Dolby E encoding and decoding is implemented using commercially available hardware or software."
So, not meant for home consumption, I guess.
wanezhiling
2nd January 2013, 18:20
I downloaded that file from a chinese forum and had no idea how to make it work.
Ok thanks for your info, btw is it really that no software can support Dolby E?
Pomegranate
2nd January 2013, 18:45
I don't know about free software that supports Dolby E, but Minnetonka have this :
http://www.minnetonkaaudio.com/index.php?option=com_content&view=article&id=48&Itemid=75&lang=en
HeadlessCow
2nd January 2013, 19:06
Some files simply have the wrong field order, there is an option to switch it exactly for that reason. :p
Its possible cuvid and ffmpeg have different defaults when no field order can be determined, who knows.
There are a couple of settings like this that I think could be made a lot more usable with the new notification icons that you added.
In the usual case, for a setting like this you want it to be set to auto, but there are a few files that it fails on and the user will need to:
1) Open up the filter configuration
2) Change the setting
3) Watch the video
4) Open up the filter configuration
5) Change the setting back to auto
With the new notification options it would be really slick if you could add a way to change the setting for this file only. That way when the user discovers a broken file, they can just enable the fix and the filter will revert back to the default setting when they load the next file.
dead_screem
2nd January 2013, 20:30
when you add stream switching to the tray icons, will you finally add ts program switching? or is that far off still?
nevcairiel
2nd January 2013, 20:49
when you add stream switching to the tray icons, will you finally add ts program switching? or is that far off still?
Tray icons will expose existing features, i have no immediate plans to prioritize any other features just because there are tray icons now.
Monk_Zero
2nd January 2013, 22:04
When using LAV splitter, mkv containers support MPC-HC's keybinding for Jump Forward (keyframe) and Jump Backward (keyframe), which let you move through a video very cleanly (because by nature keyframes are often at scene/shot changes). But for AVI and MP4 containers it doesn't seem that LAV Splitter responds to the keyframe keybindings. Should they be behaving similarly to mkv containers and moving to the Prev/Next keyframe and I'm just having difficulty or is this not an (as yet?) implemented function?
It may be that this is related to this Issue but it hasn't had progress in a year after mentioning mkv seeking development.
http://code.google.com/p/lavfilters/issues/detail?id=6&can=1&q=keyframe&colspec=ID%20Type%20Status%20Priority%20Filter%20Summary
nevcairiel
2nd January 2013, 22:06
This only really works if the file exposes a list of keyframes to use for this, which is only really reliable for Matroska so far. It may be possible to get this to work with MP4 as well, but unlikely to ever work properly with AVI.
Monk_Zero
3rd January 2013, 01:00
This only really works if the file exposes a list of keyframes to use for this, which is only really reliable for Matroska so far. It may be possible to get this to work with MP4 as well, but unlikely to ever work properly with AVI.
As a fallback, I've been using the AVI and MP4 splitter included in MPC-HC's internal filters which go forward and backward along keyframes successfully for those containers. I can't say what their mechanism is to find keyframes or if they're approximating keyframes but it seems to be generally accurate.
ralle_h
3rd January 2013, 01:44
Please take this up with the Intel QuickSync decoder thread (http://forum.doom9.org/showthread.php?t=162442).
Try to write a more detailed setup:
Windows version, make and model of your HW, players you tried, etc.
Thanks!
Will do!
wanezhiling
3rd January 2013, 17:18
Today I downloaded a mkv file which has 2 editions, this is my first time to play such files.
Well, like the Open Linked Files feature, haali is needed for the file.
nev, is there a possibility that LAV supports muti-editions files one day? Haali is really out of date.
nevcairiel
3rd January 2013, 17:47
Its really the same feature.
I plan to get to this "soon", meaning sometime in the next few month or so.
If anyone has simple samples that demonstrate either external linked segments or editions within one file, please do share.
Snowknight26
3rd January 2013, 20:19
If anyone has simple samples that demonstrate either external linked segments or editions within one file, please do share.
http://stfcc.org/misc/mkv_ordered_chapters_example.mkv
http://stfcc.org/misc/mkv_ordered_chapters_example.xml
Volfield
3rd January 2013, 21:44
Its really the same feature.
I plan to get to this "soon", meaning sometime in the next few month or so.
If anyone has simple samples that demonstrate either external linked segments or editions within one file, please do share.
"Optional test file for testing splitter's segment linking capabilities: 3x H.264 anamorphic 1080p video clips with styled subtitles [MediaInfo] – K-On!! episode 6 – download here."
http://imouto.my/watching-h264-videos-using-compute-unified-device-architecture-cuda/
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.