NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Extras v
« Previous 1 2 3 4 Next »
ffmpeg Question RTSP to HLS

 
  • 0 Vote(s) - 0 Average
ffmpeg Question RTSP to HLS
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#71
2022-02-03, 01:08 PM
I meant webcam but that looks ok.

Instead of testing with ffmpeg 5 try with the one that sub provides

Code:
cd "C:Program Files\NextPVR\Other"
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:

Martin
Brucek2839
Offline

Senior Member

Chicago, Il
Posts: 516
Threads: 147
Joined: May 2018
#72
2022-02-03, 01:42 PM
I use that code within command line and it works...  When I try it in the extra it does not. 

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>cd\

C:\>cd "CTonguerogram Files\NextPVR\Other"

C:\Program Files\NextPVR\Other>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 4.2.2 Copyright © 2003-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20200122
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec    58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter    7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample  3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mpegts @ 015fa440] DTS discontinuity in stream 0: packet 6 with DTS 127926, packet 7 with DTS 131520
Input #0, mpegts, from 'pipe:':    0KB vq=    0KB sq=    0B f=0/0
  Duration: N/A, start: 1.400000, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 4 kb/s
[h264 @ 016cd340] error while decoding MB 6 42, bytestream -6=0/0
[h264 @ 016cd340] concealing 283 DC, 283 AC, 283 MV errors in P frame
[h264 @ 067bf100] error while decoding MB 16 24, bytestream -80/0
[h264 @ 067bf100] concealing 1713 DC, 1713 AC, 1713 MV errors in P frame
[h264 @ 016cac80] error while decoding MB 17 27, bytestream -60/0
[h264 @ 016cac80] concealing 1472 DC, 1472 AC, 1472 MV errors in P frame
[h264 @ 016cd340] error while decoding MB 18 29, bytestream -60/0
[h264 @ 016cd340] concealing 1311 DC, 1311 AC, 1311 MV errors in P frame
  4.35 A-V: -0.000 fd=  5 aq=    4KB vq=  54KB sq=    0B f=0/0

C:\Program Files\NextPVR\Other>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 4.2.2 Copyright © 2003-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20200122
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec    58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter    7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample  3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mpegts @ 014ba280] DTS discontinuity in stream 0: packet 6 with DTS 127930, packet 7 with DTS 131520
Input #0, mpegts, from 'pipe:':    0KB vq=    0KB sq=    0B f=0/0
  Duration: N/A, start: 1.400000, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 4 kb/s
[h264 @ 01548500] error while decoding MB 41 30, bytestream -60/0
[h264 @ 01548500] concealing 1208 DC, 1208 AC, 1208 MV errors in P frame
[h264 @ 014faa80] error while decoding MB 40 27, bytestream -60/0
[h264 @ 014faa80] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
[h264 @ 01548500] error while decoding MB 27 17, bytestream -60/0
[h264 @ 01548500] concealing 2262 DC, 2262 AC, 2262 MV errors in P frame
[h264 @ 014faa80] error while decoding MB 29 30, bytestream -60/0
[h264 @ 014faa80] concealing 1220 DC, 1220 AC, 1220 MV errors in P frame
[h264 @ 05f6f200] error while decoding MB 75 29, bytestream -80/0
[h264 @ 05f6f200] concealing 1254 DC, 1254 AC, 1254 MV errors in P frame
[h264 @ 014fd180] error while decoding MB 43 28, bytestream -60/0
[h264 @ 014fd180] concealing 1366 DC, 1366 AC, 1366 MV errors in P frame
  16.33 A-V:  0.021 fd=  3 aq=    7KB vq=  86KB sq=    0B f=0/0
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#73
2022-02-03, 01:46 PM
First you didn't delete the extra-fm device and/or the xml file.

And now your extra-webcam is bad again. You can't use the command line as is, it needs to be xml encoded, so use the extra-webcom one from earlier one.

Martin1
Brucek2839
Offline

Senior Member

Chicago, Il
Posts: 516
Threads: 147
Joined: May 2018
#74
2022-02-03, 01:54 PM
I did delete it. I must be not understanding...
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#75
2022-02-03, 02:04 PM
Delete the extra-fm.xml file then restart the server then delete extra-fm from devices.

Martin
Brucek2839
Offline

Senior Member

Chicago, Il
Posts: 516
Threads: 147
Joined: May 2018
#76
2022-02-03, 02:19 PM
ok I deleted the extra-fm.xml file. Restarted the server. How do I go about deleting the extra-fm from devices? I tried to rescan for devices and the extra device did not go away.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#77
2022-02-03, 02:25 PM
Hold the control key while in Settings->Devices and delete any extras you are not using.

Martin
Brucek2839
Offline

Senior Member

Chicago, Il
Posts: 516
Threads: 147
Joined: May 2018
#78
2022-02-03, 02:28 PM
OK, Got it...It is gone...
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#79
2022-02-03, 02:28 PM
So rescan and add a good extra and try again and send logs if it fails.

Martin
Brucek2839
Offline

Senior Member

Chicago, Il
Posts: 516
Threads: 147
Joined: May 2018
#80
2022-02-03, 02:32 PM
Oh Boy...That is going to be hard. I may have deleted them all. This will be a while
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 5 6 7 8 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Locast Multiple Streams Question pkscout 4 1,646 2021-08-30, 12:14 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode