Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (43)

Sur d’autres sites (8557)

  • Visual C++ linker can't resolve FFmpeg's external symbols

    25 février 2016, par JustPingo

    I’m making a C++ program and I want to use FFmpeg pre-built for x64, which is a C-compiled library.
    I’m using this code in order to include its header :

    extern "C" {
       #include "libavcodec/avcodec.h"
       #include "libavformat/avformat.h"

       #pragma comment (lib,"G:/Documents/ffmpeg/lib/avcodec.lib")
       #pragma comment (lib,"G:/Documents/ffmpeg/lib/avformat.lib")
    }

    I’m then calling the symbols like I would do for a normal function, for example with av_interleaved_write_frame(out->formatContext, &packet);

    However, when I try to compile it with Visual Studio 2015’s built-in C++ compiler, I get a lot of error like

    Error   LNK2019 unresolved external symbol _av_write_trailer referenced in function "void __cdecl closeArenaVideo(struct VideoOutput *)" (?closeArenaVideo@@YAXPAUVideoOutput@@@Z)  Sparta2 c:\Users\Théo\documents\visual studio 2015\Projects\Sparta2\Sparta2\video.obj  

    for basically any of the symbols I’m refering to.

    I tried to import everything in Visual Studio, to compile with command-line, to manually put FFmpeg’s libraries in the default libraries path, without success.

    Thank you in advance !

  • Seeking Ideas : How Can I Automatically Generate a TikTok Video from a Custom Song Using C# [closed]

    14 mai 2024, par Jamado

    Im creating a c# program which creates a video of the from a song and posts it on tiktok.

    


    Right now my program

    


      

    1. Uses spleeter to split the song into stems

      


    2. 


    3. uses a script of GitHub to create waveform images of the stems

      


    4. 


    


    I want my end video to look like this :

    


    https://vm.tiktok.com/ZMM7CDmUt/ - only one song will play per video

    


    https://vm.tiktok.com/ZMM7Xdw8b/

    


    https://vm.tiktok.com/ZMM7CcGtE/ - no webcam or that hitting animations

    


    basically I want the stems of the songs to be placed on top of a FL studio timeline, synced to the song, then I want to overlay a image on top of the video. and then to contribute for todays gen's 3 second attention span, add some audio virtualisations ontop of the fl studio recording (the music making app in the video) and a little shake to the image

    


    I've tinkered with ffmpeg before, and I reckon it could do the trick here. I'd use the waveform pictures and mix them with a pre-recorded FL Studio video using ffmpeg's filters, like VStack to stack images, Scroll to slide them around and Blend. And then tweak the overlay filter for that shake effect. Plus, I found out ffmpeg can whip up some basic audio visualizations, which is neat. (https://gist.github.com/Neurogami/aeed8693f7ac375d5e013b8432d04d3f)

    


    But my main issue with this approach is, how the waveform images will look weird/out of place ontop of the fl studio video, because FL studio has a really spesific "theme". I could manually create a template and then use some other library to merge the template image and the waveform image. But, it feels a bit janky and would probably be a hassle to set up and implement.

    


    So, I'm curious if you folks have any nifty libraries, GitHub gems, or ideas to help me nail this video ?

    


  • Revision 114565 : Verification des numeros de telephone : * rendre la verification par ...

    18 mars 2019, par cedric@… — Log

    Verification des numeros de telephone :
    * rendre la verification par pays extensible : quand un pays est pas prevu par le plugin on peut fournir son indicatif en option et une fonction de verification
    * reparer la verification des numeros ES : le remplacement du prefixe international par un 0 est abusif ca rend certains numeros invalides - on se contente de normaliser le prefixe
    * ajouter la verification des numeros belges qui sont des utilisateurs de SPIP comme les autres francophones :)