Skip to content

Commit

Permalink
instruction on obtaining yuv files
Browse files Browse the repository at this point in the history
  • Loading branch information
tongdaxu committed Feb 29, 2020
1 parent e917fed commit 45e052a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion examples/README
Expand Up @@ -61,4 +61,12 @@ $ make yuv420_infiniteloop
$ ./yuv420_infiniteloop /dev/video1 akiyo_qcif.yuv 176 144 30

It can be viewed with:
$ ffplay devicename
$ ffplay devicename

The YUV format is for raw sequences, more samples can be obtained
from [here](http://trace.eas.asu.edu/yuv/). And they can be created using
ffmpeg like this:

$ ffmpeg -i inputfile.mp4 -c:v rawvideo outputfile.yuv

More details can be found in [ffmpeg wiki](https://github.com/stoyanovgeorge/ffmpeg/wiki/Encode-Raw-Video).

0 comments on commit 45e052a

Please sign in to comment.