Actions
Bug #4179
openIPTV script with ffmpeg encode fails when & inside -i
Status:
New
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2017-01-14
Due date:
% Done:
0%
Estimated time:
Found in version:
v4.1-2401
Affected Versions:
Description
I wanted to use a script for the IPTV network
URL: pipe:///storage/.kodi/userdata/script.sh
script.sh:
#!/bin/bash
/usr/bin/ffmpeg -re -i http://source&a=1&b=2 -c copy -f mpegts pipe:1
When I call the script I see the ffmpeg output: HTTP error 403 forbidden because ffmpeg does not get anything after the & symbol. The url is cutted there. If I add "" here: -i "http://source&a=1&b=2" the output of ffmpeg is different and tvheadend does not see the stream.
Any idea?
Actions