Skip to content
/ avc2ts Public

H264 encoder and mpeg transport stream encapsulator

License

Notifications You must be signed in to change notification settings

F5OEO/avc2ts

Folders and files

NameName
Last commit message
Last commit date
May 24, 2017
Mar 25, 2019
Jun 15, 2017
Mar 26, 2019
Apr 14, 2019
Apr 5, 2019
Mar 26, 2019
Oct 1, 2018
Oct 1, 2018
Oct 1, 2018
Oct 1, 2018
Jun 15, 2017
Sep 29, 2018
Sep 29, 2018
Mar 25, 2019
May 29, 2017
Oct 1, 2018
Oct 1, 2018
Dec 15, 2020
Oct 1, 2018

Repository files navigation

avc2ts

avc2ts is a H264 encoder and mpeg transport stream encapsulator for Raspberry Pi (Created by Evariste Courjaud F5OEO. Code is GPL)

Installation

$ ./preinstall.sh
$ make

H264 encoder and transport stream encapsulator

avc2ts -1.0.0
Usage:
rpi-avc2ts  -o OutputFile -b BitrateVideo -m BitrateMux -x VideoWidth  -y VideoHeight -f Framerate -n MulticastGroup [-d PTS/PCR][-v][-h] 
-o            path to Transport File Output 
-b            VideoBitrate in bit/s 
-m            Multiplex Bitrate (should be around 1.4 VideoBitrate)
-x            VideoWidth (should be 16 pixel aligned)
-y 	      VideoHeight (should be 16 pixel aligned)
-f            Framerate (25 for example)
-n 	      Multicast group (optionnal) example 230.0.0.1:10000
-d 	      Delay PTS/PCR in ms
-v	      Enable Motion vectors
-i	      IDR Period
-t		TypeInput {0=Picamera,1=InternalPatern,2=USB Camera,3=Rpi Display,4=VNC,5=ffmpeg}
-e 		Extra Arg:
			- For usb camera name of device (/dev/video0)
			- For VNC : IP address of VNC Server. Password must be datv
            - For ffmpeg : url or file to stream
-p 		Set the PidStart: Set PMT=PIDStart,Pidvideo=PidStart+1,PidAudio=PidStart+2
-s 		Set Servicename : Typically CALL
-h            help (print this help).
Example : ./avc2ts -o result.ts -b 1000000 -m 1400000 -x 640 -y 480 -f 25 -n 230.0.0.1:1000

About

H264 encoder and mpeg transport stream encapsulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages