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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd November 2010, 18:44   #381  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by BatKnight View Post
I don't know if this helps you, but please test a few MKV movies with AC3 and with ffdshow's jitter correction disabled, to see if you can reproduce it.
So, this worked.
I could reproduce the issue perfectly.

I also encountered some other issues, like, with jitter correction off, i dont get audio from some AAC tracks.

Is there any reason you have this off anyway? =)

The memory leak is obviously in ffdshow somewhere, but i'll go and see if i can make it play nice again from my side now.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 2nd November 2010, 20:12   #382  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
So i tried fixing this.
I didn't find any way to do this, that wouldn't break other files again. The change that originally broke this was a rather significant bug fix. :/
This is one of the drawbacks trying to be a multi-format splitter, every format has its quirks, and i guess this might be one of those cases. (Or its just a bug in ffdshow)

I would suggest bringing this up with ffdshow, maybe they can fix it. Or just turning on the option =)
The fact that it only breaks with ffdshow, and only when that option is turned off, does make me think that its something on their side.
In addition, you're like the only one reporting the problem, so i figure, not many people turn off the option.

I'll keep looking into it for a while, maybe i'll come up with a brilliant solution, but i really strongly suggest to talk to a ffdshow developer, or get one to contact me that is willing to fix this.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 3rd November 2010 at 08:23.
nevcairiel is offline   Reply With Quote
Old 2nd November 2010, 20:23   #383  |  Link
Ger
Registered User
 
Join Date: May 2007
Location: Norway
Posts: 192
Quote:
Originally Posted by nevcairiel View Post
Good news everyone!

ffmpeg added support for AAC LATM, and i went ahead and fixed it in LAVFSplitter right away.
I don't think ffdshow can play it yet, but i do get proper sound with the MONOGRAM AAC Decoder.

This makes this the only splitter that can play AAC LATM in MPEG-TS, as far as i know, anyway.
Great news.
Ger is offline   Reply With Quote
Old 6th November 2010, 08:16   #384  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 616
Thanks Nevcairiel for all work you do
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 6th November 2010, 21:23   #385  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
LAVFSplitter 0.11
- Smart stream pre-selection based on language, flags and quality
- Properties page for configuration (languages, stream selection logic)
- Added support for AAC LATM (single stream)
- Changed the "No Subtitles" pin to a more "friendly" Media Type
- Fixed a crash with certain AAC tracks

Download: 32-bit & 64-bit

Like mentioned earlier, i only got AAC LATM to work with the MONOGRAM AAC Decoder. If you know for a fact that another decoder out there supports AAC LATM, and LAVFSplitter does not work with it, please say so.

Stream selection!
Its finally finished. First, you will need to re-register the splitter for the properties page to show up, or you will not be able to configure it.

Some implementation details.
First, check language codes.
If none or more then one matched, check the "default" flag.
If no "default" flag is found, pick the stream with the highest quality (quality for audio is only based on number of channels and codec. More channels = more good; losless formats (TrueHD, flac, PCM) > DTS > AC3/AAC > *)

Subtitles have no quality check, they do however have some extra logic for forced streams in there. According to the MKV spec, forced streams should always play, so i might add an option later to create a always-on pin for those, instead of putting them on the normal subtitle pin.

Note that the default and forced flags are not really set in many containers, in fact, i only know that MKV has them, not sure about any others.
Anyway, i'm sure the logic might need tweaking on some edges, so please report your expierence!

PS:
The problem with some files not starting to play and eating up memory is still there. We were able to pin point the issue to AC3 audio tracks, in conjunction with ffdshow, but only when the Jitter Correction option in ffdshow was off (default is on). So if some files are not starting for you, turn that option in ffdshow on!
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 6th November 2010 at 22:35.
nevcairiel is offline   Reply With Quote
Old 7th November 2010, 06:29   #386  |  Link
Jeffster
Registered User
 
