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 14th June 2012, 21:51   #11301  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by aufkrawall View Post
It doesn't occur with ffdshow, only with LAV.
So it may be more accurate to post this here, or not?
Its either an Intel driver bug or a bug in the QS decoder.
The QS decoder outputs 60 frames, but outputs the frames with timestamps for 30fps, and then occasionally there is a huge gap in the timestamps when it re-syncs to the actual time - which causes the drops.

Overall, i'm really not happy with how the QS DI performs so far, i'll probably disable it again soon until its working properly, or Intel finally decides to release a fixed driver.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 14th June 2012 at 22:15.
nevcairiel is offline   Reply With Quote
Old 14th June 2012, 22:30   #11302  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by nevcairiel View Post
Its either an Intel driver bug or a bug in the QS decoder.
The QS decoder outputs 60 frames, but outputs the frames with timestamps for 30fps, and then occasionally there is a huge gap in the timestamps when it re-syncs to the actual time - which causes the drops.
I've committed r62 which fixes some (hopefully all) of stalls/crashes related to the DI.

As for the time stamps, per your request I don't calculate them, the new (extra) frames do not have time stamps. If you have an idea to improve this, let me know.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 15th June 2012, 00:18   #11303  |  Link
jakmal
Registered User
 
Join Date: Jul 2010
Location: Sunnyvale, CA
Posts: 51
At the outset, I am not sure whether this is the right thread to report this issue (where do I report avcodec decoding problems?), but here it is:

Sample file: Original MP4 version of this YouTube clip: www.youtube.com/watch?v=t56ooXC9VmY [ Size : ~252 MB ]

Playback system: Core i7-3770K + GT 640. Using LAV Filters 0.50.5 (from 1f0.de, downloaded couple of days back) and MPC-HC 1.6.2.4902 x86 version, display on to 1080p monitor with EVR-CP renderer.

With Video Decoder set to avcodec, there are blocking artifacts when the words 'Peter Jackson' swivels across the middle of the screen.

With Video Decoder set to cuvid or DXVA2 CB, playback is flawless.
__________________

Ganesh T S
Sr. Editor, AnandTech Inc.
jakmal is offline   Reply With Quote
Old 15th June 2012, 09:48   #11304  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 238
Quote:
Originally Posted by STaRGaZeR View Post
I don't know what that option does, but since it works with it it should be a good starting point.
Then DVBViewer waits for more video format informations.
This slows down channel switching, but some decoders need this informations.

In Graphstudio you should see the differences.

P.S. For fileplayback its always on - so you have to test it with LiveTV!
nussman is offline   Reply With Quote
Old 15th June 2012, 09:57   #11305  |  Link
CiNcH
Registered User
 
CiNcH's Avatar
 
Join Date: Jan 2004
Posts: 567
Quote:
I don't know what that option does, but since it works with it it should be a good starting point.
Check the connection format between DVBSource and the decoder with GraphStudio for example. In case the detection is disabled, the DVBSource will propagate some default values on the video pin and the decoder has to detect the correct values by parsing the bitstream.

I have no clue however, why it works with standard EVR, but not with the EVR custom presenter.
__________________
Bye
CiNcH is offline   Reply With Quote
Old 15th June 2012, 12:39   #11306  |  Link
meetajhu
Registered User
 
Join Date: Jan 2011
Posts: 22
hi nevcairiel, will be adding support for Windows Media Audio 9.2?
meetajhu is offline   Reply With Quote
Old 15th June 2012, 20:42   #11307  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
@ nevcairiel

Is I/O and copy/transfer from HDD -> RAM -> CPU -> RAM -> VIDEO RAM streamed or buffered?
dansrfe is offline   Reply With Quote
Old 15th June 2012, 22:33   #11308  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Both.

You should ask more specific questions if you want specific answers.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th June 2012, 11:38   #11309  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
@nev
Decodinerror.ts is now falling back from Quicksync to libavcodec what is the detection reason for the fallback or is it out of your hands ?
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 16th June 2012 at 11:43.
CruNcher is offline   Reply With Quote
Old 16th June 2012, 11:41   #11310  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by CruNcher View Post
@nev
Decodinerror.ts is now falling back from Quicksync to libavcodec what is the detection reason for the fallback, or is it out of your hands ?
Half my files are named "decodingerror.ts" and the other half is named "sample.ts", so either link to the file you are referring to, or don't expect any answers.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th June 2012, 11:45   #11311  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
This one http://www.mediafire.com/?rld8gnlh52f03ud that intel wanted to look into fixing which works on the Nvidia DSP just fine, now the fix seems to be a fallback to Software Decoding which though doesn't fix the main problem which would be Microsofts DTV Decoder (Intels Driver 2761) there the issue is still apparent
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 16th June 2012 at 11:50.
CruNcher is offline   Reply With Quote
Old 16th June 2012, 11:55   #11312  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
The Media SDK just fails when decoding the SPS/PPS of that file. Maybe egur can look more into that, but it looks like they just blocked it - maybe temporarily until it can be fixed for realz.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th June 2012, 12:08   #11313  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Thx i see so they seem to block it entirely and fallback by that to libavcodec instead of their own Software Decoder which i think would produce the same problematic result in this case thus also most probably why they cant fix it for Microsofts Decoder they have no libavcodec fallback possibility from there only their Software Decoder which most probably is also affected then by this SPS/PPS Decoding issue so a very Generic parsing Bug that affects both of their Decoder currently

I see also nothing changed on the Lav and Videolan DXVA crash state of

720p.mpg
test-720p cuda.mkv

on the Intel Driver i still wonder how long it will take till someone exploits this.
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 16th June 2012 at 12:40.
CruNcher is offline   Reply With Quote
Old 16th June 2012, 14:30   #11314  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
I've confirmed the regression for this clip in driver 2752 though 2778, using older MSDK DLLs returns the old behavior - decode header passes and decoding produces artifacts.
With the above MSDK DLLs, the H264 header decode fails, don't know why, and thus my compatibility check fails too.
I'll report this bug tomorrow.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 16th June 2012, 16:32   #11315  |  Link
ipanema
Registered User
 
Join Date: Apr 2009
Posts: 93
I'm just trying LAV for the first time today, and I'm getting occasional crashes when seeking. I'm using the Microsoft MPEG-2 Demultiplexer which works well for all of the decoder's I've tried in the past (Mainconcept, Elecard, ffdshow etc).

It's been ages since I've had to tinker with the Microsoft MPEG-2 Demultiplexer, but as far as I recall it passes samples with a maximum size of 8192 bytes, so frames may be split into several output samples with the last one being smaller than 8192. Only the first sample for a frame carries a time stamp, the continuation samples have no time stamp. I mention this in case it helps.

The decoder seems to start streaming OK, but when I try to seek I sometimes get a crash in avcodec-lav-54.dll, exception code c0000005, and it is always at offset 00218b4f.

This is just with the default (no hardware accel) settings of LAV.
ipanema is offline   Reply With Quote
Old 16th June 2012, 16:57   #11316  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
As far as i know, you can't just use the MS Demultiplexer, you need an application to properly configure it for usage, so i cannot really test it unless you tell me which application you're using specifically.
While you're at it, providing a sample file that causes such a crash will greatly help to analyse and fix the problem.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th June 2012, 17:00   #11317  |  Link
wanezhiling
Registered User
 
Join Date: Apr 2011
Posts: 1,184
@nev

For some WMP users (some of my friends), a tray is really useful when using lav splitter to play back mkv files which integrate several audio tracks.

I know you have no that plan, but don't close the door please.
wanezhiling is offline   Reply With Quote
Old 16th June 2012, 19:20   #11318  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
ftp://ftp.heise.de/pub/ct/spezial/shuttle.mpg
Crashes LAV Splitter 0.50.5 stable.
sneaker_ger is offline   Reply With Quote
Old 16th June 2012, 19:26   #11319  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by sneaker_ger View Post
ftp://ftp.heise.de/pub/ct/spezial/shuttle.mpg
Crashes LAV Splitter 0.50.5 stable.
No crash on latest Git for me.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th June 2012, 19:30   #11320  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Yes, seems to be working. No more crash with this:
https://forum.doom9.org/showpost.php...ostcount=11285
sneaker_ger 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 05:04.


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