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 1st June 2012, 20:53   #11201  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Yea I don't know. That'd be the one quick and easy thing I can think of to try.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 1st June 2012, 22:04   #11202  |  Link
CiNcH
Registered User
 
CiNcH's Avatar
 
Join Date: Jan 2004
Posts: 567
Didn't seem to have helped. Just tried it with LAV as audio decoder and ffdshow as audio post-processor. Video and audio are out of sync after a short time. Tried on Sport1 HD. I will try whether it is possible to reproduce it with a file. But I think that the problem is a combination of push graph (DVBSource), LAV Video and ffdshow Audio.
__________________
Bye
CiNcH is offline   Reply With Quote
Old 1st June 2012, 22:08   #11203  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Could be. That's a shame. Hope you get it sorted out.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 2nd June 2012, 06:34   #11204  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
The Windows mixer doesn't work? For most cases in which you need a mixer it should suffice.
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9
Andy o is offline   Reply With Quote
Old 2nd June 2012, 15:40   #11205  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Is there any plans on making LAV dvd decoding mpeg2 files?
As currently i have to choose ffdshow or Microsoft for that.

Not the worlds most important future, but it would be neat
zerowalker is offline   Reply With Quote
Old 2nd June 2012, 19:04   #11206  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 452
Quote:
Originally Posted by Pat357 View Post
Nev,

