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 4th September 2022, 15:16   #24861  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 452
Quote:
Originally Posted by Sir Enhancealot View Post
' All the 'RAW' stuff is silly because if U simply set up the camera or whatever 2 save things in a natural-looking way with the 'correct gamma curve & saturation' & stuff in the first place, when U shoot, then U don't need 2 WA$TE all that data & 'extra resolution' trying 2 keep 'everything' instead of just what U will actually NOTICE! =)
About your black comments: eye is adapted to black outside. Try walking in the dark with your phone on. It is very not nice, but I do it often. Black is more prominant in the closed space. It is also scene referred: black just means camera 20 stops cannot quite get it. The N-RAW video that is truely patented by Red >24 fps and Red is suing Nikon for it: https://forum.grassvalley.com/forum/...ample-download

Open it in Davinci. You will be shocked if you render it to BT.2020 PQ HDR. Believe me. Red is not suing them for nothing, 8256x4644x50fps.

Last edited by Balling; 4th September 2022 at 15:26.
Balling is offline   Reply With Quote
Old 4th September 2022, 19:39   #24862  |  Link
max79
Registered User
 
Join Date: Mar 2017
Posts: 70
Quote:
Originally Posted by clsid View Post
MPC-BE Menu > Play > Filters

It is probably using "File Source (URL)", which may be caching the whole file before playback starts.

You can edit this registry key to change the source filter:
HKEY_CLASSES_ROOT\ftp
LAV = {B98D13E7-55DB-4385-A33D-09FD1BA26338}
Hello,
is the any way starting to play such URLs in "LAVSplitterSource":
ftp ://MyPassword@SiteName.com/FolderName/FileName.mp3

At this moment works only URLs like this:
ftp ://SiteName.com/FolderName/FileName.mp3
max79 is offline   Reply With Quote
Old 4th September 2022, 22:26   #24863  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,294
Quote:
Originally Posted by max79 View Post
Hello,
is the any way starting to play such URLs in "LAVSplitterSource":
ftp ://MyPassword@SiteName.com/FolderName/FileName.mp3
AFAIR the "syntax" of that command is incorrect, or rather, incomplete;
try this one instead:

Code:
protocol://username:password@SiteName.domain/directory/filename.MP3

Last edited by filler56789; 6th September 2022 at 10:47. Reason: edit
filler56789 is offline   Reply With Quote
Old 4th September 2022, 22:43   #24864  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,294
<OFF-TOPIC>
Maybe a moderator should clean this thread AND the ffdshow topic too by deleting some posts AND doing some additional "moderator magick" as well :-/
</OFF-TOPIC>

Last edited by filler56789; 4th September 2022 at 22:57.
filler56789 is offline   Reply With Quote
Old 5th September 2022, 08:48   #24865  |  Link
max79
Registered User
 
Join Date: Mar 2017
Posts: 70
Quote:
Originally Posted by filler56789 View Post
try this one instead:
Code:
protocol://username:password@SiteName.domain/directory/filename.MP3
This is it! Thank you very much for your help. Works!
max79 is offline   Reply With Quote
Old 6th September 2022, 21:49   #24866  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,340
Quote:
Originally Posted by Sir Enhancealot View Post
No point doing 4:4:4 when even Blu-ray is 4:2:0. All U R doing is WA$TING CPU & file size = LOL!!
So many words, without even knowing the reason I asked 444 support for... kek...
__________________
@turment on Telegram

Last edited by tormento; 6th September 2022 at 21:52.
tormento is offline   Reply With Quote
Old 6th September 2022, 21:50   #24867  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,340
Quote:
Originally Posted by Balling View Post
Why do you think nvidia added lossless RGB and YCbCr 444 nvenc hevc?
I am actually using lossless HEVC as intermediate files, now that I have proper HW decoding in AVS too.

Let him throw his time. If only we could have a forum option to hide his posts.
__________________
@turment on Telegram

Last edited by tormento; 6th September 2022 at 21:53.
tormento is offline   Reply With Quote
Old 24th September 2022, 13:12   #24868  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 452
Quote:
Originally Posted by Balling View Post
So when atmos open source decoder? https://github.com/VoidXH/Cavern

Brownian motion: https://photos.app.goo.gl/biAubMWnT8AM18Xm6
Nev? Will it be in Lav? I opened and asked to fix 12 bugs in Cavern, I think it is more or less ready.
Balling is offline   Reply With Quote
Old 24th September 2022, 13:37   #24869  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 258
Will it be in ffmpeg?

Because LAV Filters use ffmpeg for decoding.
lvqcl is offline   Reply With Quote
Old 28th September 2022, 23:44   #24870  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 452
Quote:
Originally Posted by lvqcl View Post
Will it be in ffmpeg?

Because LAV Filters use ffmpeg for decoding.
https://github.com/FFmpeg/FFmpeg/sea...s&type=commits

