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 26th June 2018, 17:50   #22901  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
Can someone tell me what's going wrong here? I'm trying to do make an encode with ordered chapters, but I'm finding that if you seek to the inserted section in MPC-HC and switch audio tracks, you get no audio after it goes through the transition. There are a couple episodes where it does work but several where it doesn't. It works in mpv and VLC, though in VLC the seek bar does some funky shit.

https://nofile.io/f/erMJ2hnpvXV/Main.zip

Last edited by kuchikirukia; 26th June 2018 at 18:09.
kuchikirukia is offline   Reply With Quote
Old 27th June 2018, 11:44   #22902  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
For systems that can not be updated beyond WinXP32SP3:
Which version is the last known to be working on WinXP32SP3?
0.70.2.80
0.70.2.82
0.70.2.83
0.70.2.88
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 27th June 2018, 11:56   #22903  |  Link
kral2008
Registered User
 
Join Date: Apr 2014
Posts: 19
Guys,
Is there any way to decode 50 FPS streams in 25 FPS? I mean for ex. just forget about the half of the frames, and just select them once amoung.
This is because old PCs who haven't GPU/CPU accelerated H/W decoding, independent from bit-rate of HEVC streams, have problem with FPS. My experiments show that my old i7 740 QM laptop could play smoothly the following stream:

