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 5th October 2022, 16:05   #24881  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,193
hm is this a specialty of AC3, compared to DTS? because e.g. in DTS master suite theres only 1 configuration for 5.1 tracks (Ls, Rs)
__________________
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, 17:20   #24882  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,254
Both Dolby and DTS define a whole list of speaker positions and their naming.

These are the DTS names for channels, and their speaker position according to the DTS specification (degrees relative to your nose when looking at the screen)
Ls/Rs: Left/Right surround, 110 degrees
Lsr/Rsr: Left/Right surround rear, 150 degrees
Lss/Rss: Left/Right surround side, 90 degrees
Lw/Rw: Left/Right wide, 60 degrees

Typically, in 5.1 you'll find Ls/Rs being used (thats what the "side" layout in FFmpeg uses, its named after the WAVE specification which uses plain rear and side names), in older formats the Lsr/Rsr are used sometimes (thats the plain 5.1 in ffmpeg).
In 7.1, its typically both Ls/Rs and Lsr/Rsr, but that can vary.

Dolby defines the channel similarly, but not necessarily with equal angles etc.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 5th October 2022 at 17:22.
nevcairiel is offline   Reply With Quote
Old 5th October 2022, 17:30   #24883  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,193
so the (side) Ls/Rs setup is the common one nowadays? and so the track is not a rather a-typical one? would it sound strange if your setup is rather rear/behind when you play this "side" track or would it sound as it is supposed to be?
__________________
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, 18:48   #24884  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,515
if you want it to sound as it is intended you theoretical need to change the speaker setup in that case.

with bit streaming your AVR my even be remixing to move them ever so slightly if it knows your speaker position.

i suggest you to just ignore it. it's a spec that is hard to follow.
maybe there are now audio renderer where you can specify your setup but i don't know that.

even if your setup is "incorrect" it will not sound terrible.
huhn is online now   Reply With Quote
Old 6th October 2022, 12:09   #24885  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,572
Code:
Standard channel layouts:
...
5.1            FL+FR+FC+LFE+BL+BR  standard in XX Century (decoded from Ls-Rs in AC3,DTS,...)
5.1(side)      FL+FR+FC+LFE+SL+SR  standard in XXI Century (decoded from Ls-Rs in AC3,DTS,...)
...
Read also https://mediaarea.net/AudioChannelLayout to understand different names for channels

An AVR 5.1 send to Surround speakers (Ls-Rs 110-120) both channels SL-SR 90 (Lss-Rss) and BL-BR 150 (Lb-Rb)
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 6th October 2022 at 12:30.
tebasuna51 is offline   Reply With Quote
Old 23rd October 2022, 19:48   #24886  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 371
In LAV Video if I set Deinterlacing Mode to Auto, does this mean my selected Software deinterlacer will only be activated if the stream has interlace flags? And is this 100% reliable in terms of avoiding false positives -- i.e could some progressive sources be accidentally detected as interlaced and therefore have software deinterlacing applied to them which would needlessly degrade the progressive image?
flossy_cake is offline   Reply With Quote
Old 24th October 2022, 13:10   #24887  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 884
Yes; and no.
As the tooltip says, 'Auto' uses frame flags to decide.
If a progressive stream is incorrectly flagged as interlaced frames, it will be passed through the chosen software deinterlacer.
__________________
HTPC: Windows 10 21H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 512.95
el Filou is offline   Reply With Quote
Old 1st November 2022, 09:34   #24888  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 371
Thanks.

Sorry if this is a silly question but is there an arg I can pass to LAV Splitter to tell it to select a particular subtitle track? I know I can pass it eg. "eng" to select the English track, but I have multiple English tracks, eg. track 2 is an English commentary track. Is there some arg I can pass to tell it "track 2"?

I have read the readme here but it doesn't seem to cover such a scenario.

In case you're wondering why don't I just use MPC-HC's built in subtitle selector or LAV Splitter's tray icon...the answer is that I'm calling LAV Splitter from Avisynth via DSS2() and I am trying to pass it arguments for subtitle track selection so that I don't have to manually set it every time I open the .avs file.

edit: code sample

Code:
video = dss2(sourcefile, subsm=2, lavs="l3 vc2 sm3 sl[] sa[eng] es0 ti1", lavf_path="C:\Program Files (x86)\K-Lite Codec Pack\Filters\LAV64")

audio = directshowsource(sourcefile, video=false, audio=true)

AudioDub(video, audio)

Last edited by flossy_cake; 1st November 2022 at 09:42.
flossy_cake is offline   Reply With Quote
Old 2nd November 2022, 04:24   #24889  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 215
The only way I know of is via using the @ operator.

eng@SDH eng@ass both work.. I don't have commentary tracks so I can't see how they're labelled on your side, but eng@commentary or whatever is in the square brackets should work.
Sunspark is offline   Reply With Quote
Old 2nd November 2022, 11:35   #24890  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 371
Quote:
Originally Posted by Sunspark View Post
The only way I know of is via using the @ operator.

eng@SDH eng@ass both work.. I don't have commentary tracks so I can't see how they're labelled on your side, but eng@commentary or whatever is in the square brackets should work.
Thank you, it works:

flossy_cake is offline   Reply With Quote
Old 6th November 2022, 01:13   #24891  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 371
I was wondering about how LAV Video handles the "repeat flags" for "soft telecined" NTSC DVD MPEG2 streams.

From what I can tell the MPEG2 stream on the disc is stored as 24p but contains some "repeat flags" to tell the player when to repeat frames/fields to make it come out as 60hz 3:2 pattern.

This makes sense but how does LAV handle it exactly -- is it creating repeat FIELDS or FRAMES? Does it assume 60hz in its calculation for repeating these fields/frames?

I noticed when playing such material on 120hz display, I still have 3:2 judder even though 24 goes 5:5 into 120. From this I'm inferring that LAV Decoder must be assuming the repeat flags are intended for 60hz display -- is that codified in the MPEG2 spec or does LAV make the decision about the timing of the repeat flags?

edit: after some more testing it seems LAV uses the repeat flags to convert it to 60p. The LAV settings GUI doesn't seem to offer an option to not perform this conversion and just output it as 24p.

edit: a 60i option would be nice too as there are some edge cases where that can be beneficial.

Last edited by flossy_cake; 6th November 2022 at 02:22.
flossy_cake is offline   Reply With Quote
Old 6th November 2022, 10:29   #24892  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,254
LAV does not repeat fields on its own. It forwards the metadata to the renderer, which can decide to repeat frames, or not to.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 7th November 2022, 08:14   #24893  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,515
as far as i know the Microsoft decoder is outputting soft telecine as hard telecine and the lav is not so you have to disable the Microsoft decoder to get soft telecine.
and if i remember correctly the microsoft decoder is used by default when a normal dvd is loaded to make menus work.
huhn is online now   Reply With Quote
Old 10th November 2022, 17:29   #24894  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,254
LAV Filters 0.77
Code:
LAV Splitter
- Fixed: Improved handling of multichannel PCM channel assignments
- Fixed: MP4 Keyframe information could be wrong

LAV Audio
- NEW: Support for audio with more then 8 channel, including automatic downmixing if required
Download: Installer (both x86/x64) -- Zips: 32-bit & 64-bit

Nothing much to say for this one. Lots of under-the-hood changes in FFmpeg, bugfixes, speedups, etc. dav1d was updated for faster AV1 decoding.

Thats it. Short and sweet.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th November 2022, 18:26   #24895  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 886
Thanks for all your work
__________________
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 10th November 2022, 20:05   #24896  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,545
Stellar as always.
ryrynz is offline   Reply With Quote
Old 10th November 2022, 21:13   #24897  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,116
I wonder if someone can help...

I've managed to configure LAV Filters to parse every audio format with MPC-BE 1.6.4. except LPCM.wav files!

What do I need to do?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 11th November 2022, 11:40   #24898  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,320
Thanks Nev!
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config
chros is offline   Reply With Quote
Old 11th November 2022, 11:57   #24899  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,572
Quote:
Originally Posted by nevcairiel View Post
LAV Filters 0.77
[CODE]
LAV Splitter
- Fixed: Improved handling of multichannel PCM channel assignments
...
Many thanks!
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 14th November 2022, 03:34   #24900  |  Link
AYColumbia
Registered User
 
AYColumbia's Avatar
 
Join Date: Jun 2013
Posts: 52
Thanks very much.
AYColumbia 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 01:00.


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