This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
INRES="1600x900" # input resolution | |
OUTRES="1600x900" # output resolution | |
FPS="10" # target FPS | |
GOP="20" # i-frame interval, should be double of FPS, | |
THREADS="4" # max 6 | |
CBR="1300k" # constant bitrate (should be between 1000k - 3000k) | |
QUALITY="veryfast" # one of the many FFMPEG preset | |
STREAM_KEY="foo" | |
SERVER="rtmp://eumedia1.livecoding.tv:1935/livecodingtv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Bicycle industry classes | |
class Bike_shop(object): | |
def __init__(self, name, inventory = None): | |
self.name = name | |
self.margin = 0.2 | |
if None == inventory: | |
self.inventory = [] | |
else: | |
self.inventory = inventory |
OlderNewer