Brak opisu

Maxime Ripard e08d5e631d h264: Update the H264 control headers 4 lat temu
src e08d5e631d h264: Update the H264 control headers 4 lat temu
.gitignore c1aef81b18 gitignore: Update autoconf header name 7 lat temu
AUTHORS c37fd7cd9d Initial libva-dump commit, allowing to dump metadata and slices from videos 7 lat temu
COPYING c37fd7cd9d Initial libva-dump commit, allowing to dump metadata and slices from videos 7 lat temu
Makefile.am cbe8c6fec1 Cleanup automake files 7 lat temu
README 737f30d098 README: Add documentation about the generated output 7 lat temu
autogen.sh c37fd7cd9d Initial libva-dump commit, allowing to dump metadata and slices from videos 7 lat temu
configure.ac f2732f7bbc Remove unused X11 dependency 6 lat temu

README

# libva-dump

libva-dump allows dumping metadata and slices from videos.

## Usage

To get started with libva-dump, a video player that supports VAAPI is required,
such as VLC. Specific environment variables need to be set in order to use and
configure the backend:
* LIBVA_DRIVER_NAME: the libVA backend to use, must be set to "dump"
* DUMP_COUNT: the number of frames to dump (defaults to 3 if unspecified)

## Example script

An example script that takes the video to dump as first argument follows:
```
#!/bin/sh

export LIBVA_DRIVER_NAME=dump
export DUMP_COUNT=250
vlc "$1" > frames.h
```

## Output

libva-dump will save dumped slices in the current directory, named following the
"slice-%d.dump" format. This can be modified in `src/dump.c` if needed.