Skip to content
/ avc2ts Public
forked from F5OEO/avc2ts

H264 encoder and mpeg transport stream encapsulator

License

Notifications You must be signed in to change notification settings

csdvb/avc2ts

This branch is 33 commits behind F5OEO/avc2ts:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9a98ffa · Jun 15, 2017

History

22 Commits
May 24, 2017
Jun 15, 2017
Jun 15, 2017
Jun 15, 2017
Jun 15, 2017
Jun 15, 2017
May 24, 2017
May 24, 2017
Jun 15, 2017
Jun 15, 2017
May 29, 2017
May 24, 2017
May 24, 2017
Jun 15, 2017
May 24, 2017

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

  • C++ 98.8%
  • Other 1.2%