Skip to content

Instantly share code, notes, and snippets.

@44213
44213 / Podcasts in OPUS transcodieren.md
Created September 16, 2021 13:23 — forked from TalusUnheil/Podcasts in OPUS transcodieren.md
Podcasts von MP3 und Vorbis in OPUS transkodieren

Podcasts von MP3 und Vorbis in OPUS transkodieren

Podcasts werden derzeit häufig im MP3-Format in Stereo mit 128-192 kbit/s ausgeliefert (etwas seltener findet man auch das datensparsamere OGG/Vorbis Format).

Bei Podcasts kann(!) jedoch ein datensparsameres Mono-Signal ausreichen

@44213
44213 / OPML_Podcasts.md
Last active September 16, 2021 13:28
Podcasts

OPML

OPML of podcasts. Often updates.

@44213
44213 / podcasts1.md
Created September 16, 2021 19:07 — forked from stefan2904/podcasts1.md
Podcasts #1 (public)

Stefan's Podcast List #1

Some random podcasts ... In some random order ...


Politk & Gesellschaft

Ganz offen gesagt

@44213
44213 / ffmpeg-commands.sh
Created September 17, 2021 19:51 — forked from rowe-morehouse/ffmpeg-commands.sh
ffmpeg commands.
# To extract the sound from a video and save it as MP3:
ffmpeg -i <video.mp4> -vn <sound>.mp3
# To convert frames from a video or GIF into individual numbered images:
ffmpeg -i <video.mpg|video.gif> <frame_%d.png>
# To combine numbered images (frame_1.jpg, frame_2.jpg, etc) into a video or GIF:
ffmpeg -i <frame_%d.jpg> -f image2 <video.mpg|video.gif>
# To quickly extract a single frame from a video at time mm:ss and save it as a 128x128 resolution image:
@44213
44213 / Shell_ffmpeg_stream.sh
Created September 18, 2021 08:43 — forked from Donmclean/Shell_ffmpeg_stream.sh
Shell Stream audio with ffmpeg
ffmpeg -re -i INPUT -acodec libmp3lame -ab 160k -ar 44100 -f rtp rtp://host:port
#list device audio & video inputs
ffmpeg -f avfoundation -list_devices true -i ""
#stream from device audio & video inputs to rtmp
ffmpeg -f avfoundation -framerate 30 -i "0:2" -vcodec libx264 -tune zerolatency -s 1440x900 -acodec libmp3lame -f flv -strict -1 rtmp://host:port
#stream from audio inputs ONLY to rtmp
ffmpeg -f avfoundation -framerate 30 -i ":2" -acodec libmp3lame -f flv -strict -1 rtmp://host:port/live/$stream_name

PERSONAL COMMAND LINE

FFMPEG :

Single source

ffmpeg.exe -i "input with spaces.mkv" -map 0:0 -map 0:1 \
    -c:a eac3 -ab 128k -ac 2 \
    -c:v libx264 -preset:v veryfast -tune:v animation -profile:v high -level:v 4.1 -b:v 3000k -strict -2 \
    -x264-params ref=4:subme=8:me_range=16:trellis=1:threads=18:lookahead_threads=3:bframes=3:keyint=240:keyint_min=24:rc_lookahead=50:ratetol=1.0:cplxblur=20.0:qblur=0.5 \

-vf "subtitles='input with spaces.mkv':si=0:force_style='Outline=1,Shadow=0'" output.mp4

@44213
44213 / VolumeDetect.md
Created September 18, 2021 08:43 — forked from xycui/VolumeDetect.md
Use ffmpeg to detect audio volume level. bat file included for easier interaction.

Detect the audio file volume with ffmpeg.

Require tools

  • ffmpeg: [Official site][1], [Download][2]

How to use

  1. Download ffmpeg from [link][2]
  2. Extract the ffmpeg.exe from zip package and copy to the directory contain the audio file
  3. Copy the volumeDetect.bat into the folder. (Just make sure the bat file and ffmpeg.exe are in the same directory)
  4. Doulbe click volumeDetect.bat and drag the file into the window.
  5. Press enter and get the result.
@44213
44213 / encoding-video.md
Created September 18, 2021 08:43 — forked from Vestride/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus

Install ffmpeg with ALL includes

brew install ffmpeg $(brew options ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ')

Cut video from 00:00:43 sec to 00:00:58 sec (15 sec duration).
Resize it to 720p.
Max quality options, but small size.

MP4

With audio:

@44213
44213 / README.md
Created September 18, 2021 08:44 — forked from keiya/README.md
How to broadcast to Icecast2 by using ffmpeg (FLAC,Opus,Vorbis,AAC,MP3/Windows, Mac)

FFMpeg to Icecast2 Streaming Samples

Examples usage of various codecs with FFMpeg.

Samples

  • 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