Quote:
General
Unique ID : 146683291928339036295978944671459269582 (0x6E5A2CA738E21066867829611AD35BCE)
Complete name : F:\2018.2160p.UHD.BluRay.x265-.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 16.2 GiB
Duration : 1 h 57 min
Overall bit rate mode : Variable
Overall bit rate : 19.7 Mb/s
Encoded date : UTC 2018-06-13 22:48:25
Writing application : mkvmerge v24.0.0 ('Beyond The Pale') 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 57 min
Bit rate : 14.1 Mb/s
Width : 3 840 pixels
Height : 1 608 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.095
Stream size : 11.6 GiB (71%)
Writing library : x265 2.8+16-03dcb3457b7e:[Windows][GCC 6.3.0][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=5 / numa-pools=36 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1608 / interlace=0 / total-frames=169496 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(40000000,50) / max-cll=2971,112 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primar : BT.2020
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 2971 cd/m2
Maximum Frame-Average Light Le : 112 cd/m2

Audio #1
ID : 2
Format : TrueHD
Format profile : TrueHD+Atmos / TrueHD
Codec ID : A_TRUEHD
Duration : 1 h 57 min
Bit rate mode : Variable
Bit rate : 3 214 kb/s
Maximum bit rate : 5 520 kb/s
Channel(s) : Object Based / 8 channels
Channel positions : Object Based / Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : / 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Stream size : 2.64 GiB (16%)
Language : English
Default : Yes
Forced : No

Audio #2
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Codec ID : A_DTS
Duration : 1 h 57 min
Bit rate mode : Variable / Constant
Bit rate : 2 328 kb/s / 1 509 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless / Lossy
Stream size : 1.92 GiB (12%)
Language : English
Default : No
Forced : No

Text
ID : 4
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 56 min
Bit rate : 20.6 kb/s
Count of elements : 2244
Stream size : 17.2 MiB (0%)
Title : SDH
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:00:00:00.000
00:13:13.251 : en:00:13:13.251
00:24:04.234 : en:00:24:04.234
00:31:57.999 : en:00:31:57.999
00:39:57.061 : en:00:39:57.061
00:50:31.070 : en:00:50:31.070
01:04:49.844 : en:01:04:49.844
01:13:58.100 : en:01:13:58.100
01:20:17.396 : en:01:20:17.396
01:27:41.131 : en:01:27:41.131
01:38:41.624 : en:01:38:41.624
01:51:17.421 : en:01:51:17.421
But can't decode smoothly a recording TS from TRT 4K with this characteristics:

Quote:
General
ID : 30801 (0x7851)
Complete name : C:\Users\abcdefghi\Downloads\20180626-212911_TRT 4K.ts
Format : MPEG-TS
File size : 1.03 GiB
Duration : 5 min 37 s
Overall bit rate mode : Variable
Overall bit rate : 26.0 Mb/s

Video
ID : 4855 (0x12F7)
Menu ID : 16300 (0x3FAC)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@Main
Codec ID : 36
Duration : 5 min 38 s
Bit rate : 24.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.059
Stream size : 987 MiB (94%)

Audio
ID : 4955 (0x135B)
Menu ID : 16300 (0x3FAC)
Format : E-AC-3
Format/Info : Enhanced Audio Coding 3
Codec ID : 6
Duration : 5 min 37 s
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 187.500 FPS (256 SPF)
Compression mode : Lossy
Delay relative to video : -524 ms
Stream size : 10.3 MiB (1%)
Service kind : Complete Main
Using LAV filter. This shows the problem is not the bitrate, but the framerate. So the possible solution could be skipping the half of the frames ?

Last edited by kral2008; 27th June 2018 at 12:00.
kral2008 is offline   Reply With Quote
Old 27th June 2018, 12:10   #22904  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,750
@ Emulgator: Bad news (if correct)...

Quote:
Originally Posted by VictorLS View Post
For people who still like WinXP - last working version of subj is LAVFilters-0.70.2-16
as quoted when manolito asked in Feb. 2018.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is online now   Reply With Quote
Old 27th June 2018, 12:48   #22905  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
Quote:
Originally Posted by kral2008 View Post
Guys,
Is there any way to decode 50 FPS streams in 25 FPS?
Yes, an avisynth script with selecteven().
Though if you have old hardware I doubt you have a 4k monitor, so why not just reencode to 1080p?
kuchikirukia is offline   Reply With Quote
Old 27th June 2018, 12:50   #22906  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
Many thanks, Ligh, just confirmed. 0.70.2.16 installs on XPSP3.
From 0.70.2-29 on the installer stops, window pops up:
"This program does not support the version of Windows you're running."
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 27th June 2018, 13:17   #22907  |  Link
kral2008
Registered User
 
Join Date: Apr 2014
Posts: 19
Quote:
Originally Posted by kuchikirukia View Post
Yes, an avisynth script with selecteven().
Though if you have old hardware I doubt you have a 4k monitor, so why not just reencode to 1080p?
could you explain more about Avisynth ? and how I can use it.
Re-encoding is not a good option as the Hardware is weak!
kral2008 is offline   Reply With Quote
Old 27th June 2018, 13:31   #22908  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 238
If decoding is the problem then avisynth or a skip fields deinterlacer wont help because this step is after the decoder.
nussman is offline   Reply With Quote
Old 27th June 2018, 13:41   #22909  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,750
Skipping the decoding of every second frame is not a valid solution anyway, because modern video formats have complex dependencies between many frames, and simply not decoding one frame will cause decoding artifacts in all frames using just this skipped frame as a reference. In the best case, the skipped frame was a B frame in the middle of a dependency pyramide, using other references but not being reference itself; in the worst case, it was an IDR (or similar) frame, a start of a whole GOP.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 27th June 2018 at 13:44.
LigH is online now   Reply With Quote
Old 27th June 2018, 15:09   #22910  |  Link
kral2008
Registered User
 
Join Date: Apr 2014
Posts: 19
Quote:
Originally Posted by LigH View Post
Skipping the decoding of every second frame is not a valid solution anyway, because modern video formats have complex dependencies between many frames, and simply not decoding one frame will cause decoding artifacts in all frames using just this skipped frame as a reference. In the best case, the skipped frame was a B frame in the middle of a dependency pyramide, using other references but not being reference itself; in the worst case, it was an IDR (or similar) frame, a start of a whole GOP.
This's a very precise answer.
Thank you so much. Yeah, I didn't consider this. yeah. This can cause serious problems. You are right.
kral2008 is offline   Reply With Quote
Old 6th July 2018, 03:17   #22911  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
nevcairiel, with the recent TrueHD changes you released in 0.70.2, I've noticed that every now and then, pausing playback makes TrueHD bistreaming stop working. Resuming playback results in no sound and my receiver no longer recognizes the TrueHD stream as being passed through. The only way I can fix it is to stop/start playback (I presume this unloads/reloads all the DirectShow filters).

Is there some kind of logging or debugging I can enable to determine the culprit?

Edit: actually, resuming the playback after it was paused for several minutes (right after I noticed the issue) seemed to have fixed it. However, would still like to get to the bottom of this as it has been happening frequently with the latest version.

Last edited by Snowknight26; 6th July 2018 at 03:22.
Snowknight26 is offline   Reply With Quote
Old 6th July 2018, 09:46   #22912  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
Pausing bitstreaming is always a bit of an issue, because the AVR loses the bitstream sync no matter what you do, and specifically in DirectShow as well, because the audio decoder doesn't really control any of that. The renderer might still be buffering data, so even if the decoder tries to reset the bitstream on un-pause, there is no guarantee that it would work.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 8th July 2018, 13:39   #22913  |  Link
glith
Registered User
 
Join Date: Sep 2011
Location: Karlskrona/Sweden
Posts: 7
Isnt it possible to continue sending empty bitsteam packets during pause to keep the sync?
glith is offline   Reply With Quote
Old 8th July 2018, 13:56   #22914  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Quote:
Originally Posted by Snowknight26 View Post
nevcairiel, with the recent TrueHD changes you released in 0.70.2, I've noticed that every now and then, pausing playback makes TrueHD bistreaming stop working. Resuming playback results in no sound and my receiver no longer recognizes the TrueHD stream as being passed through. The only way I can fix it is to stop/start playback (I presume this unloads/reloads all the DirectShow filters).

Is there some kind of logging or debugging I can enable to determine the culprit?

Edit: actually, resuming the playback after it was paused for several minutes (right after I noticed the issue) seemed to have fixed it. However, would still like to get to the bottom of this as it has been happening frequently with the latest version.
Can you try MPC-BE with internal filters ?
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 8th July 2018, 14:21   #22915  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
Quote:
Originally Posted by glith View Post
Isnt it possible to continue sending empty bitsteam packets during pause to keep the sync?
Thats something the audio renderer would have to do, a decoder like LAV Audio cannot do this, because the audio renderer no longer accepts data in pause mode.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 19th July 2018, 12:08   #22916  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by Aleksoid1978 View Post
Can you try MPC-BE with internal filters ?
Latest stable didn't seem to have any issues, latest nightly produced no sound.
Snowknight26 is offline   Reply With Quote
Old 19th July 2018, 19:09   #22917  |  Link
BDFan
Registered User
 
Join Date: Aug 2017
Posts: 19
Hi nevcairiel!
Quote:
Originally Posted by BDFan
D3D11 doesn't work with the nVidia Optimus on Intel GPU if in the nVidia control panel selected nVidia GPU.
http://i99.fastpic.ru/big/2018/0117/...fb41dc2bf4.jpg
DXVA Checker shows that D3D11 enable on Intel GPU if in the nVidia control panel selected nVidia GPU.
http://i99.fastpic.ru/big/2018/0117/...8582c9261e.jpg
Quote:
Originally Posted by nevcairiel
Optimus is generally just not supported. Use it at your own discression, but don't expect anything to work. I do not provide support for such setups because they are impossible.
Quote:
Originally Posted by nevcairiel
LAV has no control over what hardware is available. It'll just try to use it. If its unavailable due to Optimus, there is nothing I can do about that.
PotPlayer internal D3D11 Copy-Back video decoder works great with Optimus.
Proof.


LAV video decoder bug.
Please fix it!

Last edited by BDFan; 19th July 2018 at 19:13.
BDFan is offline   Reply With Quote
Old 19th July 2018, 20:48   #22918  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
All
Is any way (incl. using not LAV Filters but another video decoder - I tried Cyberlink, Elecard and Mainconcept with no success - or/and may be splitter) to watch properly (as TVsets does) h265 50(60)fps with normal horizontal resolution 720 in case of SD and 1920 in case of HD but half vertical resolution (so each frame is just field but not full frame) - in SD it's 288 instead of 576 and in HD it's 544 instead of 1088?
For example Zee TV20180716-203544.ts (24MB) https://disk.yandex.ru/i/5iZbCc3LRL8SKw - logo of the channel is blinking now when I set correct aspect ratio - important thing - it's realy 4:3 channel because of circle over ZEE TV (same channel in h264 broadcasting by another Russian provider is 4:3 too and logo is monolith).
I think must be such Force weave option somewhere - am I wrong?

Last edited by VictorLS; 24th February 2021 at 19:26.
VictorLS is offline   Reply With Quote
Old 19th July 2018, 21:02   #22919  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,750
Seems you want to have only either the odd or the even fields displayed, skipping the opposite field.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is online now   Reply With Quote
Old 19th July 2018, 21:20   #22920  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
LigH
No, because vertical sharpness and fluent playing will be lost. I want get from ZEE TV example 720x576p50 without flickers - maximum quality on PC as on TVsets.
VictorLS 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:04.


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