Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
gozfree committed Dec 23, 2018
1 parent 60e3f9f commit 3be124c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ Meaning fast, robust, intelligent, and good eyesight.
Aquila codebase is mainly LGPL-licensed with optional components licensed under
GPL. Please refer to the LICENSE file for detailed information.

## Usage

generate 264/yuv file from mp4

ffmpeg -i sample.mp4 -ss 0:0:00 -t 0:0:01 -vcodec h264 -s 320x240 -f m4v sample.264
ffmpeg -i sample.264 -s 320x240 -pix_fmt yuv422p sample_yuv422p.yuv
ffplay -f rawvideo -pix_fmt yuv422p -video_size 320x240 sample_yuv422p.yuv

## Framework

```
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions config/ffmpeg.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
rtmp upstream:
ffmpeg -re -f v4l2 -i /dev/video0 -vcodec libx264 -f flv rtmp://127.0.0.1/live/livestream

generate 264/yuv file from mp4:
ffmpeg -i sample.mp4 -ss 0:0:00 -t 0:0:01 -vcodec h264 -s 320x240 -f m4v sample.264
ffmpeg -i sample.264 -s 320x240 -pix_fmt yuv422p sample_yuv422p.yuv
ffplay -f rawvideo -pix_fmt yuv422p -video_size 320x240 sample_yuv422p.yuv




AVPacket: store compressed data

AVFrame: decoded(raw) data
5 changes: 0 additions & 5 deletions rtmp.cmd

This file was deleted.

0 comments on commit 3be124c

Please sign in to comment.