blob: 452e0f34255aa7a807300d36e4504edbc3a66d53 (
plain)
- #!/bin/sh
- . `dirname "$0"`/../config.sh
- ffmpeg -y -nostdin \
- -i "http://ftp.uni-erlangen.de/cdn.media.ccc.de/broadcast/sendezentrum/h264-hd/31c3-sendezentrum-1013-de-Methodisch_inkorrekt_Die_falsche_42_hd.mp4" \
- -ac 2 \
- -filter_complex "
- [0:v] scale=$WIDTH:$HEIGHT,fps=$FRAMERATE [v] ;
- [0:a] aresample=$AUDIORATE [a]
- " \
- -map "[v]" -map "[a]" \
- -pix_fmt yuv420p \
- -c:v rawvideo \
- -c:a pcm_s16le \
- -f matroska \
- tcp://localhost:10000
|