Jump to content

IPTV not working with webcam RTSP URL


DamnedUndies

Recommended Posts

DamnedUndies

I'm running Emby Server Version 3.6.0.68 beta and trying to use the IPTV plugin to view my webcam feed, but having trouble as the RTSP URL I entered isn't working.

 

The same URL works fine in VLC.

 

Here's info from the log file:

 

2018-11-24 12:54:34.662 Info MediaEncoder: Ffprobe -analyzeduration 3000000 -i "rtsp://user:password@192.168.29.182:88/videoMain" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2018-11-24 12:54:34.662 Info MediaEncoder: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -analyzeduration 3000000 -i "rtsp://user:password@192.168.29.182:88/videoMain" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2018-11-24 12:54:34.667 Info MediaEncoder: ProcessRun 'ffprobe' Started.
2018-11-24 12:54:39.341 Info MediaEncoder: ProcessRun 'ffprobe' Process exited with code 0
2018-11-24 12:54:39.445 Inf2018-11-24 12:54:34.662 Info MediaEncoder: Ffprobe -analyzeduration 3000000 -i "rtsp://user:password@192.168.29.182:88/videoMain" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2018-11-24 12:54:34.662 Info MediaEncoder: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -analyzeduration 3000000 -i "rtsp://user:password@192.168.29.182:88/videoMain" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2018-11-24 12:54:34.667 Info MediaEncoder: ProcessRun 'ffprobe' Started.
2018-11-24 12:54:39.341 Info MediaEncoder: ProcessRun 'ffprobe' Process exited with code 0
2018-11-24 12:54:39.445 Info App: User policy for Hemlock. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2018-11-24 12:54:39.458 Info App: Profile: Unknown Profile, Path: rtsp://user:password@192.168.29.182:88/videoMain, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-11-24 12:54:39.464 Info App: Profile: Unknown Profile, No direct play profiles found for Path: rtsp://user:password@192.168.29.182:88/videoMain
2018-11-24 12:54:39.482 Info App: Profile: Unknown Profile, Path: rtsp://user:password@192.168.29.182:88/videoMain, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-11-24 12:54:39.482 Info App: Profile: Unknown Profile, No direct play profiles found for Path: rtsp://user:password@192.168.29.182:88/videoMain
2018-11-24 12:54:39.504 Info HttpServer: HTTP Response 200 to 192.168.29.253. Time: 4909ms. http://htpc:8096/emby/Items/151452/PlaybackInfo?UserId=1e6a959245464e01b14af5f4cf98309b&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000
2018-11-24 12:54:39.894 Info HttpServer: HTTP GET http://htpc:8096/emby/videos/151452/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjYxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjEuMHwxNTM0MTk0Njc3NDkz&MediaSourceId=280fe94f0206136b97bea8b1bf22f7b2&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=06fa3d9c62644ceb87f0bf81f97dbe76&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported. Host=htpc:8096, User-Agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0, Accept=*/*, Accept-Language=en-US,en;q=0.5, Accept-Encoding=gzip, deflate, Referer=http://htpc:8096/web/index.html, Connection=keep-alive
2018-11-24 12:54:39.954 Info HttpServer: HTTP Response 200 to 192.168.29.253. Time: 62ms. http://htpc:8096/emby/videos/151452/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjYxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjEuMHwxNTM0MTk0Njc3NDkz&MediaSourceId=280fe94f0206136b97bea8b1bf22f7b2&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=06fa3d9c62644ceb87f0bf81f97dbe76&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported
2018-11-24 12:54:39.967 Info HttpServer: HTTP GET http://htpc:8096/emby/videos/151452/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjYxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjEuMHwxNTM0MTk0Njc3NDkz&MediaSourceId=280fe94f0206136b97bea8b1bf22f7b2&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=06fa3d9c62644ceb87f0bf81f97dbe76&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported. Host=htpc:8096, User-Agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0, Accept=*/*, Accept-Language=en-US,en;q=0.5, Accept-Encoding=gzip, deflate, Referer=http://htpc:8096/web/index.html, Connection=keep-alive
2018-11-24 12:54:39.989 Info App: CodecValidation: No stream info supplied
2018-11-24 12:54:39.989 Info App: CodecValidation: Encoder does not support input stream
2018-11-24 12:54:39.989 Info App: CodecValidation: FindVideoEncoder - Encoder does not match
2018-11-24 12:54:40.001 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 3.6.0.68
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Unix 4.15.0.39
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 4
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system
    System.Exception: System.Exception: No video encoder found for 'h264'o App: User policy for Hemlock. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2018-11-24 12:54:39.458 Info App: Profile: Unknown Profile, Path: rtsp://user:password@192.168.29.182:88/videoMain, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-11-24 12:54:39.464 Info App: Profile: Unknown Profile, No direct play profiles found for Path: rtsp://user:password@192.168.29.182:88/videoMain
2018-11-24 12:54:39.482 Info App: Profile: Unknown Profile, Path: rtsp://user:password@192.168.29.182:88/videoMain, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-11-24 12:54:39.482 Info App: Profile: Unknown Profile, No direct play profiles found for Path: rtsp://user:password@192.168.29.182:88/videoMain
2018-11-24 12:54:39.504 Info HttpServer: HTTP Response 200 to 192.168.29.253. Time: 4909ms. http://htpc:8096/emby/Items/151452/PlaybackInfo?UserId=1e6a959245464e01b14af5f4cf98309b&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000
2018-11-24 12:54:39.894 Info HttpServer: HTTP GET http://htpc:8096/emby/videos/151452/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjYxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjEuMHwxNTM0MTk0Njc3NDkz&MediaSourceId=280fe94f0206136b97bea8b1bf22f7b2&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=06fa3d9c62644ceb87f0bf81f97dbe76&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported. Host=htpc:8096, User-Agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0, Accept=*/*, Accept-Language=en-US,en;q=0.5, Accept-Encoding=gzip, deflate, Referer=http://htpc:8096/web/index.html, Connection=keep-alive
2018-11-24 12:54:39.954 Info HttpServer: HTTP Response 200 to 192.168.29.253. Time: 62ms. http://htpc:8096/emby/videos/151452/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjYxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjEuMHwxNTM0MTk0Njc3NDkz&MediaSourceId=280fe94f0206136b97bea8b1bf22f7b2&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=06fa3d9c62644ceb87f0bf81f97dbe76&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported
2018-11-24 12:54:39.967 Info HttpServer: HTTP GET http://htpc:8096/emby/videos/151452/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjYxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjEuMHwxNTM0MTk0Njc3NDkz&MediaSourceId=280fe94f0206136b97bea8b1bf22f7b2&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=06fa3d9c62644ceb87f0bf81f97dbe76&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported. Host=htpc:8096, User-Agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0, Accept=*/*, Accept-Language=en-US,en;q=0.5, Accept-Encoding=gzip, deflate, Referer=http://htpc:8096/web/index.html, Connection=keep-alive
2018-11-24 12:54:39.989 Info App: CodecValidation: No stream info supplied
2018-11-24 12:54:39.989 Info App: CodecValidation: Encoder does not support input stream
2018-11-24 12:54:39.989 Info App: CodecValidation: FindVideoEncoder - Encoder does not match
2018-11-24 12:54:40.001 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 3.6.0.68
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Unix 4.15.0.39
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 4
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system
    System.Exception: System.Exception: No video encoder found for 'h264'

Link to comment
Share on other sites

This happened because ffprobe couldn't get any information from the stream.

But in this case we should at least allow software encoders as a last result.

This will be fixed in the next version.

Link to comment
Share on other sites

DamnedUndies

Thank you for the quick response and for root-causing my issue.

 

I'll look forward to trying this in the next version.

Edited by DamnedUndies
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...