I suspect a regression in Lavaudio when opening a DVD folder via the .IFO file.
MPC-HC consistently crashes (all versions I've tried) if I open the .IFO file from the \VIDEO_TS folder.
What happens is that the video starts playing, but no audio.
(the crash window from MPC pops up)

This is what my event log says :
Code:
Log Name:      Application
Source:        Application Error
Date:          1/06/2012 17:00:47
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Win7
Description:
Faulting application name: mpc-hc.exe, version: 1.6.3.4948, time stamp: 0x4fc63f56
Faulting module name: LAVAudio.ax, version: 0.50.5.0, time stamp: 0x4fc67cec
Exception code: 0xc0000005
Fault offset: 0x00007873
Faulting process id: 0xbdc
Faulting application start time: 0x01cd400751fe7ff5
Faulting application path: K:\programs\MPC-Homecinema.1.6.2.4802\x86\mpc-hc.exe
Faulting module path: k:\programs\LAV Filters-0.50\x86\LAVAudio.ax


After rolling back to the original LAV 0.50.5, the crashes are gone.
Could you in mean time try it yourself (open .IFO file)
I'm aware DVD playback is not yet supported, but Lavaudio used to work well in this situation.
Thanks in advance !

PS
Something I forgot : if I block lavaudio, there are no crashes.
Reading the vobs 1 by 1 using Lavvideo/Lavaudio/Lavsplitter is OK, no crashes.

All tests are done with non-encrypted dvd's on my HD.
added 02-06-2012
I tested build a73f6321f4f7 (most recent from git) and the 2 builds before : these are all affected.
I'll try to figure out between which builds the regression was introduced.
Pat357 is offline   Reply With Quote
Old 3rd June 2012, 08:19   #11207  |  Link
Kay Diefenthal
Registered User
 
Join Date: May 2012
Location: Wachtberg ,Germany
Posts: 2
hi i am new here and hope this is the right place to nevcairiel ask where / what the problem is

i use your Lav Directshow Filter Pack for my FortheRecord Windows Media
Center client

but think i have found a problem

If i give Windows MediaPlayer or Windows Media Center an url with hostname
can both not play the stream
give i both the url with ip instead of hostname work it

is that a problem of the Lav Splitter or of Windows MediaPlayer /Windows
Media Center ?
Kay Diefenthal is offline   Reply With Quote
Old 3rd June 2012, 08:29   #11208  |  Link
kitame
Registered User
 
Join Date: May 2012
Posts: 85
hello guys,

i've stumbled upon a bug in LAV splitter's subs rule, i cant seem to draw english audio.

im using this setting(advance):


also, how do i draw the signs[eng] instead of the full sub[eng]? its a sort of english subs that only subs signs.
well simply put theres two english subs stream and i want to select the second stream >,>

edit: ah right, leaving the audio selection blank seems to null the subs rule. so i fixed the drawing of the english audio, but i still cant seem to draw the alternate english sub.

Last edited by kitame; 3rd June 2012 at 13:43.
kitame is offline   Reply With Quote
Old 3rd June 2012, 14:35   #11209  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
LAV cannot select the second stream. If it's an mkv file use mkvtoolnix' header editor to set the full subtitles to default and prioritize "eng:eng|d".
sneaker_ger is offline   Reply With Quote
Old 3rd June 2012, 15:52   #11210  |  Link
glorp
Registered User
 
Join Date: Apr 2010
Posts: 49
You could re-tag the language of the first audio stream with the mkvtoolnix header editor to "und" and leave the second stream "eng". Then it will select second audio track.
glorp is offline   Reply With Quote
Old 3rd June 2012, 21:38   #11211  |  Link
CiNcH
Registered User
 
CiNcH's Avatar
 
Join Date: Jan 2004
Posts: 567
OK, A/V also seem to be async with LAV Audio, so it does not seem to have anything to do with the audio decoder or post-processor. Audio is sometimes earlier than video. So it may be a problem with LAV Video and push graph. Or maybe a general problem with LAV Video. I will have to do some more investigations:

- whether I can reproduce it in a pull scenario with file playback
- find out when this happens, so whether sync is lost after some time (and is slowly getting worse) or maybe sometimes even immediately
__________________
Bye
CiNcH is offline   Reply With Quote
Old 4th June 2012, 03:48   #11212  |  Link
dbcooper
Registered User
 
Join Date: Jul 2009
Posts: 51
Quote:
Originally Posted by zerowalker View Post
Is there any plans on making LAV dvd decoding mpeg2 files?
As currently i have to choose ffdshow or Microsoft for that.

Not the worlds most important future, but it would be neat
The shark007 codec pack includes the Cyberlink PowerDVD mpeg2 decoder, which uses DXVA and is actually very nice.
dbcooper is offline   Reply With Quote
Old 4th June 2012, 10:11   #11213  |  Link
kitame
Registered User
 
Join Date: May 2012
Posts: 85
Quote:
Originally Posted by sneaker_ger View Post
LAV cannot select the second stream. If it's an mkv file use mkvtoolnix' header editor to set the full subtitles to default and prioritize "eng:eng|d".
Quote:
Originally Posted by glorp View Post
You could re-tag the language of the first audio stream with the mkvtoolnix header editor to "und" and leave the second stream "eng". Then it will select second audio track.
ah, thats a good idea tho that is if i can spare wrecking the file's hash =p

other than that, is there other possible options? like 3rd party add-on.
kitame is offline   Reply With Quote
Old 4th June 2012, 10:14   #11214  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Unfortunately not.
ryrynz is offline   Reply With Quote
Old 5th June 2012, 01:36   #11215  |  Link
Mikey2
Registered User
 
Join Date: Nov 2010
Posts: 80
Hi all - In the MadVR thread, we became in a discussion about if it is possible that LAV Audio Decoder fully and correctly decodes the entire lossless file and does not down-sample.

Here is a copy of my post on that thread - it explains my skepticism and in a nutshell asks: Does putting dtsdecoderdll.dll in the LAV Filters directory finally solve this problem? (It seems too good to be true! )

{start post}
============

, are you sure it is not just decoding the CORE components and "down-sampling"* the lossless stuff?

I have spent many hours on this issue going back to the PAP (or lack there-of) debacle when Lossless formats started appearing on HTPC's. (That is the reason I have a Xonar card - it was the first to fully play more than the "core" parts of TrueHD and DTS-MA.)

Still, the Xonar card, and indeed the whole filter-system is quite picky when trying to play these extended formats.

From all of my research, it seems that the only way to get true lossless audio is to have a bitstream that preserves the PAP.

Theoretically one should be able to decode to PCM (which is what we are talking about here.) But I thought both because of legal reasons (MPAA and their darn un-tamperable PAP!) and limitations with the filter-graphs themselves (including the inability to read the all of the extended lossless data.)

To test this hypothesis, let's do an example:

This is the real Pin information for The DTS-MA track for the extended version of "Return of the King:"


The input pin to any decoder file isthe standard DTS core bitrate of 1536kbps


LAVAudioDecoder (IN)

Audio: DTS 48000Hz 7ch 1536kbps

The output pin's bitrate will always be larger since it is a decoded WAV in a PCM at this point.

LAVAudioDecoder (OUT)
Audio: WAVE_FORMAT_EXTENSIBLE 48000Hz 7ch 8064kbps

So using LAVAudioDecoder we have a bitrate around 8,000kbps (I verified that this is the bitrate going into the Renderer.)

Now let's try bitstreaming. First take out the LAVAudioDecoder and go straight to ffdShow Audio in Bitstream format. (For some reason that decoder is one of a small few (like eac2) that runs a weird hack that gives it access to the supplemental data.)

ffdShow (Audio) (0UT)
Audio: 0x0241 192000Hz 8ch 24576kbps

So using in bit-stream mode (that we know is lossless) we have a bitrate around 24576kbps (3X the decoded mode@)

That is a much higher bitrate than the original! (3X) Too bad bit-rates are variable and that MediaInfo cannot display a file's bit-rate. Furthermore this is not proof that the sound quality is greater - indeed any WAVE-format PCM is going to have many kbps; however, that is a significant difference and seems to show me that not all of the data is being processed even in this setup!

Don't get me wrong, I'm not married to bitstreaming - in fact I'd prefer to work in the PCM world where I can use ReClock etc, but given its history, I am always skeptical when I hear of something that does "lossless" audio cleanly. If this is truly performing software decoding on DTS_MA without any downsampling, then this is the first time I have heard of such a thing

Wow this is WAY off-topic, and I apologize. As you can tell I am more than a little interested in this. I think I will post this in the LAVFilters thread too…

Thanks for reading!
MikeY

* - "down-sampling" has been used incorrectly in this case in the past. To me (at least with DTS-MA) the issue is simply stripping the non-core data.

EDIT/UPDATE/SOLUTION: Thank you for the response nevcairiel (see below.) Essentially I am a fool, I forgot to multiply the different sampling frequencies to get the correct bit-rate.

In other words (correct me if I'm wrong,) but it looks like it is in fact working fine: the 1536 input pin is a misnomer, it is receiving and decoding the full DTS-MA signal. VERY cool stuff, if this was around a couple years ago I could have saved a hundred dollars on my Xonar audio-card! (Since DTS-MA and TrueHD can be decoded at full-quality, there is no longer any need to bitstream this.)


Quote:
Originally Posted by nevcairiel View Post
Bitstreaming DTS-HD needs to run at the absolute maximum bitrate possible, so it'll always be very high.
It always runs at 192kHz, 8 channels, 16-bit, resulting in 192000 * 8 * 16 = 24576000 bit per second, or 24576 kbps.
This is just how HDMI works.

Last edited by Mikey2; 15th August 2012 at 19:44.
Mikey2 is offline   Reply With Quote
Old 5th June 2012, 01:39   #11216  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
The MA extensions of DTS contain the extra channels. If it were only doing core, then you would only ever get 5.1. Trust us, we did a lot of testing around this when the ability was first added. Nev is hooking the ArcSoft decoder directly in code. The down-sampling, i.e. reducing the bit depth to 48/16 doesn't actually happen in the decoder but in the renderer. So we avoid that by using the decoder directly. In any case, yes, you are getting full DTS-HD MA decoding. At all the right bitdepth.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 5th June 2012, 03:14   #11217  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
All those bitrate numbers are not the actual stream numbers. I don't know if there's an error or if they're reading something else, but Nev has stated in the past that what LAV decoder reports is not the HD bitrate, and it doesn't matter. The 1536 kbps is clearly the core DTS-ES (6.1 or "7 channel") bitrate. The out bitrate apparently is a 7-channel (6.1) 24-bit 48kHz PCM which is likely what the 6.1 DTS-HD MA track would decode to. I don't know what the ffdshow numbers mean, if it's resampling, or if they're just plainly wrong, but they clearly are not the decoded bitrate. The sampling freq and channels just don't match.
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9
Andy o is offline   Reply With Quote
Old 5th June 2012, 07:08   #11218  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,542
I have some trouble playing AVCHD .m2ts from a Sony 1080i cam, i.e. freezing, stuttering or not playing at all.

The same works perfectly with other decoders.

Before uploading huge files, has anybody tested LAV with those kind of files?

Mediainfo report:

PHP Code:
General
ID                                       
(0x0)
Complete name                            E:\avchd\03-06-2012\20120603090917.m2ts
Format                                   
BDAV
Format
/Info                              Blu-ray Video
File size                                
24.1 MiB
Duration                                 
11s 935ms
Overall bit rate mode                    
Variable
Overall bit rate                         
16.9 Mbps
Maximum Overall bit rate                 
18.0 Mbps

Video
ID                                       
4113 (0x1011)
Menu ID                                  (0x1)
Format                                   AVC
Format
/Info                              Advanced Video Codec
Format profile                           
High@L4.0
Format settings
CABAC                   Yes
Format settings
ReFrames                2 frames
Format settings
GOP                     M=2N=13
Codec ID                                 
27
Duration                                 
11s 880ms
Bit rate mode                            
Variable
Bit rate                                 
15.8 Mbps
Maximum bit rate                         
16.0 Mbps
Width                                    
1 920 pixels
Height                                   
1 080 pixels
Display aspect ratio                     
16:9
Frame rate                               
25.000 fps
Color space                              
YUV
Chroma subsampling                       
4:2:0
Bit depth                                
8 bits
Scan type                                
Interlaced
Scan order                               
Top Field First
Bits
/(Pixel*Frame)                       : 0.305
Stream size                              
22.4 MiB (93%)

Audio
ID                                       
4352 (0x1100)
Menu ID                                  (0x1)
Format                                   AC-3
Format
/Info                              Audio Coding 3
Mode extension                           
CM (complete main)
Format settingsEndianness              Big
Codec ID                                 
129
Duration                                 
11s 968ms
Bit rate mode                            
Constant
Bit rate                                 
448 Kbps
Channel
(s)                               : 6 channels
Channel positions                        
FrontL C RSideL RLFE
Sampling rate                            
48.0 KHz
Bit depth                                
16 bits
Compression mode                         
Lossy
Delay relative to video                  
: -80ms
Stream size                              
655 KiB (3%)

Text
ID                                       
4608 (0x1200)
Menu ID                                  (0x1)
Format                                   PGS
Codec ID                                 
144
Duration                                 
11s 375ms
Delay relative to video                  
: -80ms 
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 5th June 2012, 10:30   #11219  |  Link
andybkma
Registered User
 
Join Date: Sep 2006
Posts: 212
Win 7 SP 1 32-bit, LAV Filter 0.50.5

Bug Report if I may: For many .FLV files that are encoded with VP6 or Sorenson, using LAV Splitter Source as the splitter, when the video comes to the end it will not start the video again (loop the video) but instead stops the video and/or crashes the player. FLV files that are not encoded with VP6 or Sorenson (such as AVC) work fine. I included three samples: Two vids with VP6 and one with Sorenson (note: samples are a little naughty but nothing bad)

http://www.filefactory.com/file/m9bj.../n/Samples_zip

I duplicated this many times with Zoom Player and POT Player:

With Zoom Player & MadVR, when video comes to the end it starts flashing and crashes the player. With Zoom and Haali & VMR7/9 it merely comes to the end of the vid and stops (doesn't loop as it should but also doesn't crash the player). Note: ffdshow is the decoder.

With POT Player & all renderers, video stops at the end and doesn't loop as it should. Note: Internal POT Player decoder is the decoder

I have only been able to duplicate this looping/crashing problem I describe with FLV files encoded with VP6 and Sorenson and with LAV Filter as the FLV Splitter.

Hope I have been able to provide you with good info and the sample vids in order to easily duplicate the same problems I am experiencing. Cheers
andybkma is offline   Reply With Quote
Old 5th June 2012, 18:09   #11220  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Is bitstreaming over HDMI hardware dependent? When I connect my Dell E6420 Laptop with HDMI output to my Onkyo TX-SR606 AVR all I get is video and no audio. I have all of the bitstream options check in the LAV Audio. Any tips?
rack04 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:43.


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