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. |
16th June 2012, 19:40 | #11321 | Link |
Registered User
Join Date: Aug 2007
Posts: 76
|
I have GeForce GT520.
mpc-hc.1.6.3.4992.x86 LAVFilters-0.50.5 Having problem bitstreaming DD+ tracks via HDMI. There is no audio. Sample audio link below. http://www.mediafire.com/?a3x0q52bg1av33m |
16th June 2012, 19:54 | #11322 | Link |
Registered User
Join Date: Jan 2009
Posts: 1,210
|
@ nevcairiel and anyone else you can help me understand what exactly is going on
http://s13.postimage.org/u7erxxvwl/graphs.png This is a screenshot of my CPU, System RAM, GPU, Video RAM, and I/O graphs along with madVR's OSD while playing a 1080p 10bit file and upscaling it to 2016 x 1134 in windowed mode (I couldn't take a screenshot in exclusive mode but in reality I upscale it to the full resolution of my monitor which is 2048 x 1152 @ 60Hz). Basically I'm dropping frames whether I upscale it to 1152p60 or play it at output 1080p24 on my other screen. It doesn't look like a decoding problem since the queue is full but I can't tell. The only items in my filter chain are MPC-HC, madVR, LAV Filters. LAV has been set to CPU decoding. All of them are at the latest version. CPU: C2D @ 2.66Ghz. RAM: 4GB DDR2 800MHz. I can't figure out why my GPU cannot upscale to 2048 x 1152 with anything other (higher quality) than bilinear. Currently I'm using SoftCubic 50 for chroma and Spline 3 taps for luma up/down scaling. Thanks. |
16th June 2012, 22:14 | #11324 | Link |
Registered User
Join Date: Jun 2006
Posts: 452
|
Nev,
I have a strange problem with lavfilters, probably related to the LAVsplitter. I created a .m2v file from my .avs script using Hank's HC MPEG2 encoder. The file has 165350 frames, but when I use LAVsplitter, I can not seek above frame 85907. The slider from MPC-HC is then completely to the right. When I just change the splitter to MPC-HC's internal, I don't have this problem (ie I CAN seek to the end at frame 165350). This is the info from LAVsplitter : Filter : LAV Splitter Source - CLSID : {B98D13E7-55DB-4385-A33D-09FD1BA26338} - Connected to: CLSID: {EE30215D-164F-4A92-A4EB-9D4C13390F9F} Filter: LAV Video Decoder Pin: Input - Connection media type: Video: MPEG2 Video 720x576 (16:9) 25fps 9300kbps AM_MEDIA_TYPE: majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71} subtype: MEDIASUBTYPE_MPEG2_VIDEO {E06D8026-DB46-11CF-B4D1-00805F6CBBEA} formattype: FORMAT_MPEG2_VIDEO {E06D80E3-DB46-11CF-B4D1-00805F6CBBEA} bFixedSizeSamples: 0 bTemporalCompression: 1 lSampleSize: 1 cbFormat: 282 VIDEOINFOHEADER: rcSource: (0,0)-(720,576) rcTarget: (0,0)-(720,576) dwBitRate: 9300000 dwBitErrorRate: 0 AvgTimePerFrame: 400000 I've a possible explanation for this : LAVsplitter calculates the length of the movie using the bitrate 9300. This is the max. bit rate i had set (max. for DVD player compatibility), the video is 2 pass with an average from 4832 or something like that. This would explain this behavior. I guess MediaInfo and also the internal MPC-splitter somehow figure out the total nr. of frames and multiply this by the frame-time (file is CFR). This is what MediaInfo says : Algemeen Volledige naam : K:\film\limitedsharpen_met_MC'd_FFT3dfilter_via_MVTools20.m2v Formaat : MPEG Video Formaatversie : Version 2 Bestandsgrootte : 3,72 GiB Duur : 1h 50mn Totale bitratemodus : Variabel Totale bitrate : 4 832 Kbps Video Formaat : MPEG Video Formaatversie : Version 2 Formaatprofiel : Main@Main Formaatinstellingen, BVOP : Ja Formaatinstellingen, Matrix : Aangepast Duur : 1h 50mn Bitrate-modus : Variabel Bitrate : 4 832 Kbps Maximale bitrate : 9 300 Kbps Breedte : 720 pixels Hoogte : 576 pixels Beeldverhouding : 16:9 Framerate : 25,000 fps Standaard : PAL ColorSpace : YUV ChromaSubsampling : 4:2:0 BitDepth/String : 8 bits Scansoort : Progressief Bits/(Pixel*Frame) : 0.466 Stroomgrootte : 3,72 GiB (100%) Any idea how to fix this ? PS : neither FFmpeg is able to determine the movie length : estimation based on bit rate (9300) : gives wrong duration. Last edited by Pat357; 16th June 2012 at 22:32. Reason: typo's fixed |
17th June 2012, 06:24 | #11325 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Quote:
No sample, no fixings. :d
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
17th June 2012, 14:36 | #11326 | Link | |
Registered User
Join Date: Apr 2009
Posts: 93
|
Quote:
Interestingly the example DS decode filter that is supplied with Intel Media SDK works fine, as do other decoders. |
|
17th June 2012, 15:03 | #11327 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Well if you cant give me anything to work with, i'm afraid i cannot help you.
For crashes, its crucial to be able to reproduce them, or fixing them is nearly impossible.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 17th June 2012 at 15:26. |
17th June 2012, 17:16 | #11329 | Link | |
Registered User
Join Date: Jan 2009
Posts: 1,210
|
Quote:
New queue sizes: 8/4/4/4 Thanks kasper93! |
|
17th June 2012, 18:19 | #11330 | Link | |
Registered User
Join Date: Jun 2006
Posts: 452
|
Quote:
http://www.mediafire.com/?uhpcg79jq7efzi7 |
|
17th June 2012, 19:43 | #11331 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Quote:
I can't seem to get the internal MPC-HC splitter to take over, and the fallback Microsoft splitter reports the same duration as LAV. (19 seconds for that file) Sadly there is no functionality in place yet to actually measure the bitrate of a file and produce a duration based on that, but i suppose its a possiblity for the future. I tried something quick and dirty, and it took reading until nearly half the file until the bitrate was accurate enough to calculate the duration properly (about 10MB in this case) I would generally recommend to store it in an actual container format, instead of full raw video.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 17th June 2012 at 20:00. |
|
18th June 2012, 02:33 | #11332 | Link | |
Registered User
Join Date: Jun 2006
Posts: 452
|
Quote:
What about MKVmerge (MKV) or MP4Box(MP4) ? Where can I put what information ? I must admit it was not the MPC-HC MPEG splitter that gave me correct durations : it's the MediaConcept MPEG demuxer that allows me to seek to the end... Any idea how they do it ? Also MediaInfo seems to be able to determine the movie length. It displays both the average bit-rate and the max bitrate. I gonna test with other mpeg-splitters too : cyberlink, arcsoft,.... and see what comes out. Last edited by Pat357; 18th June 2012 at 02:42. |
|
18th June 2012, 06:59 | #11333 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Quote:
The main problem with raw video (without a container around it) is that you can't know how many frames a file contains without counting them (or if you have CBR), so anything you try will be guesswork, accuracy depending on how much data/effort you put into it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
19th June 2012, 06:58 | #11334 | Link |
Registered User
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
|
For seeking in raw video, would it be possible to just go by filesize instead of actual duration?
Don't know if the media player can show the current location correctly, but at least when seeking, maybe you could just jump to x% of the filesize and return the next available frame. |
20th June 2012, 10:57 | #11336 | Link | |
Registered User
Join Date: Oct 2010
Posts: 34
|
Quote:
|
|
20th June 2012, 12:06 | #11337 | Link | |
Registered User
Join Date: May 2012
Posts: 85
|
Quote:
i think its a good idea imho, with this the player can be fine-tuned to work perfectly with LAVs and the simplicity of updating it would be a plus. |
|
20th June 2012, 14:12 | #11338 | Link | |
Registered User
Join Date: Oct 2010
Posts: 34
|
Quote:
That would be awesome, but I fear it will require quite a bit of work. If I have some free time I might start looking into it, although I can't promise anything. |
|
20th June 2012, 18:13 | #11340 | Link |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Idea about integrating LAV and MPC-HC is around for a long time. AFAIR even before LAV was released to the public. Year? Or more already? While its a not bad idea, we still need someone to actually code it. Right now there is no developers that can do it.
Personally I like it how it is now. MPC-HC lite and separate LAV. Instead I still have hope that nev will find some time/motivation to add avisynth support to LAV, which uses avisynth api to load scripts. I still think this is the best middle-ground between those who wants filters in LAV, and those who against it. |
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|