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 26th December 2012, 15:39   #13541  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Some files simply have the wrong field order, there is an option to switch it exactly for that reason.
Its possible cuvid and ffmpeg have different defaults when no field order can be determined, who knows.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 26th December 2012, 15:43   #13542  |  Link
wanezhiling
Registered User
 
Join Date: Apr 2011
Posts: 1,184
Ok, how about greenscreen on nv card?

coreavc dxva is just fine.
wanezhiling is offline   Reply With Quote
Old 26th December 2012, 16:05   #13543  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
I'm looking into it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 26th December 2012, 16:55   #13544  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by wanezhiling View Post
Ok, how about greenscreen on nv card?
Should be fixed.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 26th December 2012, 17:01   #13545  |  Link
wanezhiling
Registered User
 
Join Date: Apr 2011
Posts: 1,184
So fast..cool.
wanezhiling is offline   Reply With Quote
Old 27th December 2012, 07:02   #13546  |  Link
Anima123
Registered User
 
Join Date: Jun 2005
Posts: 504
Nev,

There's some glitches (no audio output at the L channel, the audio is stereo) with the audio when playing with a 720p rmvb file with raac audio after seeking for several times. This problem only appear when I use LAV Splitter, no problem with the splitter with mpc-hc 1.6.5 stable.

There's quite a few splitter problems with different containers with LAV Splitter, is there something you can do to improve it?

Anything that may help you tracing the bug, please don't hesitate to ask.

Regards,
Anima123 is offline   Reply With Quote
Old 27th December 2012, 10:27   #13547  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by Anima123 View Post
There's some glitches (no audio output at the L channel, the audio is stereo) with the audio when playing with a 720p rmvb file with raac audio after seeking for several times. This problem only appear when I use LAV Splitter, no problem with the splitter with mpc-hc 1.6.5 stable.
Sample file or it didn't happen.
For the record, RMVB is just a horrible format.

Quote:
Originally Posted by Anima123 View Post
There's quite a few splitter problems with different containers with LAV Splitter, is there something you can do to improve it?
That sounds more like trolling then a bug report.

Accurate problem descriptions, with sample files, or nothing can be done.

For the record, it works just perfectly for me.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 27th December 2012 at 10:54.
nevcairiel is online now   Reply With Quote
Old 27th December 2012, 10:55   #13548  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by wanezhiling View Post
http://www.mediafire.com/?bff9fl5pytfegte
Hi nev, lav video decoder failed..
I can confirm this but the splitter seems to be the problem cause enabling the internal splitter in MPC-BE and using lav video and audio the sample it's working using lav splitter it doesn't
__________________
Intel UHD Graphics 750; Win 10 22H2

Last edited by Mercury_22; 27th December 2012 at 10:59.
Mercury_22 is offline   Reply With Quote
Old 27th December 2012, 11:04   #13549  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
The file has a "odd" FourCC used by one specific authoring tool, apparently.
There is two ways to fix such a file, either you overwrite the type in the splitter, or you make the decoder recognize the FourCC, i decided to do the second.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 27th December 2012, 11:43   #13550  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by nevcairiel View Post
The file has a "odd" FourCC used by one specific authoring tool, apparently.
There is two ways to fix such a file, either you overwrite the type in the splitter, or you make the decoder recognize the FourCC, i decided to do the second.
Seems to be working now
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 27th December 2012, 12:32   #13551  |  Link
CiNcH
Registered User
 
CiNcH's Avatar
 
Join Date: Jan 2004
Posts: 567
Why can the ffmpeg parser only be used for the following formats resp. subtypes inside LAV Video?
Code:
  if(codec == AV_CODEC_ID_MPEG1VIDEO || codec == AV_CODEC_ID_MPEG2VIDEO || pmt->subtype == FOURCCMap(MKTAG('H','2','6','4')) || pmt->subtype == FOURCCMap(MKTAG('h','2','6','4'))) {
    m_pParser = av_parser_init(codec);
  }
I think that if it was enabled for VC-1, sending fixed size ES chunks from the source filter instead of an exact frame per media sample would work as well, no?
__________________
Bye

Last edited by CiNcH; 27th December 2012 at 13:07.
CiNcH is offline   Reply With Quote
Old 28th December 2012, 01:03   #13552  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by Anima123 View Post
There's some glitches (no audio output at the L channel, the audio is stereo) with the audio when playing with a 720p rmvb file with raac audio after seeking for several times. This problem only appear when I use LAV Splitter, no problem with the splitter with mpc-hc 1.6.5 stable.
I got a sample file from clsid instead.
Try with this version, it should resolve the issue i hope, my own tests seem positive.

http://files.1f0.de/lavf/LAVFilters-...8-ge480b02.zip
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 28th December 2012, 09:59   #13553  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by CiNcH View Post
I think that if it was enabled for VC-1, sending fixed size ES chunks from the source filter instead of an exact frame per media sample would work as well, no?
I don't think thats everything required for this use-case, depending on the exact behaviour of the source filter other steps may be required - not to mention that this code-path is only used for VC-1 DXVA, sofware decoding (in default settings) uses the wmv9 dmo decoder which can't use the parser yet.

I have it somewhere on my list to try to support splitters which don't deliver VC-1 in Microsofts spec, but it will be a while.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 28th December 2012, 10:14   #13554  |  Link
CiNcH
Registered User
 
CiNcH's Avatar
 
Join Date: Jan 2004
Posts: 567
Quote:
not to mention that this code-path is only used for VC-1 DXVA, sofware decoding (in default settings) uses the wmv9 dmo decoder which can't use the parser yet.
I recognized that too. I have seen that the QuickSync path even requires the sequence header as extra data in the connection media type.


BTW, something I did not have a look at yet... how does the QuickSync path work with the fixed size ES chunks that the DVBSource sends in case of MPEG-2 and H.264? Does QuickSync itself perform a NALU/frame parsing for those formats?
__________________
Bye
CiNcH is offline   Reply With Quote
Old 28th December 2012, 10:35   #13555  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by CiNcH View Post
I have seen that the QuickSync path even requires the sequence header as extra data in the connection media type.
All decoders require this (except CUVID). The ffmpeg based DXVA decoder and the wmv9 dmo decoder. However, this information is also available in-band, so the decoder could try to delay initialization and wait for this information, so it would be possible to work around this with some effort.

Quote:
Originally Posted by CiNcH View Post
BTW, something I did not have a look at yet... how does the QuickSync path work with the fixed size ES chunks that the DVBSource sends in case of MPEG-2 and H.264? Does QuickSync itself perform a NALU/frame parsing for those formats?
I believe Eric has code for this in the IntelQuickSyncDecoder. Not sure if for VC-1 as well.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 28th December 2012 at 10:56.
nevcairiel is online now   Reply With Quote
Old 28th December 2012, 14:55   #13556  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by nevcairiel View Post
I believe Eric has code for this in the IntelQuickSyncDecoder. Not sure if for VC-1 as well.
All I do is a basic parse of H264 streams and make sure they are HW compatible (remove AnnexB style info). The Intel Media SDK underneath my decoder does the rest (split or join packets). HW works one frame at time.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 28th December 2012, 16:55   #13557  |  Link
wanezhiling
Registered User
 
Join Date: Apr 2011
Posts: 1,184
Quote:
Originally Posted by nevcairiel View Post
The file has a "odd" FourCC used by one specific authoring tool, apparently.
There is two ways to fix such a file, either you overwrite the type in the splitter, or you make the decoder recognize the FourCC, i decided to do the second.
Another similar sample:http://pan.baidu.com/share/link?shar...&uk=3558042035

LAV video decoder can not recognize the FourCC, MPC-HC/BE is fine.
wanezhiling is offline   Reply With Quote
Old 28th December 2012, 22:29   #13558  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
If you add "3IV2" for the file above, then you could add "3IV1" as well while you're at it. Both are from 3ivX MPEG-4 encoder.

The rm fix is working great btw.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 28th December 2012, 22:30   #13559  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by wanezhiling View Post
Another similar sample:http://pan.baidu.com/share/link?shar...&uk=3558042035

LAV video decoder can not recognize the FourCC, MPC-HC/BE is fine.
Fixed

Quote:
Originally Posted by clsid View Post
If you add "3IV2" for the file above, then you could add "3IV1" as well while you're at it. Both are from 3ivX MPEG-4 encoder.
I added 3ivx, 3iv1 and 3iv2 (and the uppercase variants)

Quote:
Originally Posted by clsid View Post
The rm fix is working great btw.
Great!
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 28th December 2012 at 22:34.
nevcairiel is online now   Reply With Quote
Old 29th December 2012, 01:34   #13560  |  Link
Anima123
Registered User
 
Join Date: Jun 2005
Posts: 504
Nevcairiel,

Thanks a lot for the fix. I know rm container sucks, however I have plenty of videos in this format.

As I can recall, Kostya said somewhere that he may intended to write a new rm splitter. I hope that he can find some time to do that in the end.

Regards,
Anima123 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 17:59.


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