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 14th May 2011, 11:57   #2941  |  Link
jmone
Registered User
 
Join Date: Dec 2007
Posts: 652
Quote:
Originally Posted by madshi View Post
HD DVD (without a hyphen!)
Stand corrected!
jmone is offline   Reply With Quote
Old 14th May 2011, 12:54   #2942  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
There are some compatibility issues between LAV Audio and standard AVI splitter. Tested on many AVI samples with MP3 tracks. After multiple seeks LAV Audio often needs a few seconds to resync with video. On one sample I even get crash after multiple seeks.
Code:
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	zplayer.exe
  Application Version:	8.0.0.0
  Application Timestamp:	2a425e19
  Fault Module Name:	avcodec-53.dll
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	4dcd872f
  Exception Code:	c0000005
  Exception Offset:	001cb65d
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	1049
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
Unfortunately, the sample file is quite big.

If I use LAV Source as source filter and splitter then the problems don't occur.
Gleb Egorych is offline   Reply With Quote
Old 14th May 2011, 13:08   #2943  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
I cannot reproduce any problems with the default AVI splitter, sync seems fine instantly, no matter how often i seek. Unless you can produce one specific sample, there isn't anything i can do.
Besides, just use LAV.

PS:
Maybe the situation improved in my development version already, who knows.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th May 2011, 13:14   #2944  |  Link
Mark_A_W
3 eyed CRT supporter
 
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
Quote:
Originally Posted by nevcairiel View Post

Here is a 6.1 sample, at least the volume status page in LAV Audio shows audio coming out of the back channels (with 1.1.0.8), can't say about .7, feel free to try it.

http://www.multiupload.com/YML3MLBPYP

Interesting. The Splitter Filters confirms it's 7 channels (6.1), but watching the LAV Audio decoder levels meters, I'd swear it was 7.1.

It doesn't look to be just copying the two back channels, every surround channel seems to have a slightly different signal (unless the meters are misleading).

Whereas, if I play a 5.1 source, the side channels are inactive.


Anyway 1.1.0.7 works.

Funky video BTW
Mark_A_W is offline   Reply With Quote
Old 14th May 2011, 13:29   #2945  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Mark_A_W View Post
Interesting. The Splitter Filters confirms it's 7 channels (6.1), but watching the LAV Audio decoder levels meters, I'd swear it was 7.1.
Yeah, thats after decoding, of course, and the decoder creates 8.

Quote:
Originally Posted by Mark_A_W View Post
Funky video BTW
Heh, someone posted that for another issue a while back.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th May 2011, 13:50   #2946  |  Link
Mark_A_W
3 eyed CRT supporter
 
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
Quote:
Originally Posted by nevcairiel View Post
Yeah, thats after decoding, of course, and the decoder creates 8.
I realise that. What was interesting was that it is performing some sort of processing to create the channels, not just copy the Centre Back channel to BR and BL.

Wish I could get ffdshow to do that for my FLAC 5.1 stuff...grrr...
Mark_A_W is offline   Reply With Quote
Old 14th May 2011, 14:11   #2947  |  Link
noee
Registered User
 
Join Date: Jan 2007
Posts: 530
Quote:
Originally Posted by ontherocks View Post
Nope, the native ATI HDMI audio driver.
Check the docs on your receiver. Even if it's not showing the DD+ symbol, it may still be receiving the format properly. Apparently, depending on DD+ input source, the DD and DD+ are treated the same, at least on Onkyo.
noee is offline   Reply With Quote
Old 14th May 2011, 14:50   #2948  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Quote:
Originally Posted by Mark_A_W View Post
Wish I could get ffdshow to do that for my FLAC 5.1 stuff...grrr...
Why not use DPLIIx for 5.1 content? I'm using it and it works fine.
Andy o is offline   Reply With Quote
Old 14th May 2011, 17:04   #2949  |  Link
marconi
Registered User
 
Join Date: May 2011
Posts: 1
VC++2010 Runtime

