#!/bin/bash
# nutze stream und erstelle eine taemporaere Datei von 10 sekunden laenge
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/500 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp1.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/501 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp2.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/502 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp3.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/503 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp4.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/504 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp5.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/505 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp6.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/506 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp7.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/507 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp8.mp4 &
ffmpeg -loglevel fatal -r 25 -analyzeduration 0 -thread_queue_size 512 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i http://odys:odys@127.0.0.1:9981/stream/channelnumber/508 -t 10 -vcodec copy -an -y /home/hts/timeshift/tmp9.mp4 &
exit

