Last active
November 24, 2022 14:14
-
-
Save Dalboz/1841144 to your computer and use it in GitHub Desktop.
redirect isight stream to vlc using avcapture OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/VLC.app/Contents/MacOS/vlc avcapture:// -vvv input_stream --sout='#duplicate{dst=display, dst="transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=3 2,channels=2, samplerate=22050}:rtp{dst=127.0.0.1,port=1234,sdp=file:////vlc.sdp}"}' |
How do you receive this stream? I keep getting errors. /Applications/VLC.app/Contents/MacOS/vlc rtp://@:1234 /Applications/VLC.app/Contents/MacOS/vlc rtp://@127.0.0.1:1234
Both of the above throw this error SDP required A description in SDP format is required to receive the RTP stream. Note that rtp:// URIs cannot work with dynamic RTP payload format (96).
Hi @rsbarberi sorry for taking so long to respond, the code is modified, the qtcapture module was replaced by avcapture. Try it out.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you receive this stream? I keep getting errors.
/Applications/VLC.app/Contents/MacOS/vlc rtp://@:1234
/Applications/VLC.app/Contents/MacOS/vlc rtp://@127.0.0.1:1234
Both of the above throw this error
SDP required
A description in SDP format is required to receive the RTP stream. Note that rtp:// URIs cannot work with dynamic RTP payload format (96).