https://github.com/FFmpeg/FFmpeg/sea...l&type=commits

I am just saying.
Balling is offline   Reply With Quote
Old 29th September 2022, 06:59   #24871  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 370
For LAV Video decoder, what do the "deinterlacing mode" and "field order" settings actually do?

I've thrown a ton of videos at various combination of those 2 settings and they never seem to actually do anything.

The only video file I have managed to see a difference with is a 1080p25 file that is incorrectly flagged as progressive and actually contains 1080i25 @ 1:1 cadence. With this particular file, DXVA deinterlacing won't work unless I set LAV to "deinterlacing mode: force" and "field order: top field first". This is with MadVR as the renderer, and MadVR set to enable DXVA deinterlacing via file tag [deint=video].

Am I correct in assuming that those 2 LAV deint settings just set some flags in the decoded video stream which the renderer or DXVA is looking at and making decisions based on those flags? i.e LAV doesn't actually modify the video frames in any way? (I have LAV's "software deint" disabled btw).

This seems relevant but doesn't really answer my question:

Quote:
Originally Posted by madshi View Post
Let me explain how things are from the view point of a video renderer. The renderer must deal with a wide number of decoders and they all behave differently. Some decoders always set interlaced flags, others never set interlaced flags, again others set them sometimes and sometimes not, depending on user configuration (and the user doesn't always know what he's doing), or depending on the weather or the configuration of the planets. There are typically 2 things that I've seen decoders do:

(1) Either the decoder sets the interlaced flags to 0. If that happens, madVR doesn't know if that is supposed to mean "this file is progressive", or if the decoder is not in the mood to share information, because 0 is also the non-initialized value used by all decoders which never properly fill in these values (like CoreAVC).

(2) Or the decoder sets the flags to "AMINTERLACE_DisplayModeBobOrWeave". Again, this information is more or less useless, because by definition is means "the stream could be totally progressive, or totally interlaced, or a mixture of both". In other words, by setting "AMINTERLACE_DisplayModeBobOrWeave", the decoder pretty much says: "I've no idea whether this file is interlaced or progressive or whatever".

Even though all of the above is quite bad, madVR *still* tries to behave identical to VMR/EVR, which means that if the interlace flags are set to 0, madVR will by default not activate deinterlacing, and if the flags are set to "AMINTERLACE_DisplayModeBobOrWeave", madVR will by default activate deinterlacing, but only after the first interlaced video frame is received. I don't consider this behaviour really alright, but since VMR/EVR are doing it this way, I'm trying to have madVR behave identical.

There is one thing that makes madVR's behaviour different from VMR/EVR: While VMR/EVR always blindly trust the decoder (and thus will stumble when decoders don't set the flags correctly, or not at all), madVR gets itself access to the video bitstream to make its own analyzation of whether deinterlacing is needed or not. If the video bitstream clearly says whether deinterlacing is necessary or not, madVR will value this information higher than the rather non-specific flags described above. I believe this is a good thing, and I challenge anyone to argue otherwise.

If LAV wants to force deinterlacing to on/off, it's easy enough to do that with madVR. There are interlace flags available for that, described by Microsoft, which madVR properly honors. "AMINTERLACE_DisplayModeBobOnly" asks for the whole video stream (every frame) to be deinterlaced, so that would be the correct flag to set to force the renderer to turn deinterlacing on. And "AMINTERLACE_DisplayModeWeaveOnly" asks for the whole video stream to not be deinterlaced, so that would be a good flag to set to force the renderer to turn deinterlacing off. If LAV used these flags, madVR would obey. madVR has supported these flags from the first version deinterlacing was introduced.

Last edited by flossy_cake; 29th September 2022 at 07:02.
flossy_cake is offline   Reply With Quote
Old 29th September 2022, 10:16   #24872  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,254
The settings just influence the metadata, indeed. Of course if LAV itself were to deinterlace, it would also obey them. madshi's stance to play fast and loose with the metadata provided by the decoder is not something I care for, and if i set the interlaced flag to 0, I would expect a renderer to act accordingly.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 1st October 2022, 04:44   #24873  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 370
Is there any chance of considering a filename tagging scheme similar to MadVR so we can turn LAV features on for certain files/folders. eg. [SoftDeint=bwdif], [FieldOrder=tff], [DeintMode=force]. I'd like to use software deint on some problematic files that don't work very well with DXVA deint and MadVR's ivtc. And maybe turn off DXVA2 decoding for certain files as well. Having to manually change the setting through the GUI every time we watch an episode of some show is kind of a dealbreaker.

