![]() ![]() nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0 end receive buffer size reported is 65536 Successfully connected to 192.168.2.82 port 554Ī=fmtp:96 sprop-vps=QAEMAf//AWAAAAMAsAAAAwAAAwBarAwAAAMABAAAAwB6qA= sprop-sps=QgEBAWAAAAMAsAAAAwAAAwBaoAWCAJBY2uSTL83AQEBBAAADAAEAAAMAHqE= sprop-pps=RAHA8vA8kA=Ī=fmtp:97 profile-level-id=1 mode=AAC-hbr sizelength=13 indexlength=3 indexdeltalength=3 config=1210įailed to parse interval end specification '' ![]() Starting connection attempt to 192.168.2.82 port 554 Parsing a group of options: input url rtsp://192.168.2.82/1. matched as output url.Īpplying option y (overwrite output files) with argument 1.Īpplying option loglevel (set logging level) with argument debug. matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'. matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'. matched as AVOption 'stimeout' with argument '10000000'. matched as AVOption 'rtsp_transport' with argument 'udp'. matched as option 'loglevel' (set logging level) with argument 'debug'. matched as option 'y' (overwrite output files) with argument '1'. Here is one test & verbose output ffmpeg -y -loglevel debug -rtsp_transport udp -stimeout 10000000 -i rtsp://192.168.2.82/1 -acodec copy -vcodec copy test.mp4įfmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developersīuilt with Apple clang version 11.0.0 (clang-1100.0.33.8)Ĭonfiguration: -prefix=/usr/local/Cellar/ffmpeg/4.2.1_2 -enable-shared -enable-pthreads -enable-version3 -enable-avresample -cc=clang -host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include/darwin -fno-stack-check' -host-ldflags= -enable-ffplay -enable-gnutls -enable-gpl -enable-libaom -enable-libbluray -enable-libmp3lame -enable-libopus -enable-librubberband -enable-libsnappy -enable-libtesseract -enable-libtheora -enable-libvidstab -enable-libvorbis -enable-libvpx -enable-libx264 -enable-libx265 -enable-libxvid -enable-lzma -enable-libfontconfig -enable-libfreetype -enable-frei0r -enable-libass -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenjpeg -enable-librtmp -enable-libspeex -enable-libsoxr -enable-videotoolbox -disable-libjack -disable-indev=jack So does ffmpeg, it can see the stream and how the stream is configured by RTSP. ![]() A similar video decoder receives the RTSP stream as does VLC. The set up is a hardware video encoder providing multiple streams. #Ffmpeg rtsp streaming how to#The line I'm using inserts a blank audio with the filter anullsrc, but I can't figure out how to remove that filter and still have the code function correctly.Īlso according to that site, if I need audio they recommend:įfmpeg -i rtsp:/IPaddress -vcodec copy -acodec copy -f flv rtmp:/a. must be doing something obviously wrong but cannot see it. My current CMD line is: ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i rtsp:/username -tune zerolatency -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -ar 44100 -strict experimental -f flv rtmp:/a./live2/YouTube Stream CodeĪccording to IP Camera RTSP Stream to Youtube Live My camera has audio, and I would like to modify the FFmpeg CMD line to include the audio. I'm able to stream to YouTube, but the command line I'm using inserts a blank audio stream. I'm trying to stream my hikvision DS-2CD2347G1 to YouTube with FFmpeg. I've searched and can't find this simple answer, I even posted this as a job on with no successful proposals. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |