FFmpeg not found

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
TimR
Posts: 2
Joined: Mon Feb 17, 2025 6:14 pm

FFmpeg not found

Post by TimR »

Hi, I am evaluating RVMedia. I downloaded the compiled demo projects. I am testing the IPCamera.exe application.

I downloaded the FFmpeg dll files from the link in the post "FFmpeg libraries for Windows".

I copied the 7 dll files into the same folder as IPCamera.exe and tried running it. It displays "FFmpeg is not found. RTSP and H.264 are not supported."

I'm not sure whether the compiled file is 32-bit or 64-bit but I tried with both versions of the dll files and the result is the same.

Can you please explain what else I need to do to get the demo working?

Thank you.
Sergey Tkachenko
Site Admin
Posts: 17684
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: FFmpeg not found

Post by Sergey Tkachenko »

The compiled demo projects from https://www.trichview.com/download/mediademo.html already include FFmpeg DLLs for 64-bit Windows.
If installed in c:\Components\RVMedia, then:
FFmpeg is in c:\Components\RVMedia\CompiledDemos\ThirdParty\FFmpeg\Win64\bin\
The IPCamera demo is in c:\Components\RVMedia\CompiledDemos\Demos\Delphi\Cameras\IPCamera\

If you open the source code of this demo, you will see the code:

Code: Select all

{$IFDEF WIN64}
initialization
  LoadFFMpegLibraries('..\..\..\..\ThirdParty\FFmpeg\Win64\bin\');
{$ENDIF}
So,
1) The compiled version of this demo requires 64-bit versions of FFmpeg DLLs
2) It ignores DLLs in its own folder, and looks for DLLs in '..\..\..\..\ThirdParty\FFmpeg\Win64\bin\'.

If ran from the original folder, this demo must work just out of the box.
TimR
Posts: 2
Joined: Mon Feb 17, 2025 6:14 pm

Re: FFmpeg not found

Post by TimR »

Thanks for your reply. I understand and it's working well now.
Post Reply