stoth68000 / h264encoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# LICENSE

	GPL-V2

## Dependencies

## Compilation
    ./autogen.sh --build
    ./configure 
    make

## Dependencies
* libavformat, libavutils, libav....

## Making Documentation:
To make doxygen documentation in the doxygen folder, run the following command:

        make docs

To view the documentation, cd into the doxygen/html/ directory and open the index.html file in a browser window.


# Notes

export LD_LIBRARY_PATH=/usr/local/lib

# Convert YUY2 to a bmp for debug viewing
convert -size 1280x768 pal:1280x768.000047_yuy2.bin new.bmp

# Convert BMP to YOU2 for static fixed frames
convert NTSC_Test_Pattern.bmp -size 720x480 pal:outputfile.bin
hexdump -vC outputfile.bin | cut -c11-58 | sed 's!  ! !g' | sed 's! !, 0x!g' | sed 's!$!,!g' | sed 's!^!0x!g' >array.c

# Try h264encoder using the IPCVIDEO PIPELINE, output nals to a temporary file (-o)
./h264encoder -W 1280 -H 768 -i 192.168.0.67 -p 9998 -b 3000000 -M 1 -f 30 -o stream.nals

# Use valgrind on h264encoder
valgrind --tool=memcheck ./h264encoder -W 1280 -H 768 -i 192.168.0.80 -p 9998 -b 3000000 -M 1 -f 30

# Testing the h264encoder with V4L
h264encoder -W 720 -H 480 -i 192.168.0.67 -p 9998 -b 3000000 -M0 -o stream.nals

# V4L Testing with Motion Adaption Deinterlacing
h264encoder -d /dev/video0 -I0 -W 720 -H 480 -i 192.168.0.67 -p 9998 -b 3000000 -M0 -o stream.ma.nals -D1

# V4L Testing with video quality settings
h264encoder -d /dev/video0 -I0 -W 720 -H 480 -i 192.168.0.67 -p 9998 -b 1500000 -M0 -o stream.ma.nals --initial_qp=20 --minimal_qp=0

About


Languages

Language:C 98.6%Language:C++ 0.7%Language:M4 0.6%Language:Shell 0.1%Language:Makefile 0.0%