StreaMonitor icon indicating copy to clipboard operation
StreaMonitor copied to clipboard

Help Me!!

Open Nutmegkumar opened this issue 3 years ago • 11 comments

i just did all things but show started recording and makes errors

Screenshot)

Nutmegkumar avatar Nov 02 '22 17:11 Nutmegkumar

It works for me. Update or try different streamer

lossless1024 avatar Nov 02 '22 18:11 lossless1024

Did you download the right ffmpeg, the windows 32bit or windows 64bit compatible acc. to your windows version. Also check if the ffmpeg path is added (https://github.com/lossless1024/StreaMonitor/issues/21#issuecomment-1282196132)

maddi4u avatar Nov 03 '22 06:11 maddi4u

Whoch ffmpeg should indownload I am confused i have downloaded the ffmpeg shared 64 bit

Nutmegkumar avatar Nov 03 '22 12:11 Nutmegkumar

Builds can be found here:

https://www.gyan.dev/ffmpeg/builds/

These are the ones installed by Chocolatey (choco install -y ffmpeg).

Check your build and path as mentioned.

A ffmpeg -version on CMD or PowerShell shuld give something like this:

ffmpeg version 5.1.2-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, 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. 28.100 / 57. 28.100
libavcodec     59. 37.100 / 59. 37.100
libavformat    59. 27.100 / 59. 27.100
libavdevice    59.  7.100 / 59.  7.100
libavfilter     8. 44.100 /  8. 44.100
libswscale      6.  7.100 /  6.  7.100
libswresample   4.  7.100 /  4.  7.100
libpostproc    56.  6.100 / 56.  6.100

FFRuntimeError exception always gets thrown when .run() method fails. This mostly happens when ffmpeg can't be started or really has an accident.

If you get an error when running ffmpeg -version you found your problem.

Best Regards

DerBunteBall avatar Nov 03 '22 12:11 DerBunteBall

So what should i do now whats the first step?

Nutmegkumar avatar Nov 09 '22 00:11 Nutmegkumar

1.Check your windows version, is it 32 or 64 bit (https://support.microsoft.com/en-us/windows/which-version-of-windows-operating-system-am-i-running-628bec99-476a-2c13-5296-9dd081cdd808) 2. Download the same version of ffmpeg as your windows 32 bit - https://web.archive.org/web/20200901115933/https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-4.2.2-win32-static.zip 64 bit - https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z Also, remove any previously downloaded ffmpeg if you are downloading new one 3. Add path (https://github.com/lossless1024/StreaMonitor/issues/21#issuecomment-1282196132)

maddi4u avatar Nov 09 '22 05:11 maddi4u

  1. Download the same version of ffmpeg as your windows 32 bit - https://web.archive.org/web/20200901115933/https://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-4.2.2-win32-static.zip 64 bit - https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z Also, remove any previously downloaded ffmpeg if you are downloading new one

That's an version which gets old now.

5.1.2 x64 build: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip (SHA256 Sumfile: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip.sha256)

Due to the fact that the installed Windows base is nearly completely x64 today there are no actual builds for x86 or ARM at the project side. So it would be needed to build it manually if a actual version is wanted.

The above 5.1.2 version is the one Chocolatey (https://chocolatey.org/) also uses. If Chocolatey is installed choco install -y ffmpeg would be enough.

Chocolatey is a recommendation for Windows users in general. It gives freedom and saves lifetime.

Place the content of this in e.g. C:\ffmpeg\ and then add C:\ffmpeg\bin\ to your path.

Best Regards

DerBunteBall avatar Nov 09 '22 08:11 DerBunteBall

Thank you Very much, but there is other issue after recording when i opened the file it shows a blank white screen in (Vlc Media) but doesnt load the video and i thought its the issue with the Vlc media but its hows same in other streaming apps Screenshot (568)

Nutmegkumar avatar Nov 11 '22 17:11 Nutmegkumar

This looks like a corrupted file.

Did the show stopped regular? Or did you stop ffmpeg with stop command or the complete Downloader.py process?

Best Regards

DerBunteBall avatar Nov 12 '22 17:11 DerBunteBall

I closed the whole program

Nutmegkumar avatar Nov 12 '22 18:11 Nutmegkumar

We had a problem realted to stopping ffmpeg cleanly for a while.

So also the stopping of the whole program produced corrupted files from time to time on Windows.

To verify you can check the file with MedaInfo (https://mediaarea.net/de/MediaInfo/Download/Windows). If it presents like a file without a full MP4 header that's the problem. If that's the case you have a truncated/corrupted file and you can try to use untrunc (https://github.com/anthwlock/untrunc) to fix this. Check also info #35 (hint of @sunriceStream).

Capture a stream of the same model and then run untrunc with the working new video and the corrupted video. Because it's the same video source (camera, stream server and so on) the chances are not the worst to repair it.

Best Regards

DerBunteBall avatar Nov 12 '22 18:11 DerBunteBall