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 27th August 2010, 19:41   #201  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Quote:
Originally Posted by nevcairiel View Post
I updated the repository, if you can reproduce the freeze then look at the stack traces of the "CLAFVSplitter Demux" thread and the "Main Thread", and see which was the last piece of code running inside LAVFSplitter (don't care about what comes after it)

For me the main thread was sitting on CallWorker in SetPositions, and the demuxer was sitting on m_eEndFlush.Wait() in the ThreadProc. This shouldn't happen anymore, i hope.
Code:
LAVFDShowSplitter.ax!CAMEvent::Wait(unsigned long dwTimeout)  Ligne 128 + 0x12 octets	C++
LAVFDShowSplitter.ax!CAMThread::CallWorker(unsigned long dwParam)  Ligne 178	C++
LAVFDShowSplitter.ax!CLAVFSplitter::SetPositions(__int64 * pCurrent, unsigned long dwCurrentFlags, __int64 * pStop, unsigned long dwStopFlags)  Ligne 496	C++

Last edited by Underground78; 27th August 2010 at 19:43.
Underground78 is offline   Reply With Quote
Old 27th August 2010, 19:49   #202  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Looks like the same funnyness, meh. But this is just the main thread, where is the demux thread?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 27th August 2010, 19:50   #203  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Quote:
Originally Posted by nevcairiel View Post
Looks like the same funnyness, meh. But this is just the main thread, where is the demux thread?
I can't find it ...
Underground78 is offline   Reply With Quote
Old 27th August 2010, 19:51   #204  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Check the output window if it exited by any chance. For me its usually near the bottom of the thread list.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 27th August 2010, 20:17   #205  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
The freeze issue has been fixed by nevcairiel.
Underground78 is offline   Reply With Quote
Old 27th August 2010, 20:35   #206  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
I was trying to find the crash issue with libmpeg2, but all i see is stack traces deep into ffdshow and libmpeg2. Anyone with a personal interest in getting it fixed should probably give a detailed report to ffdshow, maybe its on their end, or at least can point the finger on something specific thats going wrong.

In the meantime, the MPC-HC internal mpeg2 decoder (also based on libmpeg2) works fine, as well as the libavcodec based mpeg2 decoder in ffdshow .. so many working choices!
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 28th August 2010, 00:35   #207  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by nevcairiel View Post
Its crashing? No-one said anything about crashes. I was meaning to fix the freeze :P
Oh, on that note, i had some crashes when seeking wildly, but thats reclock. Disable it, and its fine. At least was for me. (Those crashes usually blame evr.dll)
So you're also getting evr.dll crashes in MPC-HC? Using EVR-Sync by any chance? I have them and it's driving me nuts

They have nothing to do with LAVFSplitter BTW.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 28th August 2010, 07:27   #208  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Using EVR-CP, but only if i really seek extensively, usually doesnt bother me. And like i said, turning off reclock makes them go away.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 28th August 2010, 08:23   #209  |  Link
Matching_Mole
Registered User
 
Join Date: Feb 2009
Posts: 99
Currently LAVFSplitter do not support MPLS files (Blu-ray Playlist) and so maybe streamless playback, I have an error with MPC-HC (cannot renderer the file). Do you plan to add this in futures versions?
Matching_Mole is offline   Reply With Quote
Old 28th August 2010, 08:24   #210  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Playlists are not supported by avformat, and thus won't be supported by LAVFSplitter in the near future.
The perfect plan would be to somehow integrate libbluray for playlist parsing and lavfsplitter for demuxing, but this is just a pipe dream, don't expect anything soon.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 28th August 2010 at 09:21.
nevcairiel is offline   Reply With Quote
Old 30th August 2010, 09:39   #211  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
LAVFSplitter 0.8
- Alot of internal changes to enhance performance and maintainability
- Fixed a potential deadlock on seeking
- Fixed playing files without a video stream
- Fixed an issue that caused some players to hang on playback start
- Improved language detection

Download: 32-bit & 64-bit

The Seeking deadlock should be gone, however the crash with libmpeg2 in ffdshow is still present - i might have an idea, though.

Anyhow, like mentioned earlier, i'm moving into a new apartment this week, so don't expect much (if any) activity on my side.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 30th August 2010, 10:18   #212  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by nevcairiel View Post
LAVFSplitter 0.8
- Alot of internal changes to enhance performance and maintainability
- Fixed a potential deadlock on seeking
- Fixed playing files without a video stream
- Fixed an issue that caused some players to hang on playback start
- Improved language detection

Download: 32-bit & 64-bit

The Seeking deadlock should be gone, however the crash with libmpeg2 in ffdshow is still present - i might have an idea, though.

Anyhow, like mentioned earlier, i'm moving into a new apartment this week, so don't expect much (if any) activity on my side.
Thanks.
Just let you known *.FLAC files doesnot working - graph is created correctly, but if i hit play, it wont start to play, in MPC-HC it will jump directly to end of track. Remuxed to *.MKA and it is working fine. DTS, AC3 and OGG working fine. *.MPC seems to be not supported at all.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 30th August 2010 at 10:22.
hoborg is offline   Reply With Quote
Old 30th August 2010, 19:19   #213  |  Link
Ger
Registered User
 
Join Date: May 2007
Location: Norway
Posts: 192
Quote:
Originally Posted by nevcairiel View Post
LAVFSplitter 0.8
The Seeking deadlock should be gone
Yup, seems to be completely gone. No regression with the MS decoder due to the partial flushing behavior revert either. Good job.

Quote:
however the crash with libmpeg2 in ffdshow is still present - i might have an idea, though.

Anyhow, like mentioned earlier, i'm moving into a new apartment this week, so don't expect much (if any) activity on my side.
I was actually planning to report this in the ffdshow thread, but since you may have an idea about it I guess I'll wait and see. No problem if it takes a few weeks before you can look into it further.

There is also an issue I've discovered with playback stopping when enabling DVB-subs in the "Henry IV" sample (seems to stop when the subs are about to be rendered) with ffdshow/libavcodec as the video decoder (seemingly not an issue with MPC-HC internal libmpeg2 decoder). I'll get back to this another day, I need to do more testing to see which versions/decoders are affected.

BTW, AR is correct for "John Adams" sample even with the MS decoder now. I guess this was fixed in 0.6, but I didn't test it then. Don't see any hearing impaired tag on one of the sub tracks, but I take it that just means Underground78's patch isn't applied yet.

All in all 0.8 is certainly the best version so far IMHO.

Good luck with the move.
Ger is offline   Reply With Quote
Old 30th August 2010, 22:02   #214  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Quote:
Originally Posted by Ger View Post
Don't see any hearing impaired tag on one of the sub tracks, but I take it that just means Underground78's patch isn't applied yet.
Yep, you are right. If you really need this now, I can upload a patched version of version 0.8.
Underground78 is offline   Reply With Quote
Old 30th August 2010, 22:16   #215  |  Link
Ger
Registered User
 
Join Date: May 2007
Location: Norway
Posts: 192
Not necessary. Definitely no rush. Just wanted to mention it in case it had been forgotten.
Ger is offline   Reply With Quote
Old 30th August 2010, 23:11   #216  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Hi,

I have a file which does not start with LAVFSplitter and I have been try to understand what was going on with the debugging. In fact the first image of the video is displayed then it freezes but the duration counter keeps going.

If I look at stack traces which concern LAVFDShowSplitter I see :

- for CLAVFOutPut Pin Video thread :
Code:
LAVFDShowSplitter.ax!CBaseOutputPin::GetDeliveryBuffer(IMediaSample * * ppSample, __int64 * pStartTime, __int64 * pEndTime, unsigned long dwFlags)  Ligne 2654 + 0x2c octets	C++
02de6c50()	
LAVFDShowSplitter.ax!CLAVFOutputPin::ThreadProc()  Ligne 275 + 0x23 octets	C++
LAVFDShowSplitter.ax!CAMThread::InitialThreadProc(void * pv)  Ligne 123 + 0xe octets	C++
- for CLAVFOutPut Pin Audio thread :
Code:
LAVFDShowSplitter.ax!CBaseOutputPin::GetDeliveryBuffer(IMediaSample * * ppSample, __int64 * pStartTime, __int64 * pEndTime, unsigned long dwFlags)  Ligne 2654 + 0x2c octets	C++
02de7050()	
LAVFDShowSplitter.ax!CLAVFOutputPin::ThreadProc()  Ligne 275 + 0x23 octets	C++
LAVFDShowSplitter.ax!CAMThread::InitialThreadProc(void * pv)  Ligne 123 + 0xe octets	C++
- demuxer thread seems to sleep(1) because the queue is full.

In fact both Output Pin threads are waiting for "m_pAllocator->GetBuffer(ppSample,pStartTime,pEndTime,dwFlags);" to return but it never does ...

Does somebody have an idea about what could cause this ?

Thanks in advance !
Underground78 is offline   Reply With Quote
Old 31st August 2010, 06:55   #217  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
Quote:
Originally Posted by nevcairiel View Post
I was trying to find the crash issue with libmpeg2, but all i see is stack traces deep into ffdshow and libmpeg2. Anyone with a personal interest in getting it fixed should probably give a detailed report to ffdshow, maybe its on their end, or at least can point the finger on something specific thats going wrong.

In the meantime, the MPC-HC internal mpeg2 decoder (also based on libmpeg2) works fine, as well as the libavcodec based mpeg2 decoder in ffdshow .. so many working choices!
I have updated libmpeg2 from ffdshow to latest revision and there is some custom code. MPC libmpeg2 I don't know I see revision 0.3.2.
_xxl is offline   Reply With Quote
Old 31st August 2010, 17:30   #218  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
@nevcairiel:
Can you please look on this?

?solution?
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 31st August 2010 at 20:22.
hoborg is offline   Reply With Quote
Old 31st August 2010, 19:46   #219  |  Link
Virtual_ManPL
Virtual_ManPL
 
Virtual_ManPL's Avatar
 
Join Date: Sep 2009
Posts: 170
Can someone confirm that on repeating movie, audio is muted on second go
Virtual_ManPL is offline   Reply With Quote
Old 31st August 2010, 20:17   #220  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by Virtual_ManPL View Post
Can someone confirm that on repeating movie, audio is muted on second go
Yup, confirmed.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR 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 18:54.


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