File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 4
4
5
5
````
6
6
cd your-workspace-folder
7
- git clone https://github.com/qencode-dev/qencode-api-python -client
7
+ git clone https://github.com/qencode-dev/qencode-api-python3 -client
8
8
cd qencode-api-python-client
9
9
pip install -r requirements.txt
10
10
python setup.py install
@@ -13,5 +13,5 @@ python setup.py install
13
13
** install from pip**
14
14
15
15
````
16
- sudo pip install qencode
16
+ sudo pip install qencode3
17
17
````
Original file line number Diff line number Diff line change @@ -81,26 +81,22 @@ VIDEO_CODEC = qencode.x264_video_codec()
81
81
DESTINATION.url = "..."
82
82
DESTINATION.key = "..."
83
83
DESTINATION.secret = "..."
84
- DESTINATION.remove_null_params()
85
84
86
85
VIDEO_CODEC.vprofile = "baseline"
87
86
VIDEO_CODEC.level = 31
88
87
VIDEO_CODEC.coder = 0
89
88
VIDEO_CODEC.flags2 = "-bpyramid+fastpskip-dct8x8"
90
89
VIDEO_CODEC.partitions = "+parti8x8+parti4x4+partp8x8+partb8x8"
91
90
VIDEO_CODEC.directpred = 2
92
- VIDEO_CODEC.remove_null_params()
93
91
94
92
STREAM.profile = "baseline"
95
93
STREAM.size = "1920x1080"
96
94
STREAM.audio_bitrate = 128
97
95
STREAM.video_codec_parameters = VIDEO_CODEC
98
- STREAM.remove_null_params()
99
96
100
97
FORMAT.stream = [STREAM]
101
98
FORMAT.output = "advanced_hls"
102
99
FORMAT.destination = DESTINATION
103
- FORMAT.remove_null_params()
104
100
105
101
params.source = 'your source url'
106
102
params.format = [FORMAT]
Original file line number Diff line number Diff line change 8
8
9
9
setup (
10
10
name = 'qencode' ,
11
- version = '0.0.1 ' ,
11
+ version = '0.9 ' ,
12
12
description = 'Qencode Python SDK' ,
13
13
url = 'https://github.com/qencode-dev/qencode-api-python3-client' ,
14
14
# url=here,
You can’t perform that action at this time.
0 commit comments