SlideShare a Scribd company logo
1 of 31
Download to read offline
Reversibly Normalise Film Scans & Optimize Storage
The RAWcooked projectThe RAWcooked project
Data is never RAW.
Data is always cooked in a way or another.
Jérôme Martinez
FIAT/IFTA, October 2019
Open source software company focused on digital media
analysis. We work (different levels of involvement) on:
MediaInfo
Convenient unified display of the most relevant technical and tag data for video and audio
files
MediaConch
Implementation checker, policy checker, & reporter
QCTools
Helps users analyze and understand their digitized video files through use of audiovisual
analytics and filtering
BWF MetaEdit, AVI MetaEdit, MOV MetaEdit
Embedding, validating, and exporting of metadata
DV Analyzer
Checking presence of technical errors in DV captures
MediaArea
Raw A/V filesRaw A/V files
Huge size
(4K+ is there, can be 100 MB/frame, several TB per hour)
1 file per video frame (thousands of files in a directory)
Not playable as is by several players (VLC...)
So many DPX or TIFF format flavors
(interoperability issues)
FFV1FFV1
Lossless video compression format
Open source, patent free
Adopted by several archives
Being standardized (IETF)
Frames are divided by slices, with checksums
CompressionCompression
Example with 1 second at 24 fps 10-bit HD film on a 6-core
(12-thread) Skylake-X CPU:
24 DPX files (or in ZIP/TAR uncompressed): 189 MB
1 compressed ZIP file: 175 MB in 10 seconds
1 compressed LZMA2 file: 154 MB in 30 seconds
1 FFV1/MKV Intra 16-slice file: 105 MB in 1.5 seconds
Tests on SD 10-bit contentTests on SD 10-bit content
Sponsored by VIAA
On several TB of MXF/JP2k/PCM content
Different sources and kinds of material
E5-2698V3 (16 cores+HT, 2.3-3.6 GHz)
Tests on SD 10-bit contentTests on SD 10-bit content
Results vary depending on the content of files
From 0.4x to 2.4x (average 0.7x) real time/thread
(encoding/decoding)
From 0.7x to 16x (average 3.5x) the speed of JP2k
(FFmpeg)
Be er compression ratio by 2% compared to JP2k
(9% with additional FLAC audio compression)
h ps://viaa.be/files/a achments/.669/VIAA_Preservation_R
AdvantagesAdvantages
Open source and free (FFmpeg)
Package is 1.5-3x smaller than DPX/TIFF
Cheksum by "Cluster" (usually 1 second) at container
level
Cheksum by "Slice" (you choose how many per frame)
at video level
Files are natively playable by several players (VLC,
FFplay...)
Disadvantages of FFV1Disadvantages of FFV1
alonealone
You lose some metadata
(DPX/TIFF header: scan software, some colorimetry
info, film type, DPX time code, shu er angle, gamma...)
Complicated command line
But...
RAWcookedRAWcooked
Easy: just a short command line
"rawcooked YourDirectoryName"
Store DPX/TIFF headers/footers in a specific Matroska
a achment
Store other sidecar files as Matroksa a achments
Output is a single Matroska/FFV1/FLAC file
Encoding is reversible (bit-by-bit to original files)
"rawcooked YourMatroskaFileName.mkv"
Easy check of integrityEasy check of integrity
Check if the file is healthy
"rawcooked --check YourMatroskaFileName.mkv"
Check if DPX headers are conform to specs
"rawcooked --conch YourMatroskaFileName.mkv"
Add error correction codes while encoding the file
e.g. with overhead of 1.5%, you can lose 4 blocks every
252 blocks without losing any content
"rawcooked --ecc YourDirectoryName"
Fix the corrupted file
"rawcooked --fix YourMatroskaFileName.mkv"
Use caseUse case
Archive asks a digitilization to their supplier
Classic workflow with the scanner
+ "rawcooked --all YourDirectoryName"
Transport... (2x less file sizes, less costly)
Archive receives content & checks the integrity
(file health, DPX conformance...)
"rawcooked --check YourMatroskaFileName.mkv"
Archive can visually check the content with
e.g. VLC Media Player
Storage (cost divided by 2 due to compression)
Revert to exact original DPX if someone needs it
"rawcooked YourMatroskaFileName.mkv"
Supported input formatsSupported input formats
DPX/Raw: 8/10/12/16 bit, RGB/RGBA
TIFF/Raw: 16 bit, RGB
WAV/PCM: 16/24 bit, 1/2/6 channel, 44/48/96 kHz
AIFF/PCM: 16/24 bit, 1/2/6 channel, 44/48/96 kHz
Based on files from our sponsors
More formats or format flavors on request
Our sponsorsOur sponsors
Our sponsorsOur sponsors
AV Preservation by reto.ch (main sponsor)
National Audiovisual Centre Luxembourg (CNA)
National Library of Norway
Irish Film Institute (IFI)
Northwest University Library
National Library of Wales
Walter J. Brown Media Archives
The MediaPreserve
British Film Institute
Financial sustainabilityFinancial sustainability
Open source code provided without lock to sponsors
Deliveries on our website are with a lock
DPX 8/10 bit RGB & WAV 2ch 48kHz flavors are usable
by default
We provide a key for other format flavors and features
(temporary key possible)
1000 € for first flavor/feature
+ 500 € per additional flavor/feature
To be compared with storage cost saving
(storage cost divided by 2)
Potential improvementsPotential improvements
Speed improvement (GPU/SSE/AVX)?
Support of reels?
CFA/Bayer/RGGB support?
Graphical interface?
More input formats?
Stay in touchStay in touch
MediaArea: ,h ps://mediaarea.net @MediaArea_net
RAWcooked: h ps://MediaArea.net/RAWcooked
Jérôme Martinez: jerome@mediaarea.net
Slides: h ps://mediaarea.net/Events
License (except images): CC BY
Reto Kromer • AV Preservation by reto.ch
Champions of Value and Trust:
AV Archives in the all-media world
FIAT/IFTA, Dubrovnik, Croatia
22–25 October 2019
The missing piece of software
Reading
Reto Kromer: Matroska and FFV1: One File
Format for Film and Video Archiving?,
in «Journal of Film Preservation», n. 96 (April
2017), FIAF, Brussels, Belgium, p. 41–45
➔ https://retokromer.ch/publications/
JFP_96.html
Compression
• chroma subsampling
• uncompressed
• lossless compression
• lossy compression
• compressed-born
Chroma Subsampling
• 4:4:4
• 4:2:2
• 4:2:0 / 4:1:1
Uncompressed
+ data simpler to process
+ software runs faster
– bigger files
– slower writing, transmission and reading
Examples: TIFF, DPX, OpenEXR
Lossless Compression
+ smaller files
+ faster writing, transmission and reading
– data processing complexer
– software runs slower
Examples: JPEG 2000, FFV1
Lossy Compression
• optimised for postproduction
Examples: ProRes 422, DNxHD, ProRes 4444,
DNxHR
• optimised for access
Examples: H.264 (AVC), H.265 (HEVC),
AV1
Born-Compressed
• optimised for both image acquisition and
postproduction
Examples: CineForm RAW, ProRes RAW
Bayer
container:
• folder
• TAR
• ZIP
• MXF
• Matroska
codec:
• TIFF
• DPX
• JPEG 2000
• FFV1
• OpenEXR
• CineForm RAW
• ProRes RAW
avantages disavantages
TIFF
DPX
OpenEXR
data easier
to process bigger files
JPEG 2000
FFV1
smaller files data complexer
to process
RAWcooked
• encoding into Matroska (.mkv) using FFV1
video codec and FLAC audio codec
• all metadata preserved
• decoding with bit-by-bit reversibility
• possibility to embed sidecar files (e.g.
MD5, LUT, XML)
• compatibility with media players
AV Preservation by reto.ch
chemin du Suchet 5
1024 Écublens
Switzerland
Web: reto.ch
Twitter: @retoch
Email: info@reto.ch

More Related Content

What's hot

AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018 AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
Amazon Web Services Korea
 

What's hot (20)

Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
Spark + S3 + R3를 이용한 데이터 분석 시스템 만들기
 
Kinesis를 이용한 데이터 수집
Kinesis를 이용한 데이터 수집Kinesis를 이용한 데이터 수집
Kinesis를 이용한 데이터 수집
 
[DEVIEW 2021] 1000만 글로벌 유저를 지탱하는 기술과 사람들
[DEVIEW 2021] 1000만 글로벌 유저를 지탱하는 기술과 사람들[DEVIEW 2021] 1000만 글로벌 유저를 지탱하는 기술과 사람들
[DEVIEW 2021] 1000만 글로벌 유저를 지탱하는 기술과 사람들
 
Workflow Engines & Event Streaming Brokers - Can they work together? [Current...
Workflow Engines & Event Streaming Brokers - Can they work together? [Current...Workflow Engines & Event Streaming Brokers - Can they work together? [Current...
Workflow Engines & Event Streaming Brokers - Can they work together? [Current...
 
ZabbixによるAWS監視のコツ
ZabbixによるAWS監視のコツZabbixによるAWS監視のコツ
ZabbixによるAWS監視のコツ
 
画像ベース異常検知Amazon Lookout for Visionを使ってみよう
画像ベース異常検知Amazon Lookout for Visionを使ってみよう画像ベース異常検知Amazon Lookout for Visionを使ってみよう
画像ベース異常検知Amazon Lookout for Visionを使ってみよう
 
Deep Dive on Log Analytics with Elasticsearch Service
Deep Dive on Log Analytics with Elasticsearch ServiceDeep Dive on Log Analytics with Elasticsearch Service
Deep Dive on Log Analytics with Elasticsearch Service
 
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
Amazon SageMaker 모델 빌딩 파이프라인 소개::이유동, AI/ML 스페셜리스트 솔루션즈 아키텍트, AWS::AWS AIML 스...
 
AWS Black Belt Online Seminar 2017 AWS Shield
AWS Black Belt Online Seminar 2017 AWS ShieldAWS Black Belt Online Seminar 2017 AWS Shield
AWS Black Belt Online Seminar 2017 AWS Shield
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
 
動画配信プラットフォーム on AWS
動画配信プラットフォーム on AWS動画配信プラットフォーム on AWS
動画配信プラットフォーム on AWS
 
Transparency and Auditing on AWS
Transparency and Auditing on AWSTransparency and Auditing on AWS
Transparency and Auditing on AWS
 
Kinesis Analyticsの適用できない用途と、Kinesis Firehoseの苦労話
Kinesis Analyticsの適用できない用途と、Kinesis Firehoseの苦労話Kinesis Analyticsの適用できない用途と、Kinesis Firehoseの苦労話
Kinesis Analyticsの適用できない用途と、Kinesis Firehoseの苦労話
 
AWS Wavelength最新情報(2020/12)
AWS Wavelength最新情報(2020/12)AWS Wavelength最新情報(2020/12)
AWS Wavelength最新情報(2020/12)
 
AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWSAWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
 
SmartNews TechNight Vol.5 : SmartNews Ads の配信最適化の仕組みはどうなってるの? (エンジニア / SmartN...
SmartNews TechNight Vol.5 : SmartNews Ads の配信最適化の仕組みはどうなってるの? (エンジニア / SmartN...SmartNews TechNight Vol.5 : SmartNews Ads の配信最適化の仕組みはどうなってるの? (エンジニア / SmartN...
SmartNews TechNight Vol.5 : SmartNews Ads の配信最適化の仕組みはどうなってるの? (エンジニア / SmartN...
 
높은 가용성과 성능 향상을 위한 ElastiCache 활용 팁 - 임근택, SendBird :: AWS Summit Seoul 2019
높은 가용성과 성능 향상을 위한 ElastiCache 활용 팁 - 임근택, SendBird :: AWS Summit Seoul 2019 높은 가용성과 성능 향상을 위한 ElastiCache 활용 팁 - 임근택, SendBird :: AWS Summit Seoul 2019
높은 가용성과 성능 향상을 위한 ElastiCache 활용 팁 - 임근택, SendBird :: AWS Summit Seoul 2019
 
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018 AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
 
Optimize Your SQL Server Licenses on Amazon Web Services (DAT210) - AWS re:In...
Optimize Your SQL Server Licenses on Amazon Web Services (DAT210) - AWS re:In...Optimize Your SQL Server Licenses on Amazon Web Services (DAT210) - AWS re:In...
Optimize Your SQL Server Licenses on Amazon Web Services (DAT210) - AWS re:In...
 
【IVS CTO Night & Day】AWS Media Services
【IVS CTO Night & Day】AWS Media Services【IVS CTO Night & Day】AWS Media Services
【IVS CTO Night & Day】AWS Media Services
 

Similar to MARTINEZ KROMER RAWCooked

02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming
tarensi
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
Videoguy
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
Videoguy
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
Videoguy
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
Videoguy
 
Windows7: Video Improvements
Windows7: Video ImprovementsWindows7: Video Improvements
Windows7: Video Improvements
wonderu
 
4/27/10 meeting
4/27/10 meeting4/27/10 meeting
4/27/10 meeting
ComcastSFL
 

Similar to MARTINEZ KROMER RAWCooked (20)

Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)Preserving Audiovisual Materials (LIS 198-Digital Preservation)
Preserving Audiovisual Materials (LIS 198-Digital Preservation)
 
Slide
SlideSlide
Slide
 
Chap62
Chap62Chap62
Chap62
 
02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming02.m3 cms sys-req4mediastreaming
02.m3 cms sys-req4mediastreaming
 
Michel Merten; Digitaliseren van video
Michel Merten; Digitaliseren van videoMichel Merten; Digitaliseren van video
Michel Merten; Digitaliseren van video
 
FFMPEG TOOLS
FFMPEG TOOLSFFMPEG TOOLS
FFMPEG TOOLS
 
Codecs
CodecsCodecs
Codecs
 
KROMER RawCooked - missing piece of the software
KROMER RawCooked - missing piece of the softwareKROMER RawCooked - missing piece of the software
KROMER RawCooked - missing piece of the software
 
Codecs
CodecsCodecs
Codecs
 
Dcp
DcpDcp
Dcp
 
How to manage the wide diversity of file formats for ingest, archiving and de...
How to manage the wide diversity of file formats for ingest, archiving and de...How to manage the wide diversity of file formats for ingest, archiving and de...
How to manage the wide diversity of file formats for ingest, archiving and de...
 
Video formats
Video formatsVideo formats
Video formats
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Are you Digitized Files Really OK? Levels of QC and Film Digitization (SCHALL...
Are you Digitized Files Really OK? Levels of QC and Film Digitization (SCHALL...Are you Digitized Files Really OK? Levels of QC and Film Digitization (SCHALL...
Are you Digitized Files Really OK? Levels of QC and Film Digitization (SCHALL...
 
Windows7: Video Improvements
Windows7: Video ImprovementsWindows7: Video Improvements
Windows7: Video Improvements
 
WEEK 1
WEEK 1WEEK 1
WEEK 1
 
4/27/10 meeting
4/27/10 meeting4/27/10 meeting
4/27/10 meeting
 

More from FIAT/IFTA

More from FIAT/IFTA (20)

2021 FIAT/IFTA Timeline Survey
2021 FIAT/IFTA Timeline Survey2021 FIAT/IFTA Timeline Survey
2021 FIAT/IFTA Timeline Survey
 
20211021 FIAT/IFTA Most Wanted List
20211021 FIAT/IFTA Most Wanted List20211021 FIAT/IFTA Most Wanted List
20211021 FIAT/IFTA Most Wanted List
 
WARBURTON FIAT/IFTA Timeline Survey results 2020
WARBURTON FIAT/IFTA Timeline Survey results 2020WARBURTON FIAT/IFTA Timeline Survey results 2020
WARBURTON FIAT/IFTA Timeline Survey results 2020
 
OOMEN MEZARIS ReTV
OOMEN MEZARIS ReTVOOMEN MEZARIS ReTV
OOMEN MEZARIS ReTV
 
BUCHMAN Digitisation of quarter inch audio tapes at DR (FRAME Expert)
BUCHMAN Digitisation of quarter inch audio tapes at DR (FRAME Expert)BUCHMAN Digitisation of quarter inch audio tapes at DR (FRAME Expert)
BUCHMAN Digitisation of quarter inch audio tapes at DR (FRAME Expert)
 
CULJAT (FRAME Expert) Public procurement in audiovisual digitisation at RTÉ
CULJAT (FRAME Expert) Public procurement in audiovisual digitisation at RTÉCULJAT (FRAME Expert) Public procurement in audiovisual digitisation at RTÉ
CULJAT (FRAME Expert) Public procurement in audiovisual digitisation at RTÉ
 
HULSENBECK Value Use and Copyright Comission initiatives
HULSENBECK Value Use and Copyright Comission initiativesHULSENBECK Value Use and Copyright Comission initiatives
HULSENBECK Value Use and Copyright Comission initiatives
 
WILSON Film digitisation at BBC Scotland
WILSON Film digitisation at BBC ScotlandWILSON Film digitisation at BBC Scotland
WILSON Film digitisation at BBC Scotland
 
GOLODNOFF We need to make our past accessible!
GOLODNOFF We need to make our past accessible!GOLODNOFF We need to make our past accessible!
GOLODNOFF We need to make our past accessible!
 
LORENZ Building an integrated digital media archive and legal deposit
LORENZ Building an integrated digital media archive and legal depositLORENZ Building an integrated digital media archive and legal deposit
LORENZ Building an integrated digital media archive and legal deposit
 
BIRATUNGANYE Shock of formats
BIRATUNGANYE Shock of formatsBIRATUNGANYE Shock of formats
BIRATUNGANYE Shock of formats
 
CANTU VT is TV The History of Argentinian Video Art and Television Archives P...
CANTU VT is TV The History of Argentinian Video Art and Television Archives P...CANTU VT is TV The History of Argentinian Video Art and Television Archives P...
CANTU VT is TV The History of Argentinian Video Art and Television Archives P...
 
BERGER RIPPON BBC Music memories
BERGER RIPPON BBC Music memoriesBERGER RIPPON BBC Music memories
BERGER RIPPON BBC Music memories
 
AOIBHINN and CHOISTIN Rehash your archive
AOIBHINN and CHOISTIN Rehash your archiveAOIBHINN and CHOISTIN Rehash your archive
AOIBHINN and CHOISTIN Rehash your archive
 
HULSENBECK BLOM A blast from the past open up
HULSENBECK BLOM A blast from the past open upHULSENBECK BLOM A blast from the past open up
HULSENBECK BLOM A blast from the past open up
 
PERVIZ Automated evolvable media console systems in digital archives
PERVIZ Automated evolvable media console systems in digital archivesPERVIZ Automated evolvable media console systems in digital archives
PERVIZ Automated evolvable media console systems in digital archives
 
AICHROTH Systemaic evaluation and decentralisation for a (bit more) trusted AI
AICHROTH Systemaic evaluation and decentralisation for a (bit more) trusted AIAICHROTH Systemaic evaluation and decentralisation for a (bit more) trusted AI
AICHROTH Systemaic evaluation and decentralisation for a (bit more) trusted AI
 
VINSON Accuracy and cost assessment for archival video transcription methods
VINSON Accuracy and cost assessment for archival video transcription methodsVINSON Accuracy and cost assessment for archival video transcription methods
VINSON Accuracy and cost assessment for archival video transcription methods
 
LYCKE Artificial intelligence, hype or hope?
LYCKE Artificial intelligence, hype or hope?LYCKE Artificial intelligence, hype or hope?
LYCKE Artificial intelligence, hype or hope?
 
AZIZ BABBUCCI Let's play with the archive
AZIZ BABBUCCI Let's play with the archiveAZIZ BABBUCCI Let's play with the archive
AZIZ BABBUCCI Let's play with the archive
 

Recently uploaded

Recently uploaded (20)

Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
JHARSUGUDA CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JHARSUGUDA ESCORTS
JHARSUGUDA CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JHARSUGUDA ESCORTSJHARSUGUDA CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JHARSUGUDA ESCORTS
JHARSUGUDA CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JHARSUGUDA ESCORTS
 
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdf
 
Pre Engineered Building Manufacturers Hyderabad.pptx
Pre Engineered  Building Manufacturers Hyderabad.pptxPre Engineered  Building Manufacturers Hyderabad.pptx
Pre Engineered Building Manufacturers Hyderabad.pptx
 
ALWAR 💋 Call Girl 9827461493 Call Girls in Escort service book now
ALWAR 💋 Call Girl 9827461493 Call Girls in  Escort service book nowALWAR 💋 Call Girl 9827461493 Call Girls in  Escort service book now
ALWAR 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...
Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...
Chennai Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Av...
 
PARK STREET 💋 Call Girl 9827461493 Call Girls in Escort service book now
PARK STREET 💋 Call Girl 9827461493 Call Girls in  Escort service book nowPARK STREET 💋 Call Girl 9827461493 Call Girls in  Escort service book now
PARK STREET 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
KOTA 💋 Call Girl 9827461493 Call Girls in Escort service book now
KOTA 💋 Call Girl 9827461493 Call Girls in  Escort service book nowKOTA 💋 Call Girl 9827461493 Call Girls in  Escort service book now
KOTA 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Home Furnishings Ecommerce Platform Short Pitch 2024
Home Furnishings Ecommerce Platform Short Pitch 2024Home Furnishings Ecommerce Platform Short Pitch 2024
Home Furnishings Ecommerce Platform Short Pitch 2024
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
 
Solan Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Solan Call Girl Just Call 8084732287 Top Class Call Girl Service AvailableSolan Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Solan Call Girl Just Call 8084732287 Top Class Call Girl Service Available
 
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
 
SRI GANGANAGAR 💋 Call Girl 9827461493 Call Girls in Escort service book now
SRI GANGANAGAR 💋 Call Girl 9827461493 Call Girls in  Escort service book nowSRI GANGANAGAR 💋 Call Girl 9827461493 Call Girls in  Escort service book now
SRI GANGANAGAR 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 

MARTINEZ KROMER RAWCooked

  • 1. Reversibly Normalise Film Scans & Optimize Storage The RAWcooked projectThe RAWcooked project Data is never RAW. Data is always cooked in a way or another. Jérôme Martinez FIAT/IFTA, October 2019
  • 2. Open source software company focused on digital media analysis. We work (different levels of involvement) on: MediaInfo Convenient unified display of the most relevant technical and tag data for video and audio files MediaConch Implementation checker, policy checker, & reporter QCTools Helps users analyze and understand their digitized video files through use of audiovisual analytics and filtering BWF MetaEdit, AVI MetaEdit, MOV MetaEdit Embedding, validating, and exporting of metadata DV Analyzer Checking presence of technical errors in DV captures MediaArea
  • 3. Raw A/V filesRaw A/V files Huge size (4K+ is there, can be 100 MB/frame, several TB per hour) 1 file per video frame (thousands of files in a directory) Not playable as is by several players (VLC...) So many DPX or TIFF format flavors (interoperability issues)
  • 4. FFV1FFV1 Lossless video compression format Open source, patent free Adopted by several archives Being standardized (IETF) Frames are divided by slices, with checksums
  • 5. CompressionCompression Example with 1 second at 24 fps 10-bit HD film on a 6-core (12-thread) Skylake-X CPU: 24 DPX files (or in ZIP/TAR uncompressed): 189 MB 1 compressed ZIP file: 175 MB in 10 seconds 1 compressed LZMA2 file: 154 MB in 30 seconds 1 FFV1/MKV Intra 16-slice file: 105 MB in 1.5 seconds
  • 6. Tests on SD 10-bit contentTests on SD 10-bit content Sponsored by VIAA On several TB of MXF/JP2k/PCM content Different sources and kinds of material E5-2698V3 (16 cores+HT, 2.3-3.6 GHz)
  • 7. Tests on SD 10-bit contentTests on SD 10-bit content Results vary depending on the content of files From 0.4x to 2.4x (average 0.7x) real time/thread (encoding/decoding) From 0.7x to 16x (average 3.5x) the speed of JP2k (FFmpeg) Be er compression ratio by 2% compared to JP2k (9% with additional FLAC audio compression) h ps://viaa.be/files/a achments/.669/VIAA_Preservation_R
  • 8. AdvantagesAdvantages Open source and free (FFmpeg) Package is 1.5-3x smaller than DPX/TIFF Cheksum by "Cluster" (usually 1 second) at container level Cheksum by "Slice" (you choose how many per frame) at video level Files are natively playable by several players (VLC, FFplay...)
  • 9. Disadvantages of FFV1Disadvantages of FFV1 alonealone You lose some metadata (DPX/TIFF header: scan software, some colorimetry info, film type, DPX time code, shu er angle, gamma...) Complicated command line But...
  • 10. RAWcookedRAWcooked Easy: just a short command line "rawcooked YourDirectoryName" Store DPX/TIFF headers/footers in a specific Matroska a achment Store other sidecar files as Matroksa a achments Output is a single Matroska/FFV1/FLAC file Encoding is reversible (bit-by-bit to original files) "rawcooked YourMatroskaFileName.mkv"
  • 11. Easy check of integrityEasy check of integrity Check if the file is healthy "rawcooked --check YourMatroskaFileName.mkv" Check if DPX headers are conform to specs "rawcooked --conch YourMatroskaFileName.mkv" Add error correction codes while encoding the file e.g. with overhead of 1.5%, you can lose 4 blocks every 252 blocks without losing any content "rawcooked --ecc YourDirectoryName" Fix the corrupted file "rawcooked --fix YourMatroskaFileName.mkv"
  • 12. Use caseUse case Archive asks a digitilization to their supplier Classic workflow with the scanner + "rawcooked --all YourDirectoryName" Transport... (2x less file sizes, less costly) Archive receives content & checks the integrity (file health, DPX conformance...) "rawcooked --check YourMatroskaFileName.mkv" Archive can visually check the content with e.g. VLC Media Player Storage (cost divided by 2 due to compression) Revert to exact original DPX if someone needs it "rawcooked YourMatroskaFileName.mkv"
  • 13. Supported input formatsSupported input formats DPX/Raw: 8/10/12/16 bit, RGB/RGBA TIFF/Raw: 16 bit, RGB WAV/PCM: 16/24 bit, 1/2/6 channel, 44/48/96 kHz AIFF/PCM: 16/24 bit, 1/2/6 channel, 44/48/96 kHz Based on files from our sponsors More formats or format flavors on request
  • 15. Our sponsorsOur sponsors AV Preservation by reto.ch (main sponsor) National Audiovisual Centre Luxembourg (CNA) National Library of Norway Irish Film Institute (IFI) Northwest University Library National Library of Wales Walter J. Brown Media Archives The MediaPreserve British Film Institute
  • 16. Financial sustainabilityFinancial sustainability Open source code provided without lock to sponsors Deliveries on our website are with a lock DPX 8/10 bit RGB & WAV 2ch 48kHz flavors are usable by default We provide a key for other format flavors and features (temporary key possible) 1000 € for first flavor/feature + 500 € per additional flavor/feature To be compared with storage cost saving (storage cost divided by 2)
  • 17. Potential improvementsPotential improvements Speed improvement (GPU/SSE/AVX)? Support of reels? CFA/Bayer/RGGB support? Graphical interface? More input formats?
  • 18. Stay in touchStay in touch MediaArea: ,h ps://mediaarea.net @MediaArea_net RAWcooked: h ps://MediaArea.net/RAWcooked Jérôme Martinez: jerome@mediaarea.net Slides: h ps://mediaarea.net/Events License (except images): CC BY
  • 19. Reto Kromer • AV Preservation by reto.ch Champions of Value and Trust: AV Archives in the all-media world FIAT/IFTA, Dubrovnik, Croatia 22–25 October 2019 The missing piece of software
  • 20. Reading Reto Kromer: Matroska and FFV1: One File Format for Film and Video Archiving?, in «Journal of Film Preservation», n. 96 (April 2017), FIAF, Brussels, Belgium, p. 41–45 ➔ https://retokromer.ch/publications/ JFP_96.html
  • 21. Compression • chroma subsampling • uncompressed • lossless compression • lossy compression • compressed-born
  • 22. Chroma Subsampling • 4:4:4 • 4:2:2 • 4:2:0 / 4:1:1
  • 23. Uncompressed + data simpler to process + software runs faster – bigger files – slower writing, transmission and reading Examples: TIFF, DPX, OpenEXR
  • 24. Lossless Compression + smaller files + faster writing, transmission and reading – data processing complexer – software runs slower Examples: JPEG 2000, FFV1
  • 25. Lossy Compression • optimised for postproduction Examples: ProRes 422, DNxHD, ProRes 4444, DNxHR • optimised for access Examples: H.264 (AVC), H.265 (HEVC), AV1
  • 26. Born-Compressed • optimised for both image acquisition and postproduction Examples: CineForm RAW, ProRes RAW
  • 27. Bayer
  • 28. container: • folder • TAR • ZIP • MXF • Matroska codec: • TIFF • DPX • JPEG 2000 • FFV1 • OpenEXR • CineForm RAW • ProRes RAW
  • 29. avantages disavantages TIFF DPX OpenEXR data easier to process bigger files JPEG 2000 FFV1 smaller files data complexer to process
  • 30. RAWcooked • encoding into Matroska (.mkv) using FFV1 video codec and FLAC audio codec • all metadata preserved • decoding with bit-by-bit reversibility • possibility to embed sidecar files (e.g. MD5, LUT, XML) • compatibility with media players
  • 31. AV Preservation by reto.ch chemin du Suchet 5 1024 Écublens Switzerland Web: reto.ch Twitter: @retoch Email: info@reto.ch