Author Topic: Dealing with Focus Pixels in raw video  (Read 312484 times)

dragonsfire1981

  • New to the forum
  • *
  • Posts: 13
Re: Dealing with Focus Pixels in raw video
« Reply #750 on: September 28, 2021, 10:33:16 AM »
Canon EOS M and Danne's June build I'm using.

I'll upload a still image shortly illustrating the problem.

So you're saying short h.264 clips sometimes do have the problem? Or did you mean to say "(share a clip) a short H.264 clip (which) has the problem"


>> also a short H.264 clip has the problem

@dragonsfire1981

Which camera, which build? share a image showing the problem, also a short H.264 clip has the problem

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 887
Re: Dealing with Focus Pixels in raw video
« Reply #751 on: September 28, 2021, 12:06:40 PM »
I meant to "share" short H.264 clip has the problem, just to make sure what kind of focus pixels you are having.

Actually I saw multiple EOS M users are reporting same problem with H.264 video with Danne build, most people didn't have the problem, it must be a quirk happening in specific cases, I don't have EOS M so can't test/help you much

This thread is about fixing focus pixels in RAW videos, you maybe want to report the problem in this thread:
https://www.magiclantern.fm/forum/index.php?topic=25781.0

In normal H.264 videos you shouldn't have focus pixels by default.
New custom build for 100D/SL1 is up:
https://www.magiclantern.fm/forum/index.php?topic=26511.msg239125#msg239125
Porting still work in progress!

dragonsfire1981

  • New to the forum
  • *
  • Posts: 13
Re: Dealing with Focus Pixels in raw video
« Reply #752 on: September 28, 2021, 12:40:32 PM »
Okay, that makes sense, and I'll report it to that thread shortly. I did see on another forum, referring to an older build that Zeek thinks it's something to do with the bitrate. Some of my h264 footage has no focus pixel problem whatsoever and I did change the bitrate a couple of times throughout the day so I'll run some tests to see what correlation i can find.

Can you reccommend, apart from the Vanilla nightly, what else is a most stable previous, recent ML build pherhaps where this problem is not known to occur?

I meant to "share" short H.264 clip has the problem, just to make sure what kind of focus pixels you are having.

Actually I saw multiple EOS M users are reporting same problem with H.264 video with Danne build, most people didn't have the problem, it must be a quirk happening in specific cases, I don't have EOS M so can't test/help you much

This thread is about fixing focus pixels in RAW videos, you maybe want to report the problem in this thread:
https://www.magiclantern.fm/forum/index.php?topic=25781.0

In normal H.264 videos you shouldn't have focus pixels by default.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7293
Re: Dealing with Focus Pixels in raw video
« Reply #753 on: September 28, 2021, 02:15:08 PM »
It's not known exactly what your issue is about so upload a file which clearly shows the issue before asking for other builds.

dragonsfire1981

  • New to the forum
  • *
  • Posts: 13
Re: Dealing with Focus Pixels in raw video
« Reply #754 on: September 28, 2021, 03:13:16 PM »
Hello Danne! Thanks for all the work you've done so far- really enjoyed learning to shoot RAW.

These are 3 stills taken from 3 bits of h264 footage. First two shots from the window of a train, third one the focus pixels a little fainter but can be seen on the pavement, I'll find a site to upload the videos shortly.   

https://ibb.co/kKWSbnB
https://ibb.co/mzkWn6s
https://ibb.co/WDJ9kPK







So far, from what I've gathered when I proactively select the H264 preset, it does not have the focus pixel problem. It's when the preset is not selected, and RAW video is turned off it seems to have that problem ie you can shoot h264 in more than one preset, but not having the h264 turned on seems to cause the problem.


It's not known exactly what your issue is about so upload a file which clearly shows the issue before asking for other builds.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7293
Re: Dealing with Focus Pixels in raw video
« Reply #755 on: September 28, 2021, 03:49:38 PM »
Ah, yes, now I know your issue. Look. My version originally was thought to only inherit raw video capabilities but after some consideration I decided to be able and use h264 mode. But by turning of raw video still won´t shut off crop rec presets so all those regs are still applied. Including focus pixel issues. The workaround is to enable h264 from within the preset menu here which also shuts off crop rec:

dragonsfire1981

  • New to the forum
  • *
  • Posts: 13
Re: Dealing with Focus Pixels in raw video
« Reply #756 on: September 28, 2021, 04:20:56 PM »
Thank you yes- I thought that was the workaround, I just shot three h264 clips with h264 preset applied and can confirm there are no focus pixels! Something else I was slightly confused by was that there are two levels of presets, level 1 when you press the set button (presets), and level 2 (startoff presets) when you press the play button. H264 isn't listed as a preset on the level 1 presets, so it seems like level 2 settings take precedence then?

