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 8th August 2012, 09:45   #11921  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,417
Quote:
Originally Posted by nevcairiel View Post
Back to working on my subtitle interface and dvd video support..
*Hangs up DND sign*.
ryrynz is offline   Reply With Quote
Old 8th August 2012, 16:03   #11922  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
What are you doing with subs nev ?
dukey is offline   Reply With Quote
Old 8th August 2012, 16:26   #11923  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,054
Quote:
Originally Posted by Pat357 View Post
Now that I think about it : AVSMeter also creates a buffer...

What buffer?
Groucho2004 is offline   Reply With Quote
Old 8th August 2012, 17:33   #11924  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,578
Quote:
Originally Posted by Groucho2004 View Post

What buffer?
It usually starts displaying something only after some number of processed frames, like 30-60 frames. This is not due to buffer? Oo
Keiyakusha is offline   Reply With Quote
Old 8th August 2012, 17:46   #11925  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,054
Quote:
Originally Posted by Keiyakusha View Post
It usually starts displaying something only after some number of processed frames, like 30-60 frames. This is not due to buffer? Oo
No, it just has to read a certain number of frames at the beginning in order to display meaningful values.
Groucho2004 is offline   Reply With Quote
Old 8th August 2012, 23:33   #11926  |  Link
Soukyuu
Registered User
 
Soukyuu's Avatar
 
Join Date: Apr 2012
Posts: 169
Quote:
Originally Posted by Keiyakusha View Post
EDIT: Maximum bit rate : 100 Mbps omg, who ever created this he need to rethink his encoding approach. if you DO use hardware decoding it may be hardware problem as I expected because this high bitrate exactly at the time you saying and looking at the picture its pretty obvious why such bitrate is there. Bit for hardware decoders this may be too much.
EDIT2: this is not good. mpc-hc uses software decoder when you switch probably.
Uhm. The encoder was me XD
The setting I used are in my post, I guess the crf just makes it jump to that insane bitrate trying to preserve the quality. The file is not meant for sharing, so as long as I get the best quality playable, I'm fine with the space it uses.

I am a newbie when it comes to encoding though, I guess I should somehow limit the bitrate additionally to specifying the crf?

Quote:
Originally Posted by nevcairiel View Post
I cannot detect any problems with that file, seems to decode just fine here.
May be caused by the extremely high bitrate in that section. On my system at least it works fine with both software and hardware decoding, but i have pretty good and recent hardware which can deal with high-bitrate clips like this.
I have a Phenom II X4@3.4GHz an a nVidia 260GTX. What I don't understand is, if it's my hardware being too weak for this bitrate, why is the usage not spiking to 100% when it stutters?

The same file playing fine with same settings when LAV is off is what makes me think it must have something to do with LAV...

edit: after further testing, it looks like this:
no hardware acceleration - no stuttering - ~70% cpu peak usage
nVidia CUVID - stuttering - ~26% GPU load, 72% Video engine load according to GPU-Z
DXVA2 (copyback) - stuttering - ~26% GPU load, 100% Video engine load
DXVA2 (native) - no stuttering - ~26% GPU load, 0% Video engine load

So it seems nVidia's decoder screws up, same for the copyback version of DXVA2 (whatever that means)

edit2: added load numbers

Last edited by Soukyuu; 8th August 2012 at 23:53.
Soukyuu is offline   Reply With Quote
Old 9th August 2012, 07:09   #11927  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,078
Its not so much that the GPU screws up, the 260GTX just has one of the oldest hardware decoders, which is slower then for example the one in my card. 100mbit H.264 is a pretty high bandwidth, so its completely possible that it just doesn't support that much.

PS:
I think DXVA2 Native didnt work in your setup and it used software decoding instead, otherwise there would be more then 0% load.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 9th August 2012, 13:47   #11928  |  Link
Soukyuu
Registered User
 
Soukyuu's Avatar
 
Join Date: Apr 2012
Posts: 169
So for some reason, my post was blank, I guess maintenance ate it.

I tested the video with vdpau on linux and it's the same over there. What I still don't understand is why it is stuttering if video engine load is not maxed out when using CUVID.

My only guess is there might be a bandwidth issue uploading the frames to the card, my mainboard is kinda gimpy.

Anyway, thanks for helping me to clear it up, I guess I won't be using hardware acceleration since the CPU is doing a better job on this.

Last edited by Soukyuu; 9th August 2012 at 21:10.
Soukyuu is offline   Reply With Quote
Old 9th August 2012, 23:22   #11929  |  Link
st-fixer
Registered User
 
Join Date: Jul 2012
Posts: 2
Hi. Im trying to use LAVSplitter.ax without registration in system, through LoadLibrary(); / GetProcAddress(); functions, but its working only if I put all libraries into the program folder (with exe). If I put it into subfolder (with LAVSplitter.ax), I've got error - file ****.dll not found.
occurs with:
avcodec-lav-54.dll
avfilter-lav-3.dll
avformat-lav-54.dll
avresample-lav-0.dll
avutil-lav-51.dll
libbluray.dll
swscale-lav-2.dll

same situation with LAVAudio.ax and LAVVideo.ax. all dlls should be in folder with program, even if mail files (*.ax) are in subfolder.

Please, fix it.
Sorry my English,
Tnx.
st-fixer is offline   Reply With Quote
Old 9th August 2012, 23:26   #11930  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 4,956
Nothing to fix AFAIK. It works fine with other players who load it dynamically.
__________________
HTPC: Windows 10, I9 9900k, RTX 2070 Founder's Edition, Pioneer Elite VSX-LX303, LG C8 65" OLED
SamuriHL is offline   Reply With Quote
Old 9th August 2012, 23:26   #11931  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,405
Isn't that a security feature of the DLL search order?

http://support.microsoft.com/kb/2264107
Snowknight26 is offline   Reply With Quote
Old 9th August 2012, 23:29   #11932  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,078
Correct there is nothing to fix. You should read the documentation of LoadLibraryEx, it has a flag to control that.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th August 2012, 00:00   #11933  |  Link
st-fixer
Registered User
 
Join Date: Jul 2012
Posts: 2
Many thanks, problem solved.
st-fixer is offline   Reply With Quote
Old 10th August 2012, 00:11   #11934  |  Link
piccirilli
Registered User
 
Join Date: Nov 2009
Posts: 7
Using LAV for AVCHD files

Same problem here. LAV video decoder will connect, but not the LAV audio. This maybe the reason for the stuttering. Has anyone else had success using these filters to play Sony's AVCHD videos?

Quote:
Originally Posted by tormento View Post
I have some trouble playing AVCHD .m2ts from a Sony 1080i cam, i.e. freezing, stuttering or not playing at all.

The same works perfectly with other decoders.

Before uploading huge files, has anybody tested LAV with those kind of files?

Mediainfo report:

PHP Code:
General
ID                                       
(0x0)
Complete name                            E:\avchd\03-06-2012\20120603090917.m2ts
Format                                   
BDAV
Format
/Info                              Blu-ray Video
File size                                
24.1 MiB
Duration                                 
11s 935ms
Overall bit rate mode                    
Variable
Overall bit rate                         
16.9 Mbps
Maximum Overall bit rate                 
18.0 Mbps

Video
ID                                       
4113 (0x1011)
Menu ID                                  (0x1)
Format                                   AVC
Format
/Info                              Advanced Video Codec
Format profile                           
High@L4.0
Format settings
CABAC                   Yes
Format settings
ReFrames                2 frames
Format settings
GOP                     M=2N=13
Codec ID                                 
27
Duration                                 
11s 880ms
Bit rate mode                            
Variable
Bit rate                                 
15.8 Mbps
Maximum bit rate                         
16.0 Mbps
Width                                    
1 920 pixels
Height                                   
1 080 pixels
Display aspect ratio                     
16:9
Frame rate                               
25.000 fps
Color space                              
YUV
Chroma subsampling                       
4:2:0
Bit depth                                
8 bits
Scan type                                
Interlaced
Scan order                               
Top Field First
Bits
/(Pixel*Frame)                       : 0.305
Stream size                              
22.4 MiB (93%)

