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. |
19th July 2018, 21:39 | #22921 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
Sorry, I got confused by you even mentioning "half vertical resolution" at all. Now that I see the sample video, I understand the issue: This video has been encoded with fields like frames, but they are not handled like fields of interlaced video, instead like completely separate frames.
H.265 should be broadcasted as progressive content only. The original specs did not even mention interlacing, I believe to remember ... HEVC wanted to make it obsolete. Some encoders may still create "interlaced HEVC" treating fields separately. But these fields should still be organized as pairs making a whole frame. This is not the case in your sample. It looks like a result of AviSynth's SeparateFields() function. Decoders like LAV Filters don't recognize these frames as pairs of fields, so they won't offer a weave feature. This may require to process the video separately in e.g. AviSynth with Weave(), and then you should not re-encode the result as HEVC (H.265), instead as interlaced AVC (H.264) – if it is truly interlaced at all (I did not check that). _ Remark: 720 lines is still HD. SD is only up to 576 lines (conventional PAL). Last edited by LigH; 19th July 2018 at 21:42. |
19th July 2018, 22:01 | #22922 | Link | |
Registered User
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
|
Quote:
About 720 lines - if you read more carefully I meant not lines but columns Most of PAL channels has 720 horizontal resolution but I saw 768 and 544 to (anamorph or non-square pixels). Writing must be such Force weave option I meaning ~ AviSynth with Weave() but I want still have hardware acceleration of such files. I think one of the possible ways to get what I want is add ffdshow raw filter between decoder and renderer? Or may be nevcairiel just add one more Deinterlacing mode in LAV Video Decoder... Last edited by VictorLS; 19th July 2018 at 22:05. |
|
19th July 2018, 23:04 | #22923 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
The number of pixels per line is not really helpful. Depending on the aspect ratio common for the medium (e.g. DVD, SVCD, DVB, or deskewed), you can have PAL with 576 lines and 352 / 480 / 544 / 704 / 720 and even 768 or 1024 pixels. But you always need 576 lines for PAL, it might be interlaced.
Deinterlacing options will process pairs of fields to make frames. But it will not process pairs of frames. |
20th July 2018, 05:52 | #22924 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
the file is 50 FPS it can't be interlanced there is no spec for it.
an intelranced file needs 30 or 25 frames per sec. and the file is progressive flagged anyway a deintelrancer has nothing todo with it. and the file reports a AR of 40/11. so the file is incorrectly encoded or the file is incorrectly stored in the container. using WAEVE() turns an progressive file into an interlanced file why should lavfilter ever do this even more important why should an interlancer be added as an deinterlancer... |
20th July 2018, 06:04 | #22925 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
You just need to use Avisynth/Vapoursynth/Virtualdub2 to re-encode this horribly butchered encode. No one is going to add support for this. I have no idea why they didn't just use H.264 if they wanted interlaced; it would probably have been more efficient with MBAFF anyway.
|
20th July 2018, 14:20 | #22927 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
There is a ticket on the FFmpeg bug tracker about such HEVC files:
http://trac.ffmpeg.org/ticket/4141 |
20th July 2018, 14:29 | #22928 | Link | |
*****
Join Date: Feb 2005
Posts: 5,647
|
Quote:
|
|
20th July 2018, 14:43 | #22929 | Link | |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
Quote:
and i just said there is no spec for 50 FPS 100 fields yet and hopefully never will be. |
|
20th July 2018, 15:46 | #22930 | Link |
Registered User
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
|
I didn't say about 100 fields - I said about 50 full frames which must be get from "50 half vertical resolution frames" = "50 progressive fields" with same deinterlacing method like ordinary (352,480,544,704,720,768,1024)x576i50fields SD TV video from SAT
|
20th July 2018, 16:08 | #22931 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
sorry but i'm not going to discuss the basics of interlancing here. progressive fields...
the file is wrongly decoded or still wrongly created. it may get fix for software decoding but for hardware decoder not sure if anyone else than the GPU producer can fix this mess. i there even a spec for hardware interlanced HEVC decoding? |
20th July 2018, 16:24 | #22932 | Link | |
Registered User
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
|
Quote:
Perhaps because I believe answer on your question is NO, there isn't so SAT provider has to translate interlaced SD and FullHD video as serial "progressive half vertical resolution frames"=fields. And several people has modern TVset with internal SAT tuners (even with CI+) said all good with channels h265 like ZEE TV but nobody said PC plays that file well (with solid circle around ZEE TV logo) even if aspect ratio is right = 4:3...Why computer worse than TVsets? Last edited by VictorLS; 20th July 2018 at 16:50. |
|
20th July 2018, 17:28 | #22933 | Link |
Registered User
Join Date: Nov 2010
Posts: 238
|
SAT provider can translate interlaced SD and FullHD (fields) to HEVC (frames) by using a (good) deinterlacing filter.
"Reverse Deinterlacing" for "bad" deinterlacing" by Sat providers is not supported by GPU's nor LAV software. |
20th July 2018, 17:47 | #22934 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
clsid already postet everything we need to know: https://forum.doom9.org/showpost.php...ostcount=22970
|
20th July 2018, 20:40 | #22935 | Link |
Registered User
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
|
I agree - i.e. Vector Adaptive Deinterlacer - it's best way but one SAT provider decided to put more channels in one transponder, so we must to work with it as is...
Last edited by VictorLS; 20th July 2018 at 20:45. |
21st July 2018, 07:39 | #22936 | Link | |
Registered User
Join Date: Jul 2014
Location: Las Vegas
Posts: 177
|
Quote:
But with UHD HEVC (4k bluray) everything works. Optimus is broken in general. Doesn't even work with RemoteFX in Hyper-V. The whole idea of rendering on a separate gpu, then passing the data to the iGPU is disgusting. |
|
21st July 2018, 15:58 | #22938 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
I have no interest in supporting Optimus. Feel free to contribute patches if you think it's so easy and have access to such hardware.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
23rd July 2018, 18:38 | #22939 | Link | |
Registered User
Join Date: Jan 2007
Posts: 4
|
Hey Nev, getting an insecure connection warning from your site.
Quote:
|
|
23rd July 2018, 22:38 | #22940 | Link |
Registered User
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
|
https://ffmpeg.zeranoe.com/builds/ ffplay.exe x64 from ffmpeg-4.0.1-win64-static.zip plays Zee TV20180716-203544.ts (24MB) https://disk.yandex.ru/i/5iZbCc3LRL8SKw - from previous page https://forum.doom9.org/showthread.p...6191&page=1149 plays (without sound) that ts well using ffplay.exe -vf weave,yadif=1 "Zee TV20180716-203544.ts" string was given me by clever Russian guy so I hope it'll be not very hard to implement right decoding of such files in LAV Filters.
Last edited by VictorLS; 24th February 2021 at 19:28. |
Tags |
decoders, directshow, filters, splitter |
|
|