tail -n1 %s
ffmpeg -ss %o -i - -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast -threads 0 -
#!/bin/bash
# inurl: services.m3u input URL
# outpath: output directory
inurl=http://dm8000.private/web/services.m3u?bRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.dbe00.tv%22%20ORDER%20BY%20bouquet
outpath="/Volumes/LaCie/iDocs TV Bouquets/iDocs TV"
cd "$outpath"
rm -f *.tv
curl "$inurl" -s | while read line
do
token=$(echo $line | cut -f1 -d,)
sender=$(echo $line | cut -f2 -d, | tr '/' ' ')
if [ "$token" == "#EXTINF:-1" ]; then
read line
printf "Madsonic Stream URL for $sender generated $(date)\n$line\n" > "$outpath/$sender.tv"
fi
done
ffmpeg -i - -async 1 -b:v %bk -analyzeduration 4000 -probesize 10000 -ar 44100 -ac 2 -vcodec libx264 -preset ultrafast -acodec libmp3lame -loglevel info -threads 4 -filter:v yadif -f flv -
sudo port upgrade --enforce-variants x264 +asm
ffmpeg version 2.1.git-a044a18 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 7 2014 14:10:02 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-gnutls --enable-libfreetype --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfaac
libavutil 52. 56.100 / 52. 56.100
libavcodec 55. 45.100 / 55. 45.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 3. 92.100 / 3. 92.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Video not found or access denied: /stream?id=...
#EXTM3U
#EXTVLCOPT--http-reconnect=true
http://192.168.0.5:31344
[2014-02-21 16:03:31,824] INFO PlayQueueInputStream - admin listening to "Streams/stream-31344.tv"
[2014-02-21 16:03:34,738] INFO PlayQueueInputStream - admin listening to "Streams/stream-31344.tv"
[2014-02-21 16:05:19,481] INFO PlayQueueInputStream - admin listening to "Streams/Family.Guy.S12E09.mp4"
[2014-02-21 16:05:19,509] DEBUG TranscodeInputStream - Starting transcoder: [/home/ZikUser/madsonic/transcode/ffmpeg] [-ss] [0] [-i] [/mnt/5HD-Downloads/mp3/Streams/Family.Guy.S12E09.mp4] [-async] [1] [-b] [500k] [-s] [480x272] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
[2014-02-21 16:05:19,585] DEBUG InputStreamReaderThread - (/home/ZikUser/madsonic/transcode/ffmpeg) ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
[2014-02-21 16:05:19,585] DEBUG InputStreamReaderThread - (/home/ZikUser/madsonic/transcode/ffmpeg) built on Aug 12 2013 11:01:01 with gcc 4.2.1 20070831 patched [FreeBSD]
[2014-02-21 16:05:19,585] DEBUG InputStreamReaderThread - (/home/ZikUser/madsonic/transcode/ffmpeg) configuration: --
[2014-02-21 16:05:32,994] INFO PlayQueueInputStream - admin listening to "Streams/Family.Guy.S12E09.HDTV.x264-LOL.tv"
[2014-02-21 16:05:47,389] INFO PlayQueueInputStream - admin listening to "Streams/Family.Guy.S12E09.HDTV.x264-LOL.tv"
Madsonic Stream URL for 3sat HD generated Tue Jan 28 00:01:25 CET 2014
http://dm8000.private:8001/1:0:19:2B8E:3F2:1:C00000:0:0:0:
size.
[2014-02-21 20:37:54,455] DEBUG TranscodeInputStream - Starting transcoder: [/Library/Application Support/mads
onic/transcode/tail] [-n1] [/Volumes/LaCie/iDocs TV Bouquets/iDocs TV/3sat HD.tv]
[2014-02-21 20:37:54,468] DEBUG TranscodeInputStream - Starting transcoder: [/Library/Application Support/mads
onic/transcode/xargs] [curl] [-s]
[2014-02-21 20:37:54,481] DEBUG TranscodeInputStream - Starting transcoder: [/Library/Application Support/mads
onic/transcode/ffmpeg] [-i] [-] [-async] [1] [-b:v] [1000k] [-analyzeduration] [4000] [-probesize] [10000] [-a
r] [44100] [-ac] [2] [-vcodec] [libx264] [-preset] [ultrafast] [-acodec] [libmp3lame] [-loglevel] [info] [-thr
eads] [4] [-filter:v] [yadif] [-f] [flv] [-]
[2014-02-21 20:37:54,611] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffm
peg) ffmpeg version 2.1.git-a044a18 Copyright (c) 2000-2013 the FFmpeg developers
[2014-02-21 20:37:54,611] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffm
peg) built on Jan 7 2014 14:10:02 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
[2014-02-21 20:37:54,611] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffm
peg) configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libm
p3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --
enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-gnutls --enabl
e-libfreetype --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-
pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --ena
ble-libxvid --enable-nonfree --enable-libfaac
[2014-02-21 20:37:54,615] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffm
peg) libavutil 52. 56.100 / 52. 56.100
[2014-02-21 20:37:54,615] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffm
peg) libavcodec 55. 45.100 / 55. 45.100
[2014-02-21 20:37:54,615] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffm
peg) libavformat 55. 22.100 / 55. 22.100
[2014-02-21 20:37:54,615] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffm
peg) libavdevice 55. 5.102 / 55. 5.102
[2014-02-21 20:37:54,615] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffmpeg) libavfilter 3. 92.100 / 3. 92.100
[2014-02-21 20:37:54,615] DEBUG InputStreamReaderThread - (/Library/Application Support/madsonic/transcode/ffmpeg) libavresample 1. 1. 0 / 1. 1. 0
[2014-02-21 20:37:54,615] DEBUG InputStreamRea
All those commands must reside in the Madsonic transcoding folder (see explanation inside Madsonic UI).
Users browsing this forum: No registered users and 0 guests