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. |
6th April 2014, 19:27 | #17461 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Using the above x86 latest build with DXVA Checker and MPC-HC, all of my last and final problems (I have no other samples with problems!) seem unresolved.
1) Artifacts during playback and seeking (both CPU & DXVA) with this clip 2) No decoding at all (both CPU & DXVA) with DXVA Checker using this clip2. Possible LAV splitter bug ? 3) Is this possible to fix with MPC-HC? PotPlayer decodes it fine in DXVA. 4) Very slow seeking (out of sync A/V) with both CPU & DXVA with this clip4 5) Slow seeking with both CPU & DXVA (out of sync A/V) with this clip5 6) No problems during normal playback with this clip6 but when you go back and forth at the initial "black" screen, you will see "ghost" images in both CPU & DXVA especially in MPC-HC I would appreciate it, if you could test all of the above.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
6th April 2014, 20:20 | #17462 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
The code in question with the issue was only for a special DTS feature, which I guess the first file may not be using?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
7th April 2014, 09:04 | #17463 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
Aha, now I understand. Yes, the first one has AC3 indeed.
__________________
My hobby website |
7th April 2014, 14:58 | #17464 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
LAV, or rather ffmpeg's AviSynth implementation appears to have an audio-duration bug.
Sample DELAY -192ms(Trim_2.58).avs: Code:
NicAc3Source("D:\Sample DELAY -192ms.ac3").DelayAudio(-0.192) AudioDubEx(BlankClip(length=Int(1000*AudioLengthF(last)/Audiorate(last)),width=32,height=32,fps=1000),last) #AviSynth v2.58 Trim(0,(1000*40)-1) Code:
ffmpeg.exe -i "D:\Sample DELAY -192ms(Trim_2.58).avs ... Input #0, avisynth, from 'D:\Sample DELAY -192ms(Trim_2.58).avs': Duration: 00:00:40.00, start: 0.000000, bitrate: 0 kb/s Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 32x32, 1k fps, 1k tbr, 1k tbn, 1k tbc Stream #0:1: Audio: pcm_f32le, 48000 Hz, stereo, flt, 3072 kb/s ================================================================ avs2pipemod-0.4.1.exe -info "D:\Sample DELAY -192ms(Trim_2.58).avs" avisynth_version 2.60 script_name D:\Sample DELAY -192ms(Trim_2.58).avs v:width 32 v:height 32 v:fps 1000/1 v:frames 40000 v:duration[sec] 40.000 v:image_type framebased v:field_order not specified v:pixel_type RGB32 a:sample_rate 48000 a:format float a:bit_depth 32 a:channels 2 a:samples 1920000 a:duration[sec] 40.000 Sample DELAY -192ms(Trim_2.60).avs: Code:
NicAc3Source("D:\Sample DELAY -192ms.ac3").DelayAudio(-0.192) AudioTrim(0,1000/25.0) #AviSynth v2.60 Code:
ffmpeg.exe -i "D:\Sample DELAY -192ms(Trim_2.60).avs ... Input #0, avisynth, from 'D:\Sample DELAY -192ms(Trim_2.60).avs': Duration: 00:00:00.00, start: 0.000000, bitrate: 3044 kb/s Stream #0:0: Audio: pcm_f32le, 48000 Hz, stereo, flt, 3072 kb/s ================================================================ avs2pipemod-0.4.1.exe -info "D:\Sample DELAY -192ms(Trim_2.60).avs" avisynth_version 2.60 script_name D:\Sample DELAY -192ms(Trim_2.60).avs a:sample_rate 48000 a:format float a:bit_depth 32 a:channels 2 a:samples 1920000 a:duration[sec] 40.000 ffmpeg I believe always expects a videostream upon which it bases the duration and thus fails when there isn't any. And because LAV is based on ffmpeg, it will also show a duration of 0. The "AVI/WAV File Source"-filter doesn't have this issue and detects the correct duration. Btw, while the "AVI/WAV File Source"-filter automatically converts its input to 16bit, LAV doesn't and because my soundcard doesn't support 32bit-float, I either need to add ConvertAudioTo16bit() to the avs-script, or manually add the "LAV Audio Decoder" (or "FFDShow Audio Processor") as external filter in MPC-BE/HC, otherwise my soundcard puts out warbled/distorted sound. Is there a way you can make the "LAV Audio Decoder" automatically load in case the "LAV Splitter" puts out 32bit-float?
__________________
My hobby website Last edited by Reino; 7th April 2014 at 15:02. |
7th April 2014, 15:11 | #17465 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I fixed the audio duration, however regarding the other issue, the splitter is not in charge to control filter loading, and trying to force another filter into the graph is usually quite an disruptive endeavor and would need options to turn it off and whatnot.
It does also seem to load LAV Audio into the graph for me with every AviSynth script.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
7th April 2014, 16:54 | #17466 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
Understood, though I don't understand how and why LAV Audio automatically gets inserted on your system. The onboard soundchip on one of my family member's laptop (Win7) supports 32bit-float, so LAV Audio doesn't get, or even needs to be inserted.
Thanks for the duration fix.
__________________
My hobby website |
7th April 2014, 20:25 | #17467 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
The following sample also has audio problems in AviSynth.
http://www.sendspace.com/file/hudyb4 Audio plays three times normal speed. Splitter outputs 5.1 pcm instead of 2.0 AAC.
__________________
MPC-HC 2.2.1 |
7th April 2014, 20:45 | #17468 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
Note that all audio is PCM when it comes out of avisynth, it can't output compressed audio.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
8th April 2014, 15:37 | #17469 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
LAV Filters 0.61.2
Code:
General - Installer: The installer does now backup DirectShow registry settings before overwriting them, allowing uninstall to restore them LAV Splitter - NEW: Support for ProRes in MKV - Fixed: Opening AviSynth scripts with LAV Splitter which used DirectShowSource to load LAV Splitter again caused a deadlock - Fixed: Audio-only AviSynth scripts did not show a duration - Fixed: Cue Sheets with directives with empty parameters could cause a crash LAV Video - Fixed: AVC1 video streams without SPS/PPS in the configuration record did not decode properly - Fixed: Decoding H.264 streams with a resolution change using the DXVA2 Copy-Back decoder could crash - Fixed: YUV->RGB conversion produced the wrong output for the last line of odd-height 4:2:2 or 4:4:4 files LAV Audio - Changed: LAV Audio offers more alternate output configurations to the audio renderer if the audio renderer refuses our preferred format - Fixed: Decoding AC3 audio with corrupted audio frames could cause unnecessary format changes to occur and disrupt playback - Fixed: Decoding DTS audio on a CPU without SSE2 support could crash on some streams Nothing really major to highlight in this release, various fixes and improvements. Regarding the change in the installer, it'll of course only be able to restore any old settings if you install it on a fresh system. If you had an older version of LAV already installed, it won't be able to restore settings on uninstall again, since they are lost. I hope it functions as designed. I did run a couple tests and both the backup and the restore seemed to function properly at least. Anyway, have fun!
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
8th April 2014, 18:54 | #17470 | Link | |
*****
Join Date: Feb 2005
Posts: 5,647
|
Quote:
Can you update FFmpeg and add VP7? You may want to check if a source filter GUID is still valid before restoring a backed up value. An invalid value will break playback with the standard graph builder.
__________________
MPC-HC 2.2.1 |
|
8th April 2014, 19:03 | #17471 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Whatever was in the registry before LAV was installed will be restored. I do not plan to add elaborate sanity checks.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
8th April 2014, 19:13 | #17472 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Quote:
Cheers manolito |
|
9th April 2014, 10:25 | #17473 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,379
|
hi nevcairiel
there is a small thing that AV-Splitter handles better then LAV-Splitter. when i activate the Bluray-function(format) during the install process, i cant select the different editions of the BD. only the longest edition plays but i cant change it. AV-Splitter: shows all avalible editions and with right click on the tray icon you can change the editions. please implement this AV-Splitter feature in LAV-Splitter. Last edited by hubblec4; 9th April 2014 at 10:29. |
9th April 2014, 10:30 | #17474 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I consider this a player feature, and I have no immediate plans for this in LAV. MPC-HC for example lets you choose which title to play from a BD.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
9th April 2014, 21:55 | #17477 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
nevcairiel, thanks for the SSE and AviSynth audio-only fix! v0.61.2 working nicely here.
__________________
My hobby website |
12th April 2014, 12:49 | #17480 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,106
|
Hi, I remember a few weeks back there was a discussion regarding yadif double frame rate information not being reflected in the output information to the next filter / renderer. I see madshi had some ideas on how it might be achieved. Just wondering is this something that has changed in any recent lav versions? Previous Discussion
Just for the life of me I can never get lav / yadif double frame rate deinterlacing to play nicely with SVP. ffdshow downstream thinks the frame rate is still the original frame rate (eg 23.976 / 25fps, so tries to bump up to 60fps via SVP, but instead of outputting 60fps, I get 120fps Last edited by mark0077; 12th April 2014 at 12:52. |
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|