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 > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th August 2010, 14:55   #1  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
LAV Filters - DirectShow Media Splitter and Decoders

LAV Filters 0.79 (released 2024/03/25)
including LAV Splitter, LAV Video and LAV Audio.

-----------------------------------------------------------

Hi folks,

We've been working on this for quite a while already, and i feel its time to release it into the wild for some more comprehensive testing.

LAVFSplitter is a multi-format media splitter that uses libavformat (the demuxing library from ffmpeg) to demux all sorts of media files.
The project has been growing in my mind for quite a while, until i found out that Ti-BEN from the XBMC DSPlayer team was working on this as well,
so we joined forces and developed the first prototype together. Since then some time passed, and this is the third design that came out of
our combined efforts. It is already in use in the XBMC DSPlayer branch as the internal splitter, and now available as a standalone for everyone!

At this point i would like to thank Ti-BEN for his contributions. Without his work on this project, it probably would have stayed a design in my mind.

State of the project
Note that this list only lists properly tested formats/codecs, many others may just work!

Containers
MKV/WebM, AVI, MP4/MOV, MPEG-TS/PS (including basic EVO support), FLV, OGG, and many more that are supported by ffmpeg!

Video Codecs
H264, VC-1, MPEG-2, MPEG4-ASP (Divx/Xvid), VP8, MJPEG and many more.

Audio Codecs
AAC, AC3, DTS(-HD), TrueHD, MP3/MP2, Vorbis, LPCM and more.

Subtitles
VOB, DVB Subs, PGS, SRT, SSA/ASS, Text

BluRay Support
Support for opening BluRay playlists (.mpls), as well as the index.bdmv file, which will try to detect the main movie playlist!
Full support for Seamless Branching Blu-rays as well as HD audio (including native full DTS HD-MA support as of 0.65!)

Other Notable Features
- MKV Edition/Ordered Chapters/Segment linking support
- Full Stream switching
- MKV Embedded Fonts
- Audio Bitstreaming (through LAV Audio)

Note:
Not all containers are equally supported, so some formats may fail in one container and work in another.
Also note that "tested" doesn't mean it won't fail eventually. There are many combinations of codecs, and its impossible to test all of them for me.

How to Use
Here are some guides that include LAV Filters (but are usually not limited to them):

Advanced MPC-HC Setup Guide (by mindbomb)
Watching H.264 videos using Compute Unified Device Architecture (CUDA)

Those guides are in no way "official", and I do not guarantee for the accuracy of these guides, but they should get you started.
If you know about a good guide that should be added here, please say so!

Feedback
When reporting problems, please always state the Container Format, the Codec, and the Decoder you're trying to use. If possible, a short sample will help greatly to resolve any issues!
Please report issues on the GitHub project page: https://github.com/Nevcairiel/LAVFilters/issues

Download
The source can be found on the GitHub project pages:
https://github.com/Nevcairiel/LAVFilters (development repository)

LAV Filters work on 7/8/8.1 and Windows 10. Older versions of Windows are not supported.
Note that some functionality may require newer operating systems (primarily hardware acceleration options).

Binaries for the most recent version are available here:
Version 0.78: Installer (both x86/x64) -- Zips: 32-bit & 64-bit
Download 3D Plugin: 32-bit & 64-bit

Debug Symbols: 32-bit & 64-bit
The debug symbols can be used to help determine the cause of crashes, usually you only need them when trying to create a crash dump.

You can find the slightly modified/tuned version of ffmpeg used for LAV Filters here:
https://gitea.1f0.de/LAV/FFmpeg

Nightly testing builds are available here:
https://files.1f0.de/lavf/nightly/

Previous releases are available on GitHub:
https://github.com/Nevcairiel/LAVFilters/releases

Changelog
0.79 - 2024/03/25 - Release Notes
Code:
LAV Splitter
- NEW: Support for demuxing VVC video
- Changed: Updated language lists to support all relevant language codes
- Changed: Improved resilience of streaming HLS
- Changed: Tweaked frame rate detection logic

LAV Video:
- NEW: Support for decoding VVC video
For the full changelog, see CHANGELOG.txt in the download!

Last edited by nevcairiel; 25th March 2024 at 18:54.
nevcairiel is online now   Reply With Quote
Old 14th August 2010, 14:55   #2  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
Known issues

Audio Decoder
- DTS Express and other "core-less" DTS-HD streams cannot be bitstreamed

