Examples usage of various codecs with FFMpeg.
- flac.sh : An Icecast Source Client
- for Windows (Cygwin is required)
- and macOS (
brew install ffmpeg
)
- another_examples.sh : Samples
- FFMpeg can push to Icecast2 in various formats: Opus/Vorbis/AAC/MP3
from django.core.management.commands.shell import Command as ShellCommand | |
import os | |
class Command(ShellCommand): | |
shells = ShellCommand.shells.append('ptpython') | |
def ptpython(self): | |
try: | |
# old ptpython |
m,s,c,p; | |
main(v){ | |
for(;~(v=getchar());p=v) | |
if(m) | |
m=v^47||p^42; | |
else if(s) | |
s=v!=10; | |
else if(p^47) | |
c+=v^9&&v^10; |
rsync (Everyone seems to like -z, but it is much slower for me)