Last edited by flossy_cake; 1st October 2022 at 05:10.
flossy_cake is offline   Reply With Quote
Old 1st October 2022, 09:39   #24874  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,254
There are no plans for that. LAV is primarily designed to be used by player software, those can control the configuration, and in theory also support per-file overrides.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 1st October 2022, 14:40   #24875  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 886
Quote:
Originally Posted by flossy_cake View Post
Is there any chance of considering a filename tagging scheme similar to MadVR so we can turn LAV features on for certain files/folders. eg. [SoftDeint=bwdif], [FieldOrder=tff], [DeintMode=force]. I'd like to use software deint on some problematic files that don't work very well with DXVA deint and MadVR's ivtc. And maybe turn off DXVA2 decoding for certain files as well. Having to manually change the setting through the GUI every time we watch an episode of some show is kind of a dealbreaker.
You can easily export LAV registry with each settings and put them (or a shortcut) on the desktop or call them from a batch file. This means that you only have to click on a file to swap settings. I had to do this to switch between audio passthrough and LPCM. Better than accessing LAV config each time.
__________________
Win11 Pro x64 b21H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 Trinity 24Gb RGB Full 12bits
madVR/jRiver/MyMovies/CMC
Denon X8500H>madVR Envy Extreme>HD Fury VRRoom>JVC RS3100
Manni is offline   Reply With Quote
Old 1st October 2022, 21:20   #24876  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 370
Quote:
Originally Posted by Manni View Post
You can easily export LAV registry with each settings and put them (or a shortcut) on the desktop or call them from a batch file. This means that you only have to click on a file to swap settings. I had to do this to switch between audio passthrough and LPCM. Better than accessing LAV config each time.
Thank you, but the HTPC has to be usable by the average person in our household and they won't remember to click some batch file for certain shows. All they can do is open Kodi , browse for the file and then launch it (which opens with MPC-HC). Perhaps I could configure Kodi to launch batch files or something? But then every single file in the video library would have to be a batch file otherwise it would use whatever settings were applied by the last batch file.

Last edited by flossy_cake; 1st October 2022 at 21:23.
flossy_cake is offline   Reply With Quote
Old 1st October 2022, 22:51   #24877  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 886
Quote:
Originally Posted by flossy_cake View Post
Thank you, but the HTPC has to be usable by the average person in our household and they won't remember to click some batch file for certain shows. All they can do is open Kodi , browse for the file and then launch it (which opens with MPC-HC). Perhaps I could configure Kodi to launch batch files or something? But then every single file in the video library would have to be a batch file otherwise it would use whatever settings were applied by the last batch file.
I used MCE controller to assign a batch file to a button on my iPad control with iRule when I needed this, it worked well. Event Ghost works well too for this. Of course it's not ideal, but it's easier to ask the user to press on a button than to tell you go into LAV control panel and select the right option.
__________________
Win11 Pro x64 b21H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 Trinity 24Gb RGB Full 12bits
madVR/jRiver/MyMovies/CMC
Denon X8500H>madVR Envy Extreme>HD Fury VRRoom>JVC RS3100
Manni is offline   Reply With Quote
Old 1st October 2022, 23:12   #24878  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 370
Quote:
Originally Posted by Manni View Post
I used MCE controller to assign a batch file to a button on my iPad control with iRule when I needed this, it worked well. Event Ghost works well too for this. Of course it's not ideal, but it's easier to ask the user to press on a button than to tell you go into LAV control panel and select the right option.
I really appreciate your suggestions, it's just that having to remember to manually intervene on certain files isn't practical enough.

I was thinking, if there was some way to apply LAV settings through the registry while LAV is running, it may be possible to implement a scripted solution which eg. detects when mpc-hc64.exe is running, gets the currently playing filename from mpc's window title, and then applies the custom LAV settings through registry. But I don't think those setting would apply until the next time LAV launches. Perhaps it could be scripted to re-launch MPC & LAV, but then Kodi will see MPC has closed and will exit back to its GUI. And the whole thing is just super convoluted.

edit: I've since learned that LAV's deinterlacing settings can be applied per-file by using an avisynth script, eg.

Code:
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64\LSMASHSource.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64\BWDIF.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64\yadifmod2.dll")

file = "c:\myvideo.mkv"	
audiotrack = -1			# -1 = first track

video = LWLibavVideoSource(source=file, cache=false)
IsInt(audiotrack) ? AudioDub(video, LWLibavAudioSource(source=file, stream_index=audiotrack, cache=false)) : video
	
BWDIF(field=-2)
# yadifmod2(mode=1)


# save as eg. myvideo.avs and open with MPC-HC

Last edited by flossy_cake; 7th October 2022 at 00:44.
flossy_cake is offline   Reply With Quote
Old 5th October 2022, 11:54   #24879  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,193
for a TV broadcast with 5.1 AC3 track LAV shows the info "5.1(side)"

what does this "side" here mean?
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 5th October 2022, 12:22   #24880  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,512
there are 2 5.1 (maybe more i know 2) one where the "rear" speaker are "behind" you and one where they are to the "sides" like 7.1 missing the rear speakers.

this file is mastered for side speaker. it knows this form meta data 2 or 4 hexa values or something like that.
huhn is offline   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 03:40.


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