3 NOM
=`wget -o /dev/null -O - "http://www.tv3.cat/su/tvc/tvcConditionalAccess.jsp?ID="$1"&QUALITY=H&FORMAT=MP4" |
4 grep media\ videoname= |
5 sed 's/.*videoname="//;s/".*//' |
6 iconv -f iso-8859-15 - |
7 sed 's#[?:\/*"<> ]#_#g;s#"#_#g'`
11 wget
-o /dev
/null
-O - "http://www.tv3.cat/su/tvc/tvcConditionalAccess.jsp?ID="$1"&QUALITY=H&FORMAT=MP4" |
13 iconv -f iso-8859-15
- |
14 sed "s/.*rtmp/rtmp/;s/?.*//" |
16 ffmpeg
-i - -vcodec copy
-acodec copy TV3-
${NOM}.mp4