File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ pip install -r requirements.txt
1010python setup.py install
1111````
1212
13+ ** install from pip**
14+
15+ ````
16+ sudo pip install qencode
17+ ````
18+
1319** Usage**
1420
1521````
Original file line number Diff line number Diff line change @@ -81,26 +81,22 @@ VIDEO_CODEC = qencode.x264_video_codec()
8181DESTINATION.url = "..."
8282DESTINATION.key = "..."
8383DESTINATION.secret = "..."
84- DESTINATION.remove_null_params()
8584
8685VIDEO_CODEC.vprofile = "baseline"
8786VIDEO_CODEC.level = 31
8887VIDEO_CODEC.coder = 0
8988VIDEO_CODEC.flags2 = "-bpyramid+fastpskip-dct8x8"
9089VIDEO_CODEC.partitions = "+parti8x8+parti4x4+partp8x8+partb8x8"
9190VIDEO_CODEC.directpred = 2
92- VIDEO_CODEC.remove_null_params()
9391
9492STREAM.profile = "baseline"
9593STREAM.size = "1920x1080"
9694STREAM.audio_bitrate = 128
9795STREAM.video_codec_parameters = VIDEO_CODEC
98- STREAM.remove_null_params()
9996
10097FORMAT.stream = [STREAM]
10198FORMAT.output = "advanced_hls"
10299FORMAT.destination = DESTINATION
103- FORMAT.remove_null_params()
104100
105101params.source = 'your source url'
106102params.format = [FORMAT]
You can’t perform that action at this time.
0 commit comments