8000 GitHub - ville-k/gradient-mechanics
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ville-k/gradient-mechanics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradient Mechanics

Benchmarks

HuggingFace Image Dataset

uv run python src/tests/benchmark_huggingface_images.py

Video Dataset

uv run python src/tests/benchmark_video_dataset.py data/humming_bird_1s.mp4

Transcoding

Keyframes Only

ffmpeg -i data/humming_bird_1s.mp4 -c:v libx264 -x264-params keyint=1:scenecut=0 -crf 18 data/humming_bird_1s_keyframes_only.mp4

Inspect Encoding

ffprobe -loglevel error -select_streams v:0 -show_entries frame=pict_type -of default=noprint_wrappers=1 data/humming_bird_1s_keyframes_only.mp4

Terminology:

  • I-frame is a key frame. Decoding a keyframe is not dependent on other frames.
  • P-frame is a predicted frame. It is dependent on an preceding frame.
  • B-frame is a bi-directional predicted frame. It depends on a preceding and a succeeding frame.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0