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. |
10th April 2013, 16:53 | #14701 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Quote:
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
10th April 2013, 17:51 | #14702 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
LAV Filters 0.56
Code:
General - Major ffmpeg update, the DLLs have had their version number increased LAV Splitter - Support for Matroska Ordered Chaptes / Segment Linking - Improved support for parsing language tags from OGM files - Small performance improvements by avoiding copying the stream data in memory needlessly - Improved duration calculation for MP3 files LAV Video - Performance improvements for single-threaded decoders and YADIF (up to 20% in some situations) While it may not seem like it, there are actually two big things in this version (and many may only care about one). Performance Improvements The overall performance of demuxing and decoding was improved (depending on the use-case up to 20%!), thanks to what in Libav/FFmpeg is called "The Evil Plan". In short, it allows to properly handle the data (both packets from the splitter and decoded video/audio) much more flexible than i could before, which means now i can finally use the full power of LAVs thread design for more than just the wmv3 dmo decoder. This avoids copying the frames in memory, allows parallel processing, and especially when combined with YADIF (or any external post-processing filter), can result in huge performance gains. It also helped to simplify a lot of tricky situations, so all in all, well worth all the effort put in on FFmpeg/Libav's side. Matroska Ordered Chapters / Linked Segments This is probably the one much more exciting for you guys. LAV can now handle Matroska's ordered chapters, linked segments, and linked files. If you don't know what that means, its like seamless branching for Matroska - if you haven't heard that either, well, in short, it allows multiple versions of one movie in one file, or splitting parts of the movie into separate files (so for example the opening of a TV show can be reused by all episodes, instead of being included in every one) Please note that the same restrictions apply that also apply when using Haali Splitter for ordered chapters: The tracks between different segments need to match, or who knows what will happen! Personally, i use it to archive Blu-rays with multiple editions on one disc, like Avatar. There has already been a lot of testing of these features, thanks to everyone taking the time to test and report in great detail, and even craft samples to help me reproduce difficult cases. Nevertheless, i don't expect it to be completely bug-free, so if you encounter any issues, crashes, or other undesirable behaviour, please report them here or on the Google Code issue tracker, preferably with a sample (or info how to get/make one) for me to reproduce the problem, and then fix it. And one last point, before it comes up, there is one known issue which i didn't get to yet, but wanted this version out anyway: Fraps decoding currently only outputs its "key" frames, the repeated frames are not output, which basically means Fraps can be a VFR stream, and not CFR like it was before. I do plan to fix this again, possibly for 0.56.1 already (if i don't have to make an emergency release), but for the time being, thats how it is. Anyway, take care and have fun!
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 10th April 2013 at 18:09. Reason: typos |
10th April 2013, 18:21 | #14704 | Link |
Registered User
Join Date: Dec 2012
Location: Neverland, Brazil
Posts: 169
|
You just made history nev. Thanks.
__________________
madVR scaling algorithms chart - based on performance x quality | KCP - A (cute) quality-oriented codec pack |
10th April 2013, 19:06 | #14707 | Link | ||
Registered User
Join Date: Oct 2011
Posts: 204
|
Quote:
Quote:
Also, on the matter of the new release version: Thank you very much, and congratulations! |
||
10th April 2013, 19:10 | #14708 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Indeed, the Packet class now does reference counting on the data so that it can be safely passed around.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
10th April 2013, 19:42 | #14709 | Link |
Registered User
Join Date: Dec 2012
Location: Neverland, Brazil
Posts: 169
|
Okay restarted MPC-HC no drop, it was copy-back indeed. Now I restart and it drops again. I'm not sure why... heh I give up. nev there must be something wrong with LAV.
Reinstalled madVR and LAV all together, issue seems to be gone... maybe I messed up somewhere in the update. Sorry again. @Devrim Updated to latest lite just to test and no crash.
__________________
madVR scaling algorithms chart - based on performance x quality | KCP - A (cute) quality-oriented codec pack Last edited by Niyawa; 10th April 2013 at 20:00. |
10th April 2013, 19:56 | #14711 | Link |
Registered User
Join Date: Aug 2007
Posts: 1,430
|
Now all you need to do, nev, is to gently persuade madshi to drop gdsmux from eac3to in favor of another muxing library so us plebs can ditch Haali's splitter altogether.
I look forward to that Fraps bug being fixed. |
10th April 2013, 20:21 | #14713 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
When does it crash? When closing the file/player by any chance, or somewhere else?
Or maybe a MKV with Vorbis audio? In any case, try with this? http://files.1f0.de/lavf/LAVFilters-0.56-2-gfa767af.zip It fixes one crash bug that i managed to reproduce myself sporadically when closing the player after playing with native DXVA2, and another one i got reported when playing certain Vorbis MKV files.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 10th April 2013 at 21:51. Reason: Updated build |
10th April 2013, 21:45 | #14714 | Link |
Registered User
Join Date: Mar 2011
Posts: 216
|
I was wondering, did I screw something up when installing directly from the dev build you just posted or is it normal that the splitter tray icon doesn't let you select the tracks/editions when you right click it like haali does.
Pardon me if it has already been mentioned(I have to admit I didn't search the thread and haven't been following it for long), but it would be really nice if this was implemented(if it isn't already) in a future version since it's now my only reason to still use haali. |
10th April 2013, 21:46 | #14715 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
This is not supported yet, its planned for a future version, though.
The tray icons would be rather pointless if all they do is exist.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 10th April 2013 at 21:56. |
11th April 2013, 00:03 | #14716 | Link | |
Registered User
Join Date: Dec 2012
Posts: 58
|
Quote:
It crashes whenever I try to open a file. When it loads it crashes. It crashes with the "normal" LAV 0.56 and with your fixed LAV 0.56. I tried 2 different files 1. MKV with AAC audio (720P) Result: Crash while loading 2. MKV with MP2 Audio (576P) Result: No crash -edit- Hmm, it only seems to crash on 1 file Mediainfo of the file it crashes on Code:
General Unique ID : 225070625897904004580006034380923570318 (0xA953069AF3A191A691FD9D973473888E) Format : Matroska Format version : Version 4 / Version 2 File size : 614 MiB Duration : 21mn 8s Overall bit rate : 4 058 Kbps Movie name : Tosh.0 - Web Redemption: BK Chicken Fries (S05E10) Encoded date : UTC 2013-04-10 12:03:38 Writing application : mkvmerge v6.1.0 ('Old Devil') built on Mar 2 2013 14:32:37 Writing library : libebml v1.3.0 + libmatroska v1.4.0 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L3.1 Format settings, CABAC : No Format settings, ReFrames : 2 frames Codec ID : V_MPEG4/ISO/AVC Duration : 21mn 8s Width : 960 pixels Height : 718 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Title : Video Language : English Default : Yes Forced : No Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : A_AAC Duration : 21mn 8s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Title : English Audio (AAC2.0) Language : English Default : Yes Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Title : CC Language : English Default : Yes Forced : No |
|
11th April 2013, 00:58 | #14718 | Link |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
nev, with 0.56 this sample is stuttering when a combination of avcodec+yadif is used, and disappears when you disable yadif or use DXVA. Didn't happen with 0.55.2, I don't have 0.55.3 to test.
File: http://www.mediafire.com/?41wnivhs55o6z0d Shot of the issue: http://www.imagebam.com/image/8ac700248179570 |
11th April 2013, 06:51 | #14719 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Can you maybe cut a small part from this file?
You can try using a simple splitter like DGSplit, cut off the first 10mb or so, and test if the small file still crashes. With MKV that should usually work.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
11th April 2013, 07:17 | #14720 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Quote:
I see nothing obvious wrong in the timings or otherwise, but on my laptop i also see the spikes, even if it benchmarks with ~100fps on that sample with YADIF on. Heck it even happens without YADIF on o.O I have yet to compare to 0.55, though.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
Tags |
decoders, directshow, filters, splitter |
|
|