Join Date: Jan 2003
Location: Land of the Long White Cloud
Posts: 183
Hi Nevcairiel,

First thanks for releasing a new version so quickly with AAC LATM audio support.

I tried playing some .ts capture files in MPC-HC and they worked OK, including the audio (using the monogram AAC decoder), which is a first!

It's not all good news though. I noticed while checking which filters were being used and the filter properties, in the Pin Info for the video decoder it said 50 fps (should be 25 fps). I thought that was odd but didn't think much more of it initially because the file played normally and checking the ffdshow properties while playing it said Movie FPS: 25.000.

But when I opened the .ts file via AviSynth using DirectShowSource and looked at the File Info it said 50 fps and the video portion played at twice normal speed.

Anyway I suspect the LATM/HE-AAC audio may somehow be the reason for the movie fps confusion because if I demux the .ts file and remux the video (H264) with a "regular" AAC file or an MP3 instead then the video fps is reported correctly as 25 fps.
Jeffster is offline   Reply With Quote
Old 7th November 2010, 08:40   #387  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,970
LAVFSplitter 0.11 crashes on some matroska files.
sample
v0lt is offline   Reply With Quote
Old 7th November 2010, 09:56   #388  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by v0lt View Post
LAVFSplitter 0.11 crashes on some matroska files.
sample
No it doesn't. Works fine here.

The file comes with AAC audio. There was a crash in there before. Completly recompile your ffmpeg, if you're using a custom build, or use my build.
Unless its the same issue as detailed at the end of the post with no configured languages.

Quote:
Originally Posted by Jeffster
But when I opened the .ts file via AviSynth using DirectShowSource and looked at the File Info it said 50 fps and the video portion played at twice normal speed.
I actually saw that with one of my samples as well. I didn't try in AviSynth though, so i didn't see it breaking.
Initially i suspected it was because the file was interlaced (50fps interlaced, gives 25 fps progressive), i'll investigate some.


I was also notified about a crash which happens when you do not configure any languages, and open a file with subtitles.
I fixed this internally, but until i push out a new version later today, hopefully, just set a language.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 7th November 2010 at 10:19.
nevcairiel is offline   Reply With Quote
Old 7th November 2010, 10:47   #389  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,970
Quote:
Originally Posted by nevcairiel View Post
Completly recompile your ffmpeg, if you're using a custom build, or use my build.
I used your library from the LAVFSplitter-0.11.zip

MPC-HC 1.4.2714.0 (MSVC 2008 SP1), Win7 x86.
v0lt is offline   Reply With Quote
Old 7th November 2010, 10:49   #390  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
I guess then it is the subtitle thing i talked about. Configure some languages and turn on "only matching", or set subtitle mode to "No Subtitles" temporarily. I'll release a new version soon.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 7th November 2010, 11:03   #391  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,970
Yes, the problem is due to the subtitles.
v0lt is offline   Reply With Quote
Old 7th November 2010, 14:16   #392  |  Link
Jeffster
Registered User
 
Join Date: Jan 2003
Location: Land of the Long White Cloud
Posts: 183
Quote:
Originally Posted by nevcairiel View Post
I actually saw that with one of my samples as well. I didn't try in AviSynth though, so i didn't see it breaking.
Initially i suspected it was because the file was interlaced (50fps interlaced, gives 25 fps progressive), i'll investigate some.
Thanks, they're just regular 25 fps interlaced... I know what you mean though, a couple of stations used to broadcast in 720p @ 50 fps but they don't any more.

It seems I spoke too soon unfortunately. I've had a chance to test some more .ts files now and found that some of them can't connect to an audio filter.

The only difference I can see is the files that work are all SD files (576i) and the files that don't work are HD files (1080i) but I can't imagine why that would make a difference. Here's a sample of one that doesn't work if you want to try it.
Jeffster is offline   Reply With Quote
Old 7th November 2010, 21:00   #393  |  Link
Ger
Registered User
 
Join Date: May 2007
Location: Norway
Posts: 192
More LATM feedback:

My recordings from Norwegian DVB-T play fine with LAVFSplitter 0.11 and Monogram AAC decoder. Both SD and HD samples tested (only stereo so far).

However, the 5.1 track in this sample from Danish DVB-T has a lot of noise. The stereo track in the same sample sounds OK though. I use "Mix to stereo" in the Monogram settings.

The stereo and 5.1 tracks both sound fine in DVBViewer + Monogram AAC decoder (same mix to stereo setting).
Ger is offline   Reply With Quote
Old 8th November 2010, 07:13   #394  |  Link
BelowSky
Registered User
 
Join Date: Sep 2009
Posts: 36
Please nevcairiel, use InnoSetup with your files. It will makes end users' life a whole lot easier.
xhmikosr has it, but he is not always up-to-date.
http://xhmikosr.1f0.de/index.php

Thank you.
BelowSky is offline   Reply With Quote
Old 8th November 2010, 08:10   #395  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Unzipping and hitting install.bat is so complicated? Really?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 8th November 2010, 09:13   #396  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Some 0.11 issues: (tested in Graphstudio using FFDShow)

This sample will crash Graphstudio (not sure if extension should be .avi or .divx)

This FLAC sample wont play - graph is created correctly, but playback wont start

This FLV sample is playing at wrong speed

This MPG sample have coruptions on begining
This MPG sample wont play (gray screen)
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 8th November 2010, 15:56   #397  |  Link
andyvt
Registered User
 
Join Date: Jan 2010
Posts: 265
Quote:
Originally Posted by nevcairiel View Post
Unzipping and hitting install.bat is so complicated? Really?
Getting the correct VC++ runtime installed can be complicated over the life of a project as different versions get released. If you use a setup project in VS, the additional effort is minimal and it can package the right runtime in the MSI and register the filter.
__________________
babgvant.com
Missing Remote
andyvt is offline   Reply With Quote
Old 8th November 2010, 17:06   #398  |  Link
BelowSky
Registered User
 
Join Date: Sep 2009
Posts: 36
Quote:
Originally Posted by nevcairiel View Post
Unzipping and hitting install.bat is so complicated? Really?
Yes it is
Delete LAVFSplitter old folder.
Open new LAVFSplitter.zip with Winzip.
Extract and then go the extracted folder.
Run install.bat.......ERROR....... What?
Search the internet for that error, ReadMe.... etc
OK, I get it, I need to run it privileged mode.
Oh, another error... What now?
Again, search the internet for that error, ReadMe.... etc
OK, it needs VC++v10 runtimes. Do I have them installed?
Check Add/Remove manager... No nothing like that in there.
Search the Internet for that runtime.

Compare that with InnoSetup:
LAVFSplitterSetup -> Next -> Next -> Done.

which translates to:
Autorun in privileged mode -> auto download and install VC++v10 runtimes when not there -> Just update LAVFSplitter if it already installed. -> Done
BelowSky is offline   Reply With Quote
Old 8th November 2010, 17:30   #399  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by hoborg View Post
This MPG sample have coruptions on begining
This MPG sample wont play (gray screen)
The issue only seems to happen with ffdshow in libavcodec mode for MPEG1/2. Switch it to libmpeg2 or use the MPC-HC internal filters, and it works flawlessly.

I'll try to fix it anyway.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 8th November 2010, 17:58   #400  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by nevcairiel View Post
The issue only seems to happen with ffdshow in libavcodec mode for MPEG1/2. Switch it to libmpeg2 or use the MPC-HC internal filters, and it works flawlessly.

I'll try to fix it anyway.
You are right, thanks.

EDIT:

If i try to seek with libmpeg2, MPC-HC/Graphstudio will crash/freeze :/
Libavcodec are working fine, no freeze durning seek.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 8th November 2010 at 18:06.
hoborg is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


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 19:12.


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