Cannot open RTSP streaming encoded in H264 format

Hi,
I want to know how to open RTSP streamning encoded in H264 format on Clear Linux? I want to record a video from a CCTV (IP camera) via VLC player but it didn’t load the video feed. It works find on Ubuntu 18.04. Can anyone nhelp me with this issue?

Thanks

Follow the threads on how to install codecs for media that has been encoded with patented codecs (which we can’t ship).

The Flatpak version VLC might be the easier approach for now because they do include the codecs.

Hi puneetse,

Thanks for the reply. I indeed had installed the Flatpak version VLC and yes I have gone through the provided codecs inside VLC. Now my issue is I can’t RTSP with IP camera.

Thank you

Hi ahkok,

I’ve already follow one of threads solution which is to install ffmpeg and yet still doesn’t solve my issue. I also installed Flatpak vlc and run a h264 mp4 file successfully on VLC. But when I tried to stream live feeds from a cctv, it doesn’t work.

Can you share some logs from vlc. Is your CCTV camera remote or local to your Clear Linux system?, Flatpack and/or compiling ffmpeg should work but also you can use system vlc to encode a stream assuming it is either raw or jpeg.

Hi dcharles,
I’ve just had the time to share with you the vlc log error with clear linux. Here the log from vlc. Currently the camera is connected locally meaning the camera is connected to a router and then my PC connected to the network:

satip error: Failed to setup RTSP session
main debug: processing request item: rtsp://192.168.0.108:554/cam/realmonitor, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 4 items, index 3
main debug: starting playback of new item
main debug: resyncing on rtsp://192.168.0.108:554/cam/realmonitor
main debug: rtsp://192.168.0.108:554/cam/realmonitor is at 3
main debug: creating new input thread
main debug: Creating an input for ‘rtsp://192.168.0.108:554/cam/realmonitor’
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: rtsp://admin:admin123@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0' gives access rtsp’ demux any' path admin:admin123@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0’
main debug: creating demux: access=‘rtsp’ demux=‘any’ location=‘admin:admin123@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0’ file=’(null)’
main debug: looking for access_demux module matching “rtsp”: 18 candidates
main debug: no access_demux modules matched
main debug: creating access: rtsp://admin:admin123@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0
main debug: looking for access module matching “rtsp”: 27 candidates
satip debug: try to open ‘rtsp://admin:admin123@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0’
satip debug: connect to host ‘192.168.0.108’
main debug: net: connecting to 192.168.0.108 port 554
main debug: looking for meta fetcher module matching “any”: 1 candidates
lua debug: Trying Lua scripts in /home/clear_linux/.var/app/org.videolan.VLC/data/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /app/lib/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /app/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching “any”: 2 candidates
lua debug: Trying Lua scripts in /home/clear_linux/.var/app/org.videolan.VLC/data/vlc/lua/meta/art
lua debug: Trying Lua scripts in /app/lib/vlc/lua/meta/art
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
main debug: connection succeeded (socket = 26)
main debug: net: opening 0.0.0.0 datagram port 9086
lua debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
main debug: net: opening 0.0.0.0 datagram port 9087
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/03_lastfm.luac
lua debug: skipping script (unmatched scope) /app/lib/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /app/share/vlc/lua/meta/art
main debug: no art finder modules matched
main debug: looking for meta fetcher module matching “any”: 1 candidates
lua debug: Trying Lua scripts in /home/clear_linux/.var/app/org.videolan.VLC/data/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /app/lib/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /app/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching “any”: 2 candidates
lua debug: Trying Lua scripts in /home/clear_linux/.var/app/org.videolan.VLC/data/vlc/lua/meta/art
lua debug: Trying Lua scripts in /app/lib/vlc/lua/meta/art
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /app/lib/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /app/share/vlc/lua/meta/art
main debug: no art finder modules matched
qt debug: IM: Setting an input
satip error: Failed to setup RTSP session
main debug: no access modules matched
main debug: dead input
qt debug: IM: Deleting the input
main debug: changing item without a request (current 3/4)
main debug: nothing to play