I'm trying to add my foscam with the following url in IPTV automatic:
My link in VLC is: rtsp://user:password@192.168.1.195:554/videoMain
In tvheadend: pipe:///usr/bin/ffmpeg -loglevel fatal -i rtsp://user:password@192.168.1.195:554/videoMain
-vcodec copy -acodec copy -metadata service_provider=Foscam -metadata service_name=FB836 -f mpegts -tune zerolatency pipe:1
In VLC the codec information reads:
Type: Video
Codec: H264 - MPEG-4 AVC (part10) (h264)
Resolution: 1280x738
Display resolution: 1280x720
Decoded format: Planar 4:2:0
Type: Audio
Codec: PCM MU-LAW (mlaw)
Channels: Mono
Sample rate: 8000 Hz
Bits per sample: 16
This is the output from tvheadend
2018-03-13 19:43:08.226 subscription: 0027: "scan" subscribing to mux "pipe:///usr/bin/ffmpeg -loglevel fatal -i rtsp://user:password@192.168.1.195:554/videoMain
-vcodec copy -acodec copy -metadata service_provider=Foscam -metadata service_name=FB836 -f mpegts -tune zerolatency pipe:1", weight: 6, adapter: "IPTV", network: "Camera", service: "Raw PID Subscription"
2018-03-13 19:43:08.226 spawn: Executing "/usr/bin/ffmpeg"
2018-03-13 19:43:08.240 spawn: Error splitting the argument list: Option not found
2018-03-13 19:43:08.241 iptv: stdin pipe unexpectedly closed: No data
2018-03-13 19:43:23.217 mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i rtsp://user:password@192.168.1.195:554/videoMain
-vcodec copy -acodec copy -metadata service_provider=Foscam -metadata service_name=FB836 -f mpegts -tune zerolatency pipe:1 - scan no data, failed output from Tvheadend:
Any points to where I'm going wrong would be great, or if its even possible with foscam cameras.