Do you think in the next build, there may be a way that applies the h264 and crop shut off automatically when you turn off RAW video? Currently I think it confuses a few people as I saw on MLV Facebook group a few other people were getting this also.

It's a great build otherwise though!

The original h264 video clips for reference.

https://streamable.com/2fpvqm

https://streamable.com/o5ac0l

https://streamable.com/2fpvqm



Ah, yes, now I know your issue. Look. My version originally was thought to only inherit raw video capabilities but after some consideration I decided to be able and use h264 mode. But by turning of raw video still won´t shut off crop rec presets so all those regs are still applied. Including focus pixel issues. The workaround is to enable h264 from within the preset menu here which also shuts off crop rec:


Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7293
Re: Dealing with Focus Pixels in raw video
« Reply #757 on: September 28, 2021, 05:02:03 PM »
I won't change the behaviour, sorry.

gabriielangel

  • New to the forum
  • *
  • Posts: 34
Re: Dealing with Focus Pixels in raw video
« Reply #758 on: January 23, 2022, 09:17:09 PM »
Hello, Are there any focus pixel maps for the latest build's resolutions (5k frtp & 2.5k 1:1 crop)? I went to https://github.com/ilia3101/MLV-App/tree/5feaf45d38b82636fbfe12a8b941c9bf25ada1a9/pixel_maps  , but I could not find matching resolutions. Thanks!

clubsoda

  • New to the forum
  • *
  • Posts: 36
Re: Dealing with Focus Pixels in raw video
« Reply #759 on: June 04, 2022, 11:56:02 PM »
Hey Danne! So i have this issue too but in newer builds there is no h264 8bit preset to select. Is there a workaround or am i stuck with focus pixels in 8bit ? I am using Feb 04 build because it's the only build that wont cause glitches to the photos. Thanks :)

Ah, yes, now I know your issue. Look. My version originally was thought to only inherit raw video capabilities but after some consideration I decided to be able and use h264 mode. But by turning of raw video still won´t shut off crop rec presets so all those regs are still applied. Including focus pixel issues. The workaround is to enable h264 from within the preset menu here which also shuts off crop rec:


Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7293
Re: Dealing with Focus Pixels in raw video
« Reply #760 on: June 05, 2022, 07:46:57 AM »
Tapping screen gets me to h264 8bit. Not using old builds so better you show what is not working with newer builds and taking photos so we can try and fix that issue.


clubsoda

  • New to the forum
  • *
  • Posts: 36
Re: Dealing with Focus Pixels in raw video
« Reply #761 on: June 05, 2022, 05:22:57 PM »
Thanks so much ! That fixed it! Seems the h264 8bit won't show up on presets under movie tab only. When selected with tap on screen it shows up as preset 13. Works perfect though. The issue with newest builds is that photos have glitched blocks in the frame when in photo mode. I disabled most major tweaks but it didn't help. This affects the raw file and the jpeg.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7293
Re: Dealing with Focus Pixels in raw video
« Reply #762 on: June 05, 2022, 06:02:04 PM »
Glitched what? Can you upload a file?

clubsoda

  • New to the forum
  • *
  • Posts: 36
Re: Dealing with Focus Pixels in raw video
« Reply #763 on: June 05, 2022, 06:30:37 PM »
yes here you go with some files. jpeg looks same. latest build photo mode. It happens only sometimes not always. I tried to find out if there is a setting interfering but his is not the case as i tried all combinations on off and it happened either way and with a fresh build. checked my camera settings too. Nothing too unusual https://drive.google.com/drive/folders/1-phPVRWegzt-3icpb84Fjheh8gwHUler?usp=sharing

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7293
Re: Dealing with Focus Pixels in raw video
« Reply #764 on: June 05, 2022, 08:08:17 PM »
Maybe the sd card?
Try turning off sd_uhs patching? Not sure if it can be turned off though in this build.

clubsoda

  • New to the forum
  • *
  • Posts: 36
Re: Dealing with Focus Pixels in raw video
« Reply #765 on: June 05, 2022, 09:56:10 PM »
Ok so i tested further! SD is not the issue and the uhs speed hack neither. I disabled it and switched card. Still the same BUT: I found out that it likely happens when the ML Histrogram is enabled and it doesn't happen when it is disabled in the menu.  :o

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7293
Re: Dealing with Focus Pixels in raw video
« Reply #766 on: June 05, 2022, 10:51:06 PM »
Goid find. I never use histogram.