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 13th March 2012, 21:17   #9861  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Here is a new version with yet improved YADIF multi-threading.

In addition to multi-threading YADIF itself, i moved it onto a worker thread, so decoding and deinterlacing can run in parallel.

http://files.1f0.de/lavf/LAVFilters-0.49-yadifmt2.zip

Because its quite some effort to make the decoders output buffers thread-safe, i only did this for the WMV9 decoder for this version. So when testing, keep in mind that this is only effective for VC-1 interlaced samples.
I do plan to do this at least for the avcodec software decoder and the DXVA2-CB decoder as well, and maybe the CUVID decoder. QuickSync is not possible right now because i cannot modify its buffer allocation, but its also not required because the decoder runs extremely fast.

Performance on the sample by jmonier is now 110 fps for me with YADIF 50/60p output. Up from originally 70 with 0.49 release.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 13th March 2012, 21:23   #9862  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
80 fps now on Core i7-860.
sneaker_ger is offline   Reply With Quote
Old 13th March 2012, 21:52   #9863  |  Link
jmonier
Registered User
 
Join Date: Oct 2008
Posts: 187
It's now 81 fps on my i7-950 (up from 66 on the previous build). Plays perfectly now - no dropped frames (as you would expect).

98 fps on the i7-2600 (consistent with your results).
jmonier is offline   Reply With Quote
Old 13th March 2012, 22:22   #9864  |  Link
hoboX10
Registered User
 
hoboX10's Avatar
 
Join Date: Jul 2008
Location: Texas
Posts: 50
Quote:
Originally Posted by RBG View Post
No I mean exactly MPEG-4 ASP, some driver versions work with it just fine some not.

By the way, what is wrong with h.264, what hardware do you have?
It's my laptop, with an Nvidia Geforce 310M.

Here's my original post for you to read:
Quote:
Originally Posted by hoboX10 View Post
Hey, I have a problem with the LAV video decoder, other people may have this too.

If I enable NVIDIA CUVID Hardware Acceleration with the latest drivers (version 295.73) then any H264 playback will cause a Blue Screen upon loading the decoder.

I should say that this is with NVIDIA's Verde drivers (Mobile Graphics Drivers) and may not be an issue with their standard graphics drivers.

Thanks for reading.
I know it's the drivers because I reinstalled the older drivers again (version 285.62) and NVIDIA CUVID works perfectly again.
hoboX10 is offline   Reply With Quote
Old 14th March 2012, 00:18   #9865  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Quote:
Originally Posted by nevcairiel View Post
EVR doesn't support anything but AYUV for 4:4:4, so instead it'll then get RGB, which is much better for EVR anyway, and madVR will receive YV24.
Is there any kind of dithering when converting YUV 4:4:4 to RGB?
aufkrawall is offline   Reply With Quote
Old 14th March 2012, 07:40   #9866  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by aufkrawall View Post
Is there any kind of dithering when converting YUV 4:4:4 to RGB?
There is always dithering when converting YUV to RGB.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th March 2012, 09:48   #9867  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by sagematt View Post
LAV Filters no longer detects that my CPU supports QuickSync (Core i7-2630QM, H67), this is on version 0.49, it says "Not Available" at all times. On LAV Filters 0.46 it works just fine. I tried using 0.49 with IntelQuickSyncDecoder.dll from 0.46, but it still won't detect/enable QuickSync. Any ideas?
In 0.46 QS worked in SW emulation mode. This mode was cancelled later on. 0.49 will only work if HW is available and supports the specific codec/profile.
Does it happen for all files or just specific ones?
Do you have a discrete GPU in your laptop?
What driver, OS, splitter and player are you using?
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.

Last edited by egur; 14th March 2012 at 13:15.
egur is offline   Reply With Quote
Old 14th March 2012, 12:27   #9868  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 452
Quote:
Originally Posted by aufkrawall View Post
Is there any kind of dithering when converting YUV 4:4:4 to RGB?
If you consider without dithering, the YUV 4:4:4 to RGB is also not lossless, is it ?
Pat357 is offline   Reply With Quote
Old 14th March 2012, 13:31   #9869  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
Quote:
Originally Posted by SeeMoreDigital View Post
Really... When placed in which container?
I think there is no actual dependence on container.

You can try some samples from my previous post, both are in mkv container, on 295.73 whql I was able to playback one of them with CUVID acceleration, on 285.62 whql both of them play fine. That's why I asked if somebody had already tested mpeg-4 acceleration on 296.10 whql.
RBG is offline   Reply With Quote
Old 14th March 2012, 17:15   #9870  |  Link
Peter_Pan
Registered User
 
Join Date: Sep 2005
Posts: 7
Quote:
Originally Posted by RBG View Post
I think there is no actual dependence on container.

