Change to MatriVideo IVF Files

Changes mean video is no longer easy to deal with!

Over the past 6 months or so I have seen two or three different companies doing similar to what I have experienced here. I have not been able to get to the bottom of exactly why they have chosen to change their recording format but will endeavour to do so for the MatriVideo IVF Files.

In my previous post I detailed that the video player lacked a lot of functionality and that the video lost clarity when played back in the player. I also mentioned that the export transcoded it badly. Luckily the video was a standard H264 stream and as such we could get around all the problems.

Well, it turns out that things have changed and it would appear that the encoders have been upgraded.

In the original video streams, the H264/AVC format would be detected immediately through software such as MediaInfo and upon further analysis, a pixel format of yuv420p could be identified within the 704×576 recorded resolution.

In the new IVF files, the camera streams are no longer immediately detected as H264. By using FFprobe, the H264/AVC stream can be seen but it will not play back correctly. A newer pixel format of yuvj420p is being used within a full D1 720×576 recorded resolution.

I believe the change may have been brought on by the increase in luminance levels that the new pixel format allows. yuv420p uses the mpeg standard of ranges between 16 and 239. yuvj420p uses 0 through to 255.

It’s great that more levels are now available, resulting in more clarity in certain areas, but there is a downside……and it’s a very big one! We now cannot deal with the video outside of the player.

I am sure there is something more going on than just a pixel format change. There may be some slight encryption or modification. The file data, including the analysis of frame type, is still available through a FFprobe analysis but the video will not playback correctly. Tools such as FFmpeg can usually deal with this pixel format but not these.

The yuvj420p pixel format is the same as detailed here, and the same distortion occurs. Online research reveals a large amount of people struggling with the correct rendering of IP cameras that use the same Pixel Format.

The purpose of this post is to highlight this new change with IVF files and perhaps promote more research on this pixel format to enable easier analysis out of the manufacturers playback software.

Another problem IVF File from Instek

You can save a .txt file detailing all the Pixel Formats that FFmpeg can deal with by using the following line. It will save in the same folder as ffmpeg.

ffmpeg -pix_fmts>list-pixel-formats.txt

Pixel formats:

I…. = Supported Input format for conversion
.O… = Supported Output format for conversion
..H.. = Hardware accelerated format
…P. = Paletted format
….B = Bitstream format
FLAGS NAME NB_COMPONENTS BITS_PER_PIXEL
—–
IO… yuv420p 3 12
IO… yuyv422 3 16
IO… rgb24 3 24
IO… bgr24 3 24
IO… yuv422p 3 16
IO… yuv444p 3 24
IO… yuv410p 3 9
IO… yuv411p 3 12
IO… gray 1 8
IO..B monow 1 1
IO..B monob 1 1
I..P. pal8 1 8
IO… yuvj420p 3 12
IO… yuvj422p 3 16
IO… yuvj444p 3 24
..H.. xvmcmc 0 0
..H.. xvmcidct 0 0
IO… uyvy422 3 16
….. uyyvyy411 3 12
IO… bgr8 3 8
.O..B bgr4 3 4
IO… bgr4_byte 3 4
IO… rgb8 3 8
.O..B rgb4 3 4
IO… rgb4_byte 3 4
IO… nv12 3 12
IO… nv21 3 12
IO… argb 4 32
IO… rgba 4 32
IO… abgr 4 32
IO… bgra 4 32
IO… gray16be 1 16
IO… gray16le 1 16
IO… yuv440p 3 16
IO… yuvj440p 3 16
IO… yuva420p 4 20
..H.. vdpau_h264 0 0
..H.. vdpau_mpeg1 0 0
..H.. vdpau_mpeg2 0 0
..H.. vdpau_wmv3 0 0
..H.. vdpau_vc1 0 0
IO… rgb48be 3 48
IO… rgb48le 3 48
IO… rgb565be 3 16
IO… rgb565le 3 16
IO… rgb555be 3 15
IO… rgb555le 3 15
IO… bgr565be 3 16
IO… bgr565le 3 16
IO… bgr555be 3 15
IO… bgr555le 3 15
..H.. vaapi_moco 0 0
..H.. vaapi_idct 0 0
..H.. vaapi_vld 0 0
IO… yuv420p16le 3 24
IO… yuv420p16be 3 24
IO… yuv422p16le 3 32
IO… yuv422p16be 3 32
IO… yuv444p16le 3 48
IO… yuv444p16be 3 48
..H.. vdpau_mpeg4 0 0
..H.. dxva2_vld 0 0
IO… rgb444le 3 12
IO… rgb444be 3 12
IO… bgr444le 3 12
IO… bgr444be 3 12
I…. gray8a 2 16
IO… bgr48be 3 48
IO… bgr48le 3 48
IO… yuv420p9be 3 13
IO… yuv420p9le 3 13
IO… yuv420p10be 3 15
IO… yuv420p10le 3 15
IO… yuv422p10be 3 20
IO… yuv422p10le 3 20
IO… yuv444p9be 3 27
IO… yuv444p9le 3 27
IO… yuv444p10be 3 30
IO… yuv444p10le 3 30
IO… yuv422p9be 3 18
IO… yuv422p9le 3 18
..H.. vda_vld 0 0
IO… gbrp 3 24
IO… gbrp9be 3 27
IO… gbrp9le 3 27
IO… gbrp10be 3 30
IO… gbrp10le 3 30
I…. gbrp16be 3 48
I…. gbrp16le 3 48
IO… yuva420p9be 4 22
IO… yuva420p9le 4 22
IO… yuva422p9be 4 27
IO… yuva422p9le 4 27
IO… yuva444p9be 4 36
IO… yuva444p9le 4 36
IO… yuva420p10be 4 25
IO… yuva420p10le 4 25
IO… yuva422p10be 4 30
IO… yuva422p10le 4 30
IO… yuva444p10be 4 40
IO… yuva444p10le 4 40
IO… yuva420p16be 4 40
IO… yuva420p16le 4 40
IO… yuva422p16be 4 48
IO… yuva422p16le 4 48
IO… yuva444p16be 4 64
IO… yuva444p16le 4 64
..H.. vdpau 0 0
I…. rgba64be 4 64
I…. rgba64le 4 64
….. bgra64be 4 64
….. bgra64le 4 64
IO… 0rgb 3 24
IO… rgb0 3 24
IO… 0bgr 3 24
IO… bgr0 3 24
IO… yuva444p 4 32
IO… yuva422p 4 24
IO… yuv420p12be 3 18
IO… yuv420p12le 3 18
IO… yuv420p14be 3 21
IO… yuv420p14le 3 21
IO… yuv422p12be 3 24
IO… yuv422p12le 3 24
IO… yuv422p14be 3 28
IO… yuv422p14le 3 28
IO… yuv444p12be 3 36
IO… yuv444p12le 3 36
IO… yuv444p14be 3 42
IO… yuv444p14le 3 42
IO… gbrp12be 3 36
IO… gbrp12le 3 36
IO… gbrp14be 3 42
IO… gbrp14le 3 42

 
Advertisements
By Spreadys Posted in EEPIP

5 comments on “Change to MatriVideo IVF Files

  1. Pingback: IVF Files and MatriVideo Player | Spreadys Space

  2. Pingback: MatriVideo – Part 3! | Spreadys.com

  3. Hi Thank You so much for nice informative article.I have .ivf files taken from a DVR ,however none of the player or tool is able to play / convert them. Can you pls. help me with right tools? Mediainfo shows these are AVC codecs as appeared in your article as well.My email is (removed by admin).
    Thank you
    Regards
    kiran

  4. Hi there,
    If you have followed the workflow in the original post https://spreadys.wordpress.com/2013/02/18/ivf-files-and-matrivideo-player/
    and found that the Pixel Format is yuvJ420p then unfortunately I am yet to find a solution.
    You may also have come across one of these versions
    https://spreadys.wordpress.com/2013/10/12/matrivideo-part-3/
    Again, they cannot be dealt with.

    Instek Digital are on my ‘need to sort’ list!

    So, the bad news is, you either have to convert using their converter (which is rubbish and changes the aspect ratio) or screen capture using software or screen record using hardware.
    For large amounts of demonstrative only video I screen record directly into my NLE.

    Sorry I cant help any further, I will endeavor to get this going again and contact Instek for some guidance.

    • Hi
      Thank You so much for all the efforts and detailed explanation. Wish you will get success soon .This particular file has come to e fom loca; law enforcement agency .They have not given any softwares ,but your informative posts have given me ray of hope.
      Thanks again.

      Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s