Audio
ID                                       
4352 (0x1100)
Menu ID                                  (0x1)
Format                                   AC-3
Format
/Info                              Audio Coding 3
Mode extension                           
CM (complete main)
Format settingsEndianness              Big
Codec ID                                 
129
Duration                                 
11s 968ms
Bit rate mode                            
Constant
Bit rate                                 
448 Kbps
Channel
(s)                               : 6 channels
Channel positions                        
FrontL C RSideL RLFE
Sampling rate                            
48.0 KHz
Bit depth                                
16 bits
Compression mode                         
Lossy
Delay relative to video                  
: -80ms
Stream size                              
655 KiB (3%)

Text
ID                                       
4608 (0x1200)
Menu ID                                  (0x1)
Format                                   PGS
Codec ID                                 
144
Duration                                 
11s 375ms
Delay relative to video                  
: -80ms 
piccirilli is offline   Reply With Quote
Old 10th August 2012, 18:41   #11935  |  Link
Focalom
Registered User
 
Join Date: Aug 2012
Posts: 2
Hey

Sorry for asking about something completely different.

I have been setting up my system the last week, but have a problem I can't figure out. I have a 720p plasma screen which accept 1080p24 signals (1080p23). My computer have a core2duo e8500 at stock 3,16ghz and an amd radeon hd 7770 graphic card.

Today i run the latest MPC-HC + the LAV package (splitter, audio and video decoder) and madvr render. I can run every file I throw at it without any frame drops, all the queues in madvr are full. The audio is bitstreaming to the receiver.

To the problem: When playing my bluray movies 1080p24 (rips), and the resolution and framerate in win7 is set to 1080p23 the audio is out of sync. But when I set it to 720p59 the video and audio is in sync. But I guess I must set the framerate to (23.976), and therefore the resolution must be set to 1080p, to get the film run smoothly. I get the same result with both madvr and EVR cust pres.

Any idea how to fix this? I'm sorry if this have been answered many times, but I can't find a solution :-(
Focalom is offline   Reply With Quote
Old 11th August 2012, 12:12   #11936  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,078
Some people asked about Opus decoding, so here it is.

x86: http://files.1f0.de/lavf/LAVFilters-...8-gbacb7df.zip
x64: http://files.1f0.de/lavf/LAVFilters-...acb7df-x64.zip

This version uses the libopus reference decoder for decoding of opus audio streams. LAV Splitter can read .opus files and LAV Audio can decode the streams.

Please let me know if it doesn't work as expected. Initial tests seemed to play just fine.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 11th August 2012, 13:03   #11937  |  Link
Sebastiii
Registered User
 
Join Date: Oct 2009
Location: France
Posts: 615
nice work :P
__________________
HTPC : i7 920 6Go Win10(x64) / Nvidia 1050Ti / P6T Deluxe / Harman-Kardon AVR-355.
Sebastiii is offline   Reply With Quote
Old 11th August 2012, 13:14   #11938  |  Link
SeeMoreDigital
Registered User
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,820
Opus audio decoding is working fine for me, with Windows Media Player and Media Player Classic

It's just crazy how well Opus sounds at low bit-rates...


Many thank Nev
__________________
| 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 11th August 2012, 16:21   #11939  |  Link
Gser
Registered User
 
Join Date: Apr 2008
Posts: 415
What about Opus at higher bit rates? Could it be a good alternative for lc-aac?
Gser is offline   Reply With Quote
Old 11th August 2012, 17:04   #11940  |  Link
SeeMoreDigital
Registered User
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,820
Quote:
Originally Posted by Gser View Post
What about Opus at higher bit rates? Could it be a good alternative for lc-aac?
If you start an Opus audio discussion topic within the forums "Audio Encoding" section, anyone who's interested in Opus can talk about it there
__________________
| 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
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 09:39.


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