Frequently asked Question

Q: Will you write a Subtitle Filter?
A: Its possible, nothing has been determined yet. But its not likely going to be anytime soon.

Q: Can LAV Audio decode DTS-HD?
A: Yes! As of 0.65 DTS-HD is fully supported!

Q: I do not get any audio when using ffdshow as a post processor. What gives?
A: When using ffdshow as post-processor, under some circumstances, you might need to force ffdshow to only use one output format. In this case, i recommend turning off all output formats in ffdshow, except one, preferably either 24-bit int or 32-bit float.

Q: GraphEdit crashes after i installed LAV Video!
A: This is a GraphEdit bug. It will crash as soon as one filter supports more then 100 formats. There is nothing to be done. Personally, i suggest using GraphStudio instead!

Building LAV

Building LAV requires Visual Studio 2015 Update 3, and a recent version of mingw-w64 GCC with a MSYS environment and YASM.

You can get the GCC i use to compile here: http://files.1f0.de/mingw/
I recommend to combine it with MSYS2, or a MSYS package from XhmikosR (http://xhmikosr.1f0.de/tools/msys/)

Last edited by nevcairiel; 27th December 2016 at 19:25.
nevcairiel is online now   Reply With Quote
Old 24th November 2011, 02:58   #3  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by nevcairiel View Post
Q: Can LAV Audio decode DTS-HD?
A: Kind of. On its own, it cannot. But, LAV Audio supports using the ArcSoft DTS decoder, which allows decoding of full DTS-HD. Just drop the "dtsdecoderdll.dll" from the TMT3/5 Codecs directory into LAV Audio's directory, and enjoy. NOTE: This only works on 32-bit!
No it doesn't work for me. I carried dtsdecoderdll.dll into LAVFilters directory and unticked "DTS-HD" bitstreaming on LavAudio properties page. (so as to decode it to PCM)
Can you tell me what i am missing?

Last edited by rica; 24th November 2011 at 03:01.
rica is offline   Reply With Quote
Old 24th November 2011, 03:11   #4  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Quote:
Originally Posted by rica View Post
No it doesn't work for me. I carried dtsdecoderdll.dll into LAVFilters directory and unticked "DTS-HD" bitstreaming on LavAudio properties page. (so as to decode it to PCM)
Can you tell me what i am missing?
I'm going to point out the obvious one that people overlook....you're doing this with the 32 bit version of LAV and NOT the 64 bit version.............right?
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 24th November 2011, 21:12   #5  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by SamuriHL View Post
I'm going to point out the obvious one that people overlook....you're doing this with the 32 bit version of LAV and NOT the 64 bit version.............right?
Yes, it is 32 bit version on Seven 32 SP1 and i'm trying to decode a dtshd-master audio.
rica is offline   Reply With Quote
Old 25th November 2011, 00:17   #6  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Quote:
Originally Posted by rica View Post
Yes, it is 32 bit version on Seven 32 SP1 and i'm trying to decode a dtshd-master audio.
Just thought i'd ask. It looks like you got it fixed now, so, all is well.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 24th November 2011, 21:41   #7  |  Link
Mr.White
Registered User
 
Join Date: May 2011
Location: Sweden
Posts: 7
Quote:
Originally Posted by rica View Post
I carried dtsdecoderdll.dll into LAVFilters directory
Did you put it in the \LAV Filters\x86 folder?
__________________
You shoot me in a dream, you better wake up and apologize.
Mr.White is offline   Reply With Quote
Old 24th November 2011, 21:51   #8  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by Mr.White View Post
Did you put it in the \LAV Filters\x86 folder?
I extracted 32 bit zipped version to C:\Lav Filters folder and there is no x86 sub-folder inside the Lav Filters folder? Are you using Seven 64?
rica is offline   Reply With Quote
Old 24th November 2011, 22:12   #9  |  Link
Mr.White
Registered User
 
Join Date: May 2011
Location: Sweden
Posts: 7
Quote:
Originally Posted by rica View Post
I extracted 32 bit zipped version to C:\Lav Filters folder and there is no x86 sub-folder inside the Lav Filters folder? Are you using Seven 64?
Win7 32
I use the LAV installer, and there is an x86 folder inside the LAV Filters folder where i put the dtsdecoderdll.dll.
__________________
You shoot me in a dream, you better wake up and apologize.
Mr.White is offline   Reply With Quote
Old 24th November 2011, 22:40   #10  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
Quote:
Originally Posted by rica View Post
No it doesn't work for me. I carried dtsdecoderdll.dll into LAVFilters directory and unticked "DTS-HD" bitstreaming on LavAudio properties page. (so as to decode it to PCM)
Can you tell me what i am missing?
Did you uncheck dts too ?
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 24th November 2011, 22:52   #11  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by Sebastiii View Post
Did you uncheck dts too ?
Yes but i've explored LavSplitter doesn't recognize audio as DTS or DTS-HD in my case. Btw i'm trying to read from original BD. I'll keep you informed.
rica is offline   Reply With Quote
Old 24th November 2011, 23:04   #12  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
Here is a "official" test build using the new MKV demuxer:

x86: http://files.1f0.de/lavf/LAVFilters-...6-g19c9e9f.zip
x64: http://files.1f0.de/lavf/LAVFilters-...9c9e9f-x64.zip

What does "new MKV demuxer" mean for you, you ask?
Well, it does fix some issues, and improve other things. For one, playing of incomplete files should be working much better now (eg, Issues 42 and 103), and seeking should generally be faster (for MKV only, of course).

Ideally, there shouldn't be any regressions.
So if you feel like testing, grab the build above, and go test. If you find any MKV file that does no longer play properly, but did play fine before - please report that.

Otherwise, i hope it will be a smooth ride.
There is one known limitation though - you cannot have more then 64 tracks in a MKV. 64 is plenty though, and Haali already craps out at 32.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 24th November 2011 at 23:11.
nevcairiel is online now   Reply With Quote
Old 24th November 2011, 23:19   #13  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by rica View Post
Yes but i've explored LavSplitter doesn't recognize audio as DTS or DTS-HD in my case. Btw i'm trying to read from original BD. I'll keep you informed.
OK guys, thanks a lot.

Unregistered all lav filters first and deleted all files under Lav Filters folder.
I copied dtsdecoderdll.dll first inside this empty LavFilters folder and unzipped 32 bit version and registered again all lav filters and fixed the issue
rica is offline   Reply With Quote
Old 31st January 2016, 16:41   #14  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 284
about Subtitle Filter

Quote:
Originally Posted by nevcairiel View Post

Q: Will you write a Subtitle Filter?
A: Its possible, nothing has been determined yet.
can you give me a % for chance you make a VSFilter (or XySubFilter) alternative
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 14th August 2010, 16:38   #15  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
thanks a lot...
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!
b66pak is offline   Reply With Quote
Old 14th August 2010, 19:07   #16  |  Link
pdanpdan
Registered User
 
Join Date: Apr 2005
Location: Bucharest, Romania
Posts: 145
I only tested it for mkv with h264 video and multiple AAC audio tracks and subtitle tracks. Everything seems to work fine, except:
I found 2 problems
- the track title is not displayed anywhere (even though this filter shows much more info than any other)
- in mkv files, the default track flag is not respected
And a request:
- can you please implement stream selection order priority by language list?

Thank you,
PDan
pdanpdan is offline   Reply With Quote
Old 14th August 2010, 19:16   #17  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
Smart stream selection is not implemented yet, but that will be done, including configurable language priorities and default/forced flags.
Name of the streams is one thing on my list as well, right now the whole stream naming just dumps the descriptive codec info from libavformat into there.
nevcairiel is online now   Reply With Quote
Old 14th August 2010, 23:30   #18  |  Link
liquidskin76
Registered User
 
liquidskin76's Avatar
 
Join Date: Dec 2008
Posts: 233
Hey nev,

About to test now. Can't wait to see the finished splitter and see it in mpc-hc!

Are mkv chapters supported yet? Also, how about sup and sub/idx subtitles?

Thanks

Last edited by liquidskin76; 14th August 2010 at 23:43.
liquidskin76 is offline   Reply With Quote
Old 15th August 2010, 08:45   #19  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
Chapters are not yet supported, but thats one of the things to do next.
For the subtitles, well, try it. If it works, yay, if it doesnt, send me a sample =)
nevcairiel is online now   Reply With Quote
Old 15th August 2010, 18:08   #20  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
LAVFSplitter 0.3
- Added Chapter support
- Improved stream descriptions
- 64-bit support

Download: 32-bit & 64-bit
nevcairiel is online now   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter

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 14:45.


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