View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
Reino
12th October 2014, 21:03
And in that case its crucial information, since its different. It should really show the artist for all tracks instead maybe, instead of for none.Late reply, sorry.
Afaik track performer and even title are officially optional. But anyway,... I've been managing my cuesheets this way for god knows how long and foobar2000, my primary music player, has always succesfully parsed my cuesheets:
http://www.ld-host.de/uploads/images/97839414a0f0d5876e6a3b9403531948.png
Unless a track artist is specified, set album artist = track artist. Is this such an odd request?
Have you given my other suggestions any thought?
DragonQ
12th October 2014, 23:20
Is that Windows XP classic UI? O_o
nevcairiel
13th October 2014, 00:00
Unless a track artist is specified, set album artist = track artist. Is this such an odd request?
And how do you imagine it would do this?
There is exactly one artist metadata field that DirectShow offers, since its one big track. The CueSheet is used to produce the chapters, and possibly set the global artist and album values, but DirectShow doesn't expose any way to set per-chapter metadata, short of its name.
It does the best it can do with what DirectShow offers, simply add all the information it has into the chapters name, ie. if a track artist is specified, it'll show up there.
If you want individual metadata, split it into individual tracks, or use a proper music player which can present such files with a CueSheet as individual tracks to you.
Music often requires quite different handling than video files, which both DirectShow and LAV are not designed for.
And no, I'm not going to switch around the global artist field based on the playback position (most players wouldn't re-read the metadata after opening anyway).
LigH
13th October 2014, 08:46
Is that Windows XP classic UI? O_o
Most probably; Windows 7 still allows "not" to use an Aero design. But guess what ... there are already applications which fail when you don't use an Aero design (e.g. the ChessBase UI used for engines like Fritz or Shredder).
P.J
13th October 2014, 12:53
10-bit videos.
HEVC yes, only black screen but the rest are ok.
Just tried to play a 12bit video but LAV can't play it smoothly while CPU is only about 50% and Jitter is 1
AVC High 4:4:4@L5.1 (SONY Japan BRAVIA 4K Upscaling Demonstration 2014)
Reino
13th October 2014, 17:53
Fair enough, nevcairiel. If DirectShow is the limiting factor,...no problem.
What about embedded coverart?
Is that Windows XP classic UI? O_o
Yes it is.
mastan
14th October 2014, 02:12
Just tried to play a 12bit video but LAV can't play it smoothly while CPU is only about 50% and Jitter is 1
AVC High 4:4:4@L5.1 (SONY Japan BRAVIA 4K Upscaling Demonstration 2014)
Found this video. On mine Core i5-3570K CPU load is also about 50% on each of 4 cores on MPC-HC + LAV x32+madVR and about the same in PotPlayer x64.
In MPC madVR shows decoder queue is 14-16 all the time, the other queues 6-8 or 7-8. But the video is still jittery in both players, so the problem is probably in the video itself.
Further analysis shows that pretty frequently frames repeat previous ones, for example at time(in seconds) 11.778 & 11.811, 11.878 & 11.911, 12.278 & 12.312, 12.379 & 12.412 etc.
P.J
14th October 2014, 20:55
How did you find the duplicated frames?
Deihmos
15th October 2014, 03:31
Every release after 0.59.1 introduced a bug when I resume from sleep. When I leave WMC open when resume from sleep nothing will play unless I restart the program. Version 0.59.1 works perfectly fine so something must have changed to cause this behavior. Any ideas what is causing this?
It happens on all my computers so I continue to use 0.59.1.
huhn
15th October 2014, 20:22
How did you find the duplicated frames?
open it in avisynth.
use control + arrow right/left in mpc hc
use madVR IVTC on it and read the cadence (only made for things like 24 fps in 60 fps not for 1 repeated frame every couple sec).
there are a lot of ways to do this.
mastan
15th October 2014, 22:17
How did you find the duplicated frames?
Actually I used Avidemux and right/left buttons.
hubblec4
20th October 2014, 01:03
Hi Nev
I did a little experimenting with mkv segment linking.
Maybe I'm come across a bug in the LAV Splitter.
I have two part mkv's, which are each 10 seconds long.
In the first mkv file is a chapter.xml with 4 chapters.
The fourth chapter contains the ChapterSegmentUID tag, with the SegmentUID of the second mkv file.
The playing time is displayed correctly with 20 seconds in MPC-HC.
When the fourth chapter is reached, the video jumps to the end and stops.
The same happens when you directly to chapter 4 jumps (Chapter Menu).
If you select in the timeline the timestamp 00:00:11.000, then the rest of the video is played.
I then tested the whole thing with the Haali Splitter and there everything was played correctly.
Settings: MPC-HC 1.7.7 (32bit), LAV Splitter (0.63) external, madVR 0.87.10, LAV Video HW-Decoder: NVIDIA CUVID
I have uploaded the test files. If the upload somewhere else would be better let me know.
http://www.share-online.biz/dl/4QP1TPDN0F
sneaker_ger
20th October 2014, 04:57
First frame of Part2.mkv is not marked with IdrPicFlag but since it's a recovery point it should probably work anyways. Not sure if that's the reason. Either way be careful when splitting open gop, make sure splits are only at IDR frames.
cyberbeing
20th October 2014, 10:50
hubblec4's sample does work with Haali Splitter though, so it should probably be fixed either way.
sneaker_ger
20th October 2014, 11:21
Yes, if that's really the problem it should definitely be fixed.
nevcairiel
20th October 2014, 11:28
Should be fixed, the problem was that Haali's MatroskaParser outputs unsigned timestamps, but the second segment actually has a negative timestamp due to not starting with a full IDR. I bet it only works by accident in Haalis splitter.... :)
Its still rather ugly since it somewhat relys on casts between signed and unsigned since I didn't want to rewrite the entire MatroskaParser API to be signed, but yeah.
hubblec4
20th October 2014, 11:35
First frame of Part2.mkv is not marked with IdrPicFlag but since it's a recovery point it should probably work anyways. Not sure if that's the reason. Either way be careful when splitting open gop, make sure splits are only at IDR frames.
I have made a new test where i split on IDR frames.
With Haali Splitter works all fine, LAV Splitter not.
hubblec4
20th October 2014, 15:01
Should be fixed, the problem was that Haali's MatroskaParser outputs unsigned timestamps, ....
Where i can find this fix? Next LAV release?
sneaker_ger
20th October 2014, 17:41
Yes, but you can already get a nightly:
http://pan.baidu.com/s/1gd1its3#dir/path=%2F自编译软件
hubblec4
21st October 2014, 12:21
@ sneaker_ger
Thanks for this link.
@ nevcairiel
Thanks for that fix, it works now.
filler56789
21st October 2014, 20:22
Apologies for the "apparent" OT, but...
regarding the publicly-available builds of LAV Filters,
«nightlies» is a big MISnomer;
also, at least at this exact moment,
I cannot download anything from betaking's directory @ baidu :mad:
It's really unbelievable, there is only one source of up-to-date builds, and that source is in an Orwellian country :(
nevcairiel
21st October 2014, 20:25
The source is freely available, you are free to build your own. Otherwise, I'm under no obligation to provide frequent "alpha" builds. :p
NikosD
21st October 2014, 20:55
Always here if you want to override Orwell and Huxley:
http://tmod.nmm-hd.org/LAVFilters/
cyberbeing
22nd October 2014, 15:27
http://tmod.nmm-hd.org/LAVFilters/
Keep in mind that astrataro's tmod builds contain custom patches, while betaking provides unmodified stock builds.
NikosD
22nd October 2014, 15:56
I think only cosmetic patches, not functional.
wanezhiling
22nd October 2014, 17:18
the difference of 06_taro's build: https://www.nmm-hd.org/newbbs/viewtopic.php?f=17&t=431
:p
Tacio
22nd October 2014, 19:24
the difference of 06_taro's build: https://www.nmm-hd.org/newbbs/viewtopic.php?f=17&t=431
:p
Could you please briefly translate it into English? :)
06_taro
23rd October 2014, 03:44
Could you please briefly translate it into English? :)
Posted here (http://astrataro.wordpress.com/2014/10/22/lavfilters-tmod/).
Mostly dirty hacks....
filler56789
23rd October 2014, 05:10
The source is freely available, you are free to build your own. Otherwise, I'm under no obligation to provide frequent "alpha" builds.
Of course you have no obligation to provide frequent alpha builds of LAV Filters. I only tried to say, it's unfortunate that
open-source ++ "7.xyz billion people" in the world DOES NOT lead to
dozens of download URLs for ready-to-use binaries u_u
@NikosD && @06_taro: Thanks! :thanks:
ryrynz
23rd October 2014, 10:17
Nvidia driver 344.48 has been released and fixes the 10 bit output issue
Changes and Fixed Issues in Version 344.48
344.11: Green screen when certain videos played back in Media Player Classic Home
Cinema. [1556111]
Mostly dirty hacks....
"5. Some colorspace conversion inside LAV Video does not have custom optimization and uses libswscale routine. I changed the prefered kernel from Bilinear to Bicubic, which has a better quality."
Would it make sense to have that by default?
nevcairiel
23rd October 2014, 10:52
None of those conversions are used in normal operation of LAV, especially not with a decent renderer like madVR. And Bicubic in swscale is butt-slow.
Even with EVR you'll have to find some special videos and combinations to even trigger those conversion.
If you force a non-native output for some crazy reason, its your own fault. :p
M@xim
24th October 2014, 09:17
Intel QuickSync Decoder Version 0.45 or older?
James Freeman
25th October 2014, 14:18
nev,
Weren't there a rumor that a native DTS-HD support will soon to come to LAV?
How is that coming around?
foxyshadis
25th October 2014, 21:03
nev,
Weren't there a rumor that a native DTS-HD support will soon to come to LAV?
How is that coming around?
Right now it's on the list for a new round of sponsored improvements for next year: DTS / DCA Improvements (https://trac.ffmpeg.org/wiki/SponsoringPrograms/OPW/2014-12#DTSDCAImprovements)
IIIuXep
25th October 2014, 22:04
Need help...
Blank screen on Windows 8.1 with DVXA2
It worked fine at the begining (version 0.58) but at some point stopped. I didn't catch the moment when it happened, videos just become green screen, I updated 58 to 63 and green changed to black, and that's it...
Videocard is Radeon 4850
wanezhiling
26th October 2014, 14:14
https://www.sendspace.com/file/h6ahhs
Can't play it, wmp12 works fine.
filler56789
26th October 2014, 14:42
https://www.sendspace.com/file/h6ahhs
Can't play it, wmp12 works fine.
Looks like the single video frame is borked.
MKVmerge GUI returns a warning message.
MediaInfo says, width=1280, height=1024, DAR=16:9 — WTF? :confused:
Gravitator
28th October 2014, 18:08
Салам!
Video mode CUDA crumbles and falls with error VCRedist through DirectX (software normally) > sample (http://files.videohelp.com/u/227452/LAV%20(hevc%20hardware).mkv)
I suspect that due to the high P16-B16 frames...
Win7x64, Core2Duo E6600, GTX750 2GB (driver v344.11), DDR3 8GB, MPCx32 v1.7.7, LAV v0.6.3.
Aleksoid1978
29th October 2014, 14:03
Bug in seeking HEVC + mpeg-ts. After seek - huge CPU load and picture is freeze. Tested in MPC-HC/MPC-BE/Graphstudio. MPC-BE's MPEGSplitter seek fine(little image corruption after seeking, but playback don't stop).
Samsung_UHD_Soccer_Real_Madrid_Celta_Vigo.ts (http://demo-uhd3d.com/fiche.php?cat=uhd&id=43)
namaiki
30th October 2014, 13:59
Decoding MP3 with LAV Splitter-> LAV Audio-> MPC Audio Renderer (MPC-BE).
I have found that LAV Audio decoder by itself prefers to output 16-bit audio. However, when connected with MPC Audio Renderer from MPC-BE, LAV Audio decoder sends 32-bit float audio to MPC Audio Renderer which converts that to 24-bit audio.
Is one method more correct than the other?
edit: something is a bit funny with my testing. Actually, it seems that LAV Audio decoder does not prefer to output 16-bit audio in either situation.
Blight
30th October 2014, 14:45
nev:
I got a report from a user about a non-audio playing MP4 files, basically files downloaded from https://www.singstar.com/community.html
I uploaded a short sample here:
http://zoomplayer.com/t/noaudio_mp4sample.zip
Both the Microsoft DTV and the old gabest mpeg audio decoder seem capable of decoding the audio (using LAV splitter as source filter), so I'm wondering if LAV audio decoder can support these.
Aleksoid1978
31st October 2014, 02:09
nev:
I got a report from a user about a non-audio playing MP4 files, basically files downloaded from https://www.singstar.com/community.html
I uploaded a short sample here:
http://zoomplayer.com/t/noaudio_mp4sample.zip
Both the Microsoft DTV and the old gabest mpeg audio decoder seem capable of decoding the audio (using LAV splitter as source filter), so I'm wondering if LAV audio decoder can support these.
It's ffmpeg's bug. Create ticket in ffmpeg.
mirkosp
31st October 2014, 10:32
Can anything be done for subtitles that start before or at the chapters points when segment linking? When it's simple chapters normal playback is fine and there are a couple of ways around when seeking, but when it comes to ordered chapters with segment linking the issue is opposite. I can get it to work properly when seeking to the chapter, but during normal playback, if it's switching segment and there's a subtitle which starts at the chapter point, it won't get loaded, meaning the next best thing I can do is get a blinking frame without sign... how does it decide which subs get loaded?
nevcairiel
31st October 2014, 13:46
edit: something is a bit funny with my testing. Actually, it seems that LAV Audio decoder does not prefer to output 16-bit audio in either situation.
It prefers to output whatever the internal decoder decodes the audio to, if anything else happens, then the audio renderer didn't accept it.
mirkosp
31st October 2014, 14:45
Just to update, for the time being I worked around the issue by manually rounding the timecode for the chapter start frame so it's at a .xx0 ms in the video stream, and made sure that same timecode was used both as the starting point in the ordered chapters and the subtitle timecode in the .ass. Kind of a dirty hack but a <10ms difference at chapter points isn't perceptible in playback anyway.
Weirdo
1st November 2014, 02:28
Hello there, it seems YouTube's Dash separated audio files (.m4a) cannot be decoded (sample here (http://www.solidfiles.com/d/4f5a321eda/Dash_audio_sample.zip)). Any plans to support them? Thanks.
vivan
1st November 2014, 03:19
I don't have any problems with that sample (LAV 0.63.0.0 x86)...
Sparktank
1st November 2014, 03:53
The 0.63.0.2 (x86) version packed with KLCP doesn't have any issues either.
External filters for MPC-HC (internal disabled).
foxyshadis
1st November 2014, 11:17
Just to update, for the time being I worked around the issue by manually rounding the timecode for the chapter start frame so it's at a .xx0 ms in the video stream, and made sure that same timecode was used both as the starting point in the ordered chapters and the subtitle timecode in the .ass. Kind of a dirty hack but a <10ms difference at chapter points isn't perceptible in playback anyway.
When you say ordered chapters, are you talking about split files? In that case, doubled-up subtitles make sense, if they cross a chapter boundary. As you say, manually editing everything so that subtitles never cross a chapter boundary is also effective.
Vasilich
1st November 2014, 20:41
Hi Nev,
any plans to support teletext subtitles in TS files as separate stream?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.