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 19th July 2018, 21:39   #22921  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
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).
__________________

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

Last edited by LigH; 19th July 2018 at 21:42.
LigH is offline   Reply With Quote
Old 19th July 2018, 22:01   #22922  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
Quote:
Originally Posted by LigH View Post
This video has been encoded with fields like frames, but they are not handled like fields of interlaced video, instead like completely separate frames.
You're quite right.
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.
VictorLS is offline   Reply With Quote
Old 19th July 2018, 23:04   #22923  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 20th July 2018, 05:52   #22924  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
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...
huhn is offline   Reply With Quote
Old 20th July 2018, 06:04   #22925  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
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.
foxyshadis is offline   Reply With Quote
Old 20th July 2018, 12:59   #22926  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by huhn View Post
the file is 50 FPS it can't be interlanced there is no spec for it.
HEVC specs do allow interlacing. But AFAIK LAV+MPC-HC don't support it correctly. (Irregardless of whether or not his file is or isn't violating specs.)
sneaker_ger is offline   Reply With Quote
Old 20th July 2018, 14:20   #22927  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
There is a ticket on the FFmpeg bug tracker about such HEVC files:
http://trac.ffmpeg.org/ticket/4141
clsid is offline   Reply With Quote
Old 20th July 2018, 14:29   #22928  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Quote:
Originally Posted by BDFan View Post
PotPlayer internal D3D11 Copy-Back video decoder works great with Optimus.
The NVIDIA driver contrains profiles for various games/apps that specify which GPU is used. You can use NVIDIA Profile Inspector to customize/add profiles.
clsid is offline   Reply With Quote
Old 20th July 2018, 14:43   #22929  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
Quote:
Originally Posted by sneaker_ger View Post
HEVC specs do allow interlacing. But AFAIK LAV+MPC-HC don't support it correctly. (Irregardless of whether or not his file is or isn't violating specs.)
lovely is doesn't output 25 fps frames per sec with that it would be ok because the last step of decding is skipped?

and i just said there is no spec for 50 FPS 100 fields yet and hopefully never will be.
huhn is offline   Reply With Quote
Old 20th July 2018, 15:46   #22930  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
Quote:
Originally Posted by huhn View Post
and i just said there is no spec for 50 FPS 100 fields yet and hopefully never will be.
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
VictorLS is offline   Reply With Quote
Old 20th July 2018, 16:08   #22931  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
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?
huhn is offline   Reply With Quote
Old 20th July 2018, 16:24   #22932  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
Quote:
Originally Posted by huhn View Post
sorry but i'm not going to discuss the basics of interlancing here.
OK.
Quote:
Originally Posted by huhn View Post
still wrongly created.
Perhaps because I believe answer on your question
Quote:
Originally Posted by huhn View Post
is there even a spec for hardware interlanced HEVC decoding?
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.
VictorLS is offline   Reply With Quote
Old 20th July 2018, 17:28   #22933  |  Link
nussman
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.
nussman is offline   Reply With Quote
Old 20th July 2018, 17:47   #22934  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
clsid already postet everything we need to know: https://forum.doom9.org/showpost.php...ostcount=22970
huhn is offline   Reply With Quote
Old 20th July 2018, 20:40   #22935  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
Quote:
Originally Posted by nussman View Post
SAT provider can translate interlaced SD and FullHD (fields) to HEVC (frames) by using a (good) deinterlacing filter.
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.
VictorLS is offline   Reply With Quote
Old 21st July 2018, 07:39   #22936  |  Link
Arm3nian
Registered User
 
Join Date: Jul 2014
Location: Las Vegas
Posts: 177
Quote:
Originally Posted by BDFan View Post
PotPlayer internal D3D11 Copy-Back video decoder works great with Optimus.


LAV video decoder bug.
Please fix it!
With UHD AVC, neither iGPU or nvidia GPU decoding works with any of the methods.

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.
Arm3nian is offline   Reply With Quote
Old 21st July 2018, 15:55   #22937  |  Link
BDFan
Registered User
 
Join Date: Aug 2017
Posts: 19
Quote:
Originally Posted by Arm3nian View Post
Optimus is broken in general.
Good developers have no problems.
All players works, madVR works (window and exclusive mode), PotPlayer internal D3D11 decoder works, only LAV Filters fail.

Quote:
Originally Posted by Arm3nian View Post
With UHD
I dont have 4k TV. I dont know.
BDFan is offline   Reply With Quote
Old 21st July 2018, 15:58   #22938  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
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
nevcairiel is offline   Reply With Quote
Old 23rd July 2018, 18:38   #22939  |  Link
hobbs1
Registered User
 
Join Date: Jan 2007
Posts: 4
Hey Nev, getting an insecure connection warning from your site.

Quote:
files.1f0.de uses an invalid security certificate.

The certificate expired on Monday, July 23, 2018 7:08 AM. The current time is Monday, July 23, 2018 10:35 AM.

Error code: SEC_ERROR_EXPIRED_CERTIFICATE
hobbs1 is offline   Reply With Quote
Old 23rd July 2018, 22:38   #22940  |  Link
VictorLS
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.
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 21:54.


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