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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th April 2013, 16:53   #14701  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by sneaker_ger View Post
Well, I guess implementing the thing on the first chapter shouldn't be too hard, but the display of the subtitles on the third chapter could be problematic. We basically have that problem already with seeking in files without chapters - if you seek into the middle of a subtitle, it won't be displayed because the splitter doesn't know about the line. Its packet is interleaved into an earlier time. The new Matroska features are supposed to fix that but LAV does not implement it - nor does any other program that I know of for that matter.
Indeed. I managed to fix the too long display pretty easily (easier then i thought it would be), however re-displaying it for the second part of Segment A is something for the future, and it will then only work if its muxed with a very recent version of mkvmerge.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th April 2013, 17:51   #14702  |  Link
nevcairiel
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)
Download: Installer (both x86/x64) -- Zips: 32-bit & 64-bit

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
nevcairiel is offline   Reply With Quote
Old 10th April 2013, 18:05   #14703  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 616
Very Big thanks
Works really nice
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 10th April 2013, 18:21   #14704  |  Link
Niyawa
Registered User
 
Niyawa's Avatar
 
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
Niyawa is offline   Reply With Quote
Old 10th April 2013, 18:27   #14705  |  Link
andyvt
Registered User
 
Join Date: Jan 2010
Posts: 265
Quote:
Originally Posted by nevcairiel View Post
LAV Filters 0.56
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...
Are the changes to the Packet class an e.g. of this?
__________________
babgvant.com
Missing Remote
andyvt is offline   Reply With Quote
Old 10th April 2013, 18:50   #14706  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
great news no need for haali anymore.
big thx!
huhn is offline   Reply With Quote
Old 10th April 2013, 19:06   #14707  |  Link
DarkSpace
Registered User
 
Join Date: Oct 2011
Posts: 204
Quote:
Originally Posted by sneaker_ger View Post
the display of the subtitles on the third chapter could be problematic. We basically have that problem already with seeking in files without chapters - if you seek into the middle of a subtitle, it won't be displayed because the splitter doesn't know about the line. Its packet is interleaved into an earlier time. The new Matroska features are supposed to fix that but LAV does not implement it - nor does any other program that I know of for that matter.
Quote:
Originally Posted by nevcairiel View Post
however re-displaying it for the second part of Segment A is something for the future, and it will then only work if its muxed with a very recent version of mkvmerge.
Okay, thanks for the explanation. I already suspected that these new elements may be required and that it might take some while for it to be implemented, but for now, that's good enough for me - after all, I still consider such files broken (at least if they were created before LAV gained Ordered Chapters support)

Also, on the matter of the new release version: Thank you very much, and congratulations!
DarkSpace is offline   Reply With Quote
Old 10th April 2013, 19:10   #14708  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by andyvt View Post
Are the changes to the Packet class an e.g. of this?
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
nevcairiel is offline   Reply With Quote
Old 10th April 2013, 19:42   #14709  |  Link
Niyawa
Registered User
 
Niyawa's Avatar
 
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.
Niyawa is offline   Reply With Quote
Old 10th April 2013, 19:47   #14710  |  Link
Devrim
Registered User
 
Join Date: Dec 2012
Posts: 58
LAV Filters 0.56 seems to crash my MPC-HC

MPC-HC (Lite) 1.6.7.7063, madVR v0.86.1, AC3 Filter v2.5b

Anyone else got the same problems?
Devrim is offline   Reply With Quote
Old 10th April 2013, 19:56   #14711  |  Link
Snowknight26
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.
Snowknight26 is offline   Reply With Quote
Old 10th April 2013, 20:06   #14712  |  Link
bejita7
Registered User
 
Join Date: Jun 2010
Posts: 25
R.I.P. Haali Matroska Splitter

Thank you very much!
bejita7 is offline   Reply With Quote
Old 10th April 2013, 20:21   #14713  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by Devrim View Post
LAV Filters 0.56 seems to crash my MPC-HC
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
nevcairiel is offline   Reply With Quote
Old 10th April 2013, 21:45   #14714  |  Link
SamKook
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.
SamKook is offline   Reply With Quote
Old 10th April 2013, 21:46   #14715  |  Link
nevcairiel
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.
nevcairiel is offline   Reply With Quote
Old 11th April 2013, 00:03   #14716  |  Link
Devrim
Registered User
 
Join Date: Dec 2012
Posts: 58
Quote:
Originally Posted by nevcairiel View Post
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.
Hi,

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
Weird
Devrim is offline   Reply With Quote
Old 11th April 2013, 00:05   #14717  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,379
Quote:
Originally Posted by nevcairiel View Post
LAV Filters 0.56
[CODE]
....
LAV Splitter
- Support for Matroska Ordered Chaptes / Segment Linking
......
Anyway, take care and have fun!
wow, i cant believe it.

Thank you very much.

i will try it.
hubblec4 is offline   Reply With Quote
Old 11th April 2013, 00:58   #14718  |  Link
STaRGaZeR
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
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 11th April 2013, 06:51   #14719  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by Devrim View Post
Hmm, it only seems to crash on 1 file
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
nevcairiel is offline   Reply With Quote
Old 11th April 2013, 07:17   #14720  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by STaRGaZeR View Post
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.
Could this be a performance problem?
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
nevcairiel is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


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 11:06.


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