2022-02-02, 10:18 PM
Ok, Here you go.
Thank you,
Bruce
Thank you,
Bruce
2022-02-02, 10:18 PM
Ok, Here you go.
Thank you, Bruce
2022-02-02, 10:22 PM
Thanks I just wanted to confirm that you had that erroneous carriage return after -vcodec
If you want to break it in lines this in the syntax Code: ffmpeg -v verbose -i "rtsp://admin:12345@192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1" -vf scale=1920:1080 -vcodec ^ This won't work as an extra or as a pipe though. What do you get with this. ffprobe "rtsp://admin:12345@192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1" Martin
2022-02-02, 10:28 PM
This is what I get
C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>Cmd Microsoft Windows [Version 10.0.19042.1466] © Microsoft Corporation. All rights reserved. C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>webcam.bat C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>ffprobe "rtsp://admin:12345@192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1" ffprobe version 5.0-essentials_build-www.gyan.dev Copyright © 2007-2022 the FFmpeg developers built with gcc 11.2.0 (Rev5, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 Input #0, rtsp, from 'rtsp://admin:12345@192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1': Metadata: title : Media Presentation Duration: N/A, start: 0.040022, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, progressive), 1280x720, 25 fps, 25 tbr, 90k tbn C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>
2022-02-02, 10:32 PM
Ok so you already have HD h264 video so you don't did to transcode to higher res. You also have no audio so that will fail. You can pretty much use this as the basic for your extra https://forums.nextpvr.com/showthread.ph...#pid537344
Martin
2022-02-02, 10:50 PM
Ok. I probably have it wrong. But I am learning. Well somewhat. that is what I have come up with,..
Thank you
2022-02-02, 10:55 PM
For the args it is close but the example I gave was wrong since you can use -vcodec copy
Then to create the extra you follow these steps https://github.com/sub3/NextPVR/wiki/Extras after you figure out the args. If ffmpeg.exe is not in your path you would need to include the full path and filename in command Before going there did you test it with this one line? Code: ffmpeg -re -v panic -f lavfi -i anullsrc=r=48000:cl=mono -rtsp_transport tcp -i "rtsp://192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1" -vcodec copy -acodec aac -f mpegts - | ffplay -i pipe: Martin
2022-02-02, 11:35 PM
This is what I got . I had imput my user name and password into the URL.
C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>Cmd Microsoft Windows [Version 10.0.19042.1466] © Microsoft Corporation. All rights reserved. C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>ffmpeg -re -v panic -f lavfi -i anullsrc=r=48000:cl=mono -rtsp_transport tcp -i "rtsp://admin:12345/192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1" -vcodec copy -acodec aac -f mpegts - | ffplay -i pipe: ffplay version 5.0-essentials_build-www.gyan.dev Copyright © 2003-2022 the FFmpeg developers built with gcc 11.2.0 (Rev5, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 pipe:: Invalid data found when processing inputKB sq= 0B f=0/0 C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>
2022-02-02, 11:52 PM
C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>Cmd
Microsoft Windows [Version 10.0.19042.1466] © Microsoft Corporation. All rights reserved. C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>ffmpeg -re -v panic -f lavfi -i anullsrc=r=48000:cl=mono -rtsp_transport tcp -i "rtsp://admin:12345:192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1" -vcodec copy -acodec aac -f mpegts - | ffplay -i pipe: ffplay version 5.0-essentials_build-www.gyan.dev Copyright © 2003-2022 the FFmpeg developers built with gcc 11.2.0 (Rev5, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 pipe:: Invalid data found when processing inputKB sq= 0B f=0/0 C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>
2022-02-03, 12:07 AM
Maybe your camera is different try without -rtsp_transport tcp
Martin
2022-02-03, 12:13 AM
C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>Cmd
Microsoft Windows [Version 10.0.19042.1466] © Microsoft Corporation. All rights reserved. C:\FFMPEG\ffmpeg-5.0-essentials_build\bin>ffmpeg -re -v panic -f lavfi -i anullsrc=r=48000:cl=mono -i "rtsp://admin:12345:192.168.1.138:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1" -vcodec copy -acodec aac -f mpegts - | ffplay -i pipe: ffplay version 5.0-essentials_build-www.gyan.dev Copyright © 2003-2022 the FFmpeg developers built with gcc 11.2.0 (Rev5, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 pipe:: Invalid data found when processing inputKB sq= 0B f=0/0 nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 C:\FFMPEG\ffmpeg-5.0-essentials_build\bin> |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Locast Multiple Streams Question | pkscout | 4 | 1,315 |
2021-08-30, 12:14 AM Last Post: sub |