You can try some samples from my previous post, both are in mkv container, on 295.73 whql I was able to playback one of them with CUVID acceleration, on 285.62 whql both of them play fine. That's why I asked if somebody had already tested mpeg-4 acceleration on 296.10 whql.
I tried both samples on a WinXP-SP3-Machine with LAV 0.49, latest NVIDIA 296.10 WHQL and latest MePo (MediaPortal).
The first one, which did play for you with all NVIDIA drivers, did play from start to end, the second one did not; just got a black screen. After pushing the stop button on my remote i got back into the MePo GUI. So thats that.
Peter_Pan is offline   Reply With Quote
Old 14th March 2012, 17:30   #9871  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Quote:
Originally Posted by Pat357 View Post
If you consider without dithering, the YUV 4:4:4 to RGB is also not lossless, is it ?
AFAIK it's not lossless anyway due to "rounding errors" etc.
aufkrawall is offline   Reply With Quote
Old 14th March 2012, 17:37   #9872  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by RBG View Post
I think there is no actual dependence on container.

You can try some samples from my previous post, both are in mkv container, on 295.73 whql I was able to playback one of them with CUVID acceleration, on 285.62 whql both of them play fine. That's why I asked if somebody had already tested mpeg-4 acceleration on 296.10 whql.
Well, from what I can see, your "This one is not working" .MKV file is corrupted in some way. Indeed, try de-muxing and re-muxing the streams!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 14th March 2012, 17:54   #9873  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
@nevcairiel
Is it difficult to make detection of changes in stream aspect ratio? For example this one http://dl.dropbox.com/u/16282309/LAV/AR.2.ts at beginning it is 4:3 and than it's 16:9. When I play it with LAV video freeze on AR change, but If I load file at time where is 4:3 it play fine. It fail to change AR automatically on playback. Is it possible to make? Thanks in advance.

EDIT: I have changed sample to shorter one.

Last edited by kasper93; 14th March 2012 at 18:03.
kasper93 is offline   Reply With Quote
Old 14th March 2012, 18:20   #9874  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by kasper93 View Post
@nevcairiel
Is it difficult to make detection of changes in stream aspect ratio? For example this one http://dl.dropbox.com/u/16282309/LAV/AR.2.ts at beginning it is 4:3 and than it's 16:9. When I play it with LAV video freeze on AR change, but If I load file at time where is 4:3 it play fine. It fail to change AR automatically on playback. Is it possible to make? Thanks in advance.
Should be fixed in the next version.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th March 2012, 19:11   #9875  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
Quote:
Originally Posted by Peter_Pan View Post
The first one, which did play for you with all NVIDIA drivers, did play from start to end, the second one did not; just got a black screen. After pushing the stop button on my remote i got back into the MePo GUI. So thats that.
Then I guess MPEG-4 ASP is still broken, because I can play both files absolutely fine with hardware acceleration on 285.62.

Quote:
Originally Posted by SeeMoreDigital View Post
Well, from what I can see, your "This one is not working" .MKV file is corrupted in some way. Indeed, try de-muxing and re-muxing the streams!
It is not corrupted. It is CUVID problem, or should I say nvidia driver problem, and nevcairiel knows about it.

Last edited by RBG; 14th March 2012 at 19:29.
RBG is offline   Reply With Quote
Old 14th March 2012, 19:26   #9876  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by nevcairiel View Post
Quote:
Originally Posted by kasper93 View Post
@nevcairiel
Is it difficult to make detection of changes in stream aspect ratio? For example this one http://dl.dropbox.com/u/16282309/LAV/AR.2.ts at beginning it is 4:3 and than it's 16:9. When I play it with LAV video freeze on AR change, but If I load file at time where is 4:3 it play fine. It fail to change AR automatically on playback. Is it possible to make? Thanks in advance.

EDIT: I have changed sample to shorter one.
Should be fixed in the next version.
Hmmm, no problems for LAV Video with that file over here,
even when I used AV Splitter instead of LAV's

Last edited by Midzuki; 14th March 2012 at 19:28. Reason: clarification, add more smilies :-)
Midzuki is offline   Reply With Quote
Old 14th March 2012, 19:42   #9877  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
Quote:
Originally Posted by nevcairiel View Post
Should be fixed in the next version.

Quote:
Originally Posted by Midzuki View Post
Hmmm, no problems for LAV Video with that file over here,
even when I used AV Splitter instead of LAV's
Check if you are using LAV Video Decoder. It has nothing to do with splitter. For now it works fine with Microsoft DTV-DVD Video Decoder. FFDshow crash whole player on AR change point Anyway it's fixed in LAV and thanks for that
kasper93 is offline   Reply With Quote
Old 14th March 2012, 20:08   #9878  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by kasper93 View Post
Check if you are using LAV Video Decoder. It has nothing to do with splitter.
As I had said:

Quote:
Originally Posted by Midzuki View Post
...
Hmmm, no problems for LAV Video with that file over here,
Midzuki is offline   Reply With Quote
Old 14th March 2012, 20:09   #9879  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Its only a problem if you use multi-threaded decoding and the software decoder.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th March 2012, 20:48   #9880  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
@Midzuki
It doesn't change the AR like it should with the panorama scene, the decoder freezes @ that point

Hmm Nev couldn't you by default enable to read the AR from the stream when parsing .ts streams and ignoring the actual Lav Video setting ? also with Quicksync the AR change seems to be ignored but works for DXVA2 Native.
__________________
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; 14th March 2012 at 21:12.
CruNcher 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 00:54.


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