• FFmpegMC264Demo 1
  • FFmpegMC264Demo 2

FFmpegMC264Demo

This is a FFmpeg 4.0 android library demo built over android MediaCodec H/W Encoders(H.264, AAC).
You can use two new H/W codecs - mc264, mcaac - instead of libx264, aac.

--- github ---
https://github.com/iocaster/FFmpegMC264DemoApp

--- examples ---
ffmpeg -v 24 -re -i /sdcard/movie.avi -vcodec mc264 -b:v 2M -acodec mcaac -b:a 128k -f mpegts udp://192.168.123.181:5555?pkt_size=1316

ffmpeg -v 24 -probesize 0.3M -i rtsp://192.168.123.181/videodevice -vcodec mc264 -b:v 2.0M -r 30 -g 15 -an -max_muxing_queue_size 400 -f flv rtmp://192.168.1.7/show/stream2

ffmpeg -v 24 -probesize 0.3M -i rtsp://192.168.123.181/videodevice -vcodec mc264 -b:v 2.0M -r 30 -g 15 -an -max_muxing_queue_size 400 -f mpegts udp://192.168.123.181:5555?pkt_size=1316

Category : Tools

Related searches