I am reinstalling Win7 64 on my HTPC. When I use the version 0.25 x86/x64 LAV installer a message pops up asking me to install the x86 version of VC++2010 Runtime (the 64 bit version is already installed thanks to AMD Catalyst). In my last build I did this, but then ran into errors with AMD Catalyst when I upgraded the driver to 11.5. Any suggestions on how to proceed? Apart from the Catalyst errors, the LAV filters worked very well with MPC-HC.
marconi is offline   Reply With Quote
Old 14th May 2011, 17:29   #2950  |  Link
nlnl
Registered User
 
Join Date: Aug 2008
Posts: 176
nevcairiel

Thanks for LAV!

Still can not play dts hd ma 2.0 audio in mkv http://www.multiupload.com/FJ7YOCNC6M
MPC+LAV splitter+LAVaudio (bitstream) + system renderer= static noise when switching audio tracks
MPC+Halii+LAVaudio (bitstream) + system renderer= OK
MPC+LAV splitter+LAVaudio (bitstream) + Audio Switcher + system renderer= OK

And if I remux everything in .ts, I have the same issue.
nlnl is offline   Reply With Quote
Old 14th May 2011, 17:34   #2951  |  Link
andyvt
Registered User
 
Join Date: Jan 2010
Posts: 265
Quote:
Originally Posted by nevcairiel View Post
Anyhow, if decoding does not work, its basically the same issue the MPC-HC MPEG splitter has, except that the MPC-HC one additionally sends the wrong media type.
I will have to write my own parser to separate the TrueHD frames from the AC3 frames in those streams .. i'll get to it eventually, its somewhere on the list..
They changed their demux to parse out the AC3 and it's working great now with M2TS. Thank you again for working on this.

Is there a "buy Nevcairiel a beer" link somewhere?
__________________
babgvant.com
Missing Remote
andyvt is offline   Reply With Quote
Old 14th May 2011, 18:04   #2952  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Quote:
Originally Posted by nlnl View Post
nevcairiel

Thanks for LAV!

Still can not play dts hd ma 2.0 audio in mkv http://www.multiupload.com/FJ7YOCNC6M
MPC+LAV splitter+LAVaudio (bitstream) + system renderer= static noise when switching audio tracks
MPC+Halii+LAVaudio (bitstream) + system renderer= OK
MPC+LAV splitter+LAVaudio (bitstream) + Audio Switcher + system renderer= OK

And if I remux everything in .ts, I have the same issue.
Sample plays OK here, switching between audio tracks w/ LAV audio and splitter.
Andy o is offline   Reply With Quote
Old 14th May 2011, 18:30   #2953  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by nlnl View Post
nevcairiel

Thanks for LAV!

Still can not play dts hd ma 2.0 audio in mkv http://www.multiupload.com/FJ7YOCNC6M
MPC+LAV splitter+LAVaudio (bitstream) + system renderer= static noise when switching audio tracks
MPC+Halii+LAVaudio (bitstream) + system renderer= OK
MPC+LAV splitter+LAVaudio (bitstream) + Audio Switcher + system renderer= OK

And if I remux everything in .ts, I have the same issue.
Thats an interesting problem, the audio renderer seems to just connect to the splitter, and accept the still encoded audio..

Maybe i can change the stream switching a bit to make this better..
The problem is that the DirectShow graph renderer will always try to avoid adding new filters to the graph, so if the renderer accepts it, no matter with how low merit .. it'll use it.

There is no perfect way to solve this, but i can try some things.
What the other Splitters do is, they just reuse the old decoder, and do not allow you to change the decoder for different streams, thats why there are no problems.
Sadly, DirectShow really does not have the capability to do this flawlessly, unless i delete the whole audio chain .. i can certainly try that, but i don't think its pretty.

Just keep the audio switcher running, for now.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 14th May 2011 at 18:42.
nevcairiel is offline   Reply With Quote
Old 14th May 2011, 18:56   #2954  |  Link
andyvt
Registered User
 
Join Date: Jan 2010
Posts: 265
Quote:
Originally Posted by nevcairiel View Post
Thats an interesting problem, the audio renderer seems to just connect to the splitter, and accept the still encoded audio..

Maybe i can change the stream switching a bit to make this better..
The problem is that the DirectShow graph renderer will always try to avoid adding new filters to the graph, so if the renderer accepts it, no matter with how low merit .. it'll use it.

There is no perfect way to solve this, but i can try some things.
What the other Splitters do is, they just reuse the old decoder, and do not allow you to change the decoder for different streams, thats why there are no problems.
Sadly, DirectShow really does not have the capability to do this flawlessly, unless i delete the whole audio chain .. i can certainly try that, but i don't think its pretty.

Just keep the audio switcher running, for now.
Couldn't you check the downstream filter and refuse the connection if it is a registered renderer?
__________________
babgvant.com
Missing Remote
andyvt is offline   Reply With Quote
Old 14th May 2011, 18:57   #2955  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Oh, I had the audio switcher enabled, sorry. Is there a reason to disable it, though? I've always had it enabled but all its options disabled.
Andy o is offline   Reply With Quote
Old 14th May 2011, 19:05   #2956  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Andy o View Post
Oh, I had the audio switcher enabled, sorry. Is there a reason to disable it, though? I've always had it enabled but all its options disabled.
Well there is no reason to keep it enabled, either.

Anyhow, removing all audio related filters from the graph (including the renderer) seems to work, at least in MPC-HC. It'll build a completely new audio graph, which includes the proper decoder.
This kind of graph rebuilding is required for Blu-ray title switching anyway, so its a good start to test some things, i guess.

I'll throw a quick UI option on there to help debug any possible failures caused by this.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 14th May 2011 at 19:08.
nevcairiel is offline   Reply With Quote
Old 14th May 2011, 19:34   #2957  |  Link
nlnl
Registered User
 
Join Date: Aug 2008
Posts: 176
Quote:
Originally Posted by nevcairiel View Post
There is no perfect way to solve this, but i can try some things.
What the other Splitters do is, they just reuse the old decoder, and do not allow you to change the decoder for different streams, thats why there are no problems.
Sadly, DirectShow really does not have the capability to do this flawlessly, unless i delete the whole audio chain .. i can certainly try that, but i don't think its pretty.

Just keep the audio switcher running, for now.
Thanks!

May this is one more reason to start developing LAV audio renderer (wasapi based) .
It would not reply to graph rebuilder that it accepts DTS HD MA
nlnl is offline   Reply With Quote
Old 14th May 2011, 21:02   #2958  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
Quote:
Originally Posted by nevcairiel View Post
Unless you can produce one specific sample, there isn't anything i can do.
I PMed sample file to you.

Quote:
Originally Posted by nevcairiel View Post
Besides, just use LAV.
I do .
BTW I compared speed of seeking of LAV Source and Haali Splitter. When I make a seeking to a random position of a file, sound changes almost instantly (like with Haali) while video starts playing from the new position with a delay. This delay is noticeably higher than with Haali. The same behaviour for different containers (MP4, MKV, TS) and different decoders.
Gleb Egorych is offline   Reply With Quote
Old 14th May 2011, 21:22   #2959  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
At least with MKV, you can use cue-point seeking, which will sacrifice accurate seeks, but should give you faster seeks. However, your player needs to support it, read the cue-points from the splitter, and redirect any seeks to those. Maybe Haali forces seeks to those points, i really didn't test much with Haali.

Sadly, seeking to keyframes without cue points is currently not easily possible.
The seek API in ffmpeg is really lacking.

However, people are supposed to watch stuff, not seek to stuff.


BTW, with AVI Splitter you mean the MS one, not the MPC-HC/Gabest one, right?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 14th May 2011 at 21:26.
nevcairiel is offline   Reply With Quote
Old 14th May 2011, 21:47   #2960  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
Thanks for the explanation.

Quote:
Originally Posted by nevcairiel View Post
BTW, with AVI Splitter you mean the MS one, not the MPC-HC/Gabest one, right?
Yes, MS one from quartz.dll.
Gleb Egorych 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 08:11.


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