Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (10540)

  • Unresolved external symbols using ffmpeg [duplicate]

    27 février 2018, par Edward Severinsen

    I just downloaded the dev package for ffmpeg and was setting up headers and libraries for use. I’m using Visual C++ 2013 and I added the path of the ffmpeg header files and libs. I linked to every single lib file in the ffmpeg lib folder and apparently none of them matched av_register_all and avformat_open_input.

    Here’s the output from trying to build :

    1>------ Build started: Project: ffmpeg_learning, Configuration: Debug Win32 ------
    1>  ffmpeg_learning.cpp
    1>ffmpeg_learning.obj : error LNK2019: unresolved external symbol _av_register_all referenced in function _main
    1>ffmpeg_learning.obj : error LNK2019: unresolved external symbol _avformat_open_input referenced in function _main
    1>c:\users\edward severinsen\documents\visual studio 2013\Projects\ffmpeg_learning\Debug\ffmpeg_learning.exe : fatal error LNK1120: 2 unresolved externals
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    Here’s my code :

    #include "stdafx.h"

    extern "C"
    {
       #include <libavcodec></libavcodec>avcodec.h>
       #include <libavformat></libavformat>avformat.h>
       #include <libswscale></libswscale>swscale.h>
    }

    #pragma comment(lib, "avcodec.lib")
    #pragma comment(lib, "avformat.lib")
    #pragma comment(lib, "swscale.lib")
    #pragma comment(lib, "avdevice.lib")
    #pragma comment(lib, "avutil.lib")
    #pragma comment(lib, "avfilter.lib")
    #pragma comment(lib, "postproc.lib")
    #pragma comment(lib, "swresample.lib")

    int main(int argc, char* argv[])
    {
       av_register_all();

       AVFormatContext* pFormatCtx = NULL;

       //Open video file
       if (avformat_open_input(&amp;pFormatCtx, argv[1], NULL, 0))
       {
           //Couldn't open the file
           return -1;
       }

       return 0;
    }

    I have no idea what I’m missing. Any help would be much appreciated. Thanks.

  • Avisynth total frames does not equal VirtualDub total frames

    7 mai 2017, par Corpuscular

    It appears that Dissolve and/or Fade change the total number of frames in .avs scripts. When I add up the total number of frames in the avs script and then load the avs script in Vdub the total number of frames is different. My real world example below shows a difference of 822 frames vs 1368 frames for the same script. I have run some basic tests which appear to support this hypothesis. Of course I may be doing something stupid. Any guidance would be greatly appreciated. Please let me know if I can clarify anything. Ffmpeg also borks on the same script which leads me to think this is an Avisynth issue. Or my lack of avs coding skills.

    System specs :
    Win7,
    FFmpeg version : 20170223-dcd3418 win32 shared,
    AVISynth version : 2.6

    Test1.avs = 200 frames long = Expected behaviour

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
    v1=ImageReader("1.png", fps=24, start=1, end=100)
    v2=ImageReader("2.png", fps=24, start=1, end=100)
    video = v1 + v2
    return video

    Test2.avs with return Dissolve = 195 frames long = Unexpected behaviour

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
    v1=ImageReader("1.png", fps=24, start=1, end=100)
    v2=ImageReader("2.png", fps=24, start=1, end=100)
    return Dissolve(v1, v2, 5)

    Test3.avs with fadeOut(fadeIn = 202 frames long = Unexpected behaviour

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
    v1=ImageReader("1.png", fps=24, start=1, end=100)
    v2=ImageReader("2.png", fps=24, start=1, end=100)
    fadeOut(fadeIn(v1 + v2, 60), 60)

    Test4.avs with dissolve and fade = 197 frames long = Unexpected behaviour

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
    v1=ImageReader("1.png", fps=24, start=1, end=100)
    v2=ImageReader("2.png", fps=24, start=1, end=100)
    v3 = Dissolve(v1, v2, 5)
    fadeOut(fadeIn(v3, 60), 60)

    Test5.avs explicity specifying frame rates on dissolve and fade = 197 frames = Unexpected behaviour

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
    v1=ImageReader("1.png", fps=24, start=1, end=100)
    v2=ImageReader("2.png", fps=24, start=1, end=100)
    v3 = Dissolve(v1, v2, 5, 24)
    fadeOut(fadeIn(v3, 60, $000000, 24), 60, $000000, 24)

    realExample = 822 frames long = Expected behaviour (this is what I want)

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
    v1=ImageReader("1.png", fps=24).trim(1,106)
    v3=ImageReader("3.png", fps=24).trim(1,471)
    v9=ImageReader("9.png", fps=24).trim(1,58)
    v10=ImageReader("10.png", fps=24).trim(1,35)
    v11=ImageReader("11.png", fps=24).trim(1,152)
    video = v1 + v3 + v9 + v10 + v11
    return video

    realExample = 1368 frames long

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
    v1=ImageReader("1.png", fps=24).trim(1,106)
    v3=ImageReader("3.png", fps=24).trim(1,471)
    v9=ImageReader("9.png", fps=24).trim(1,58)
    v10=ImageReader("10.png", fps=24).trim(1,35)
    v11=ImageReader("11.png", fps=24).trim(1,152)
    d1 = Dissolve(v1, v3, 5)
    d3 = Dissolve(v3, v9, 5)
    d9 = Dissolve(v9, v10, 5)
    d10 = Dissolve(v10, v11, 5)
    fadeOut(fadeIn(d1 + d3 + d9 + d10,60),60)
  • Python ImageIO WARNING:root:IMAGEIO FFMPEG_WRITER WARNING

    21 janvier 2018, par cavaler12345

    I’m working in python with some images and I’m trying to convert a series of images with size = 961x509 into an MP4 movie file. I’ve already did this and it’s working but I have a quite annoying problem with a warning which says something like this :

    WARNING:root:IMAGEIO FFMPEG_WRITER WARNING : input image is not
    divisible by macro_block_size=16, resizing from (509L, 961L) to (512L,
    976L) to ensure video compatibility with most codecs and players. To
    prevent resizing, make your input image divisible by the
    macro_block_size or set the macro_block_size to None (risking
    incompatibility). You may also see a FFMPEG warning concerning
    speedloss due to data not being aligned. [swscaler @ 04f8ac40]
    Warning : data is not aligned ! This can lead to a speedloss

    The problem that warning appears is my images resolution, that resolution should be divisible by 2, but mine it doesn’t. Is it there any possibility to just make this warning to don’t appear again ? Because I can’t change the size of my images and in the same time I don’t want to resize all of them.

    Here is my code :

    ready_images = []

    for img in videos['Images']:
       image = imageio.imread(img.fileName)
       ready_images.append(image)

    videoName = videos['Images'][0].gifLocationPath + "//" + videos['Name']
    imageio.mimwrite(videoName, ready_images, 'MP4')

    Is anyone here how has a solution for me ?

    UPDATE :

    If I’m gonna put macro_block_size to None in this way(That’s the only way I know) :

    ready_images = []

    for img in videos['Images']:
       image = imageio.imread(img.fileName)
       ready_images.append(image)

    video_name = videos['Images'][0].gifLocationPath + "//" + videos['Name']
    imageio.mimwrite(video_name, ready_images, 'MP4', macro_block_size = None)

    I will receive this error message :

    Error while opening encoder for output stream #0:0 - maybe incorrect
    parameters such as bit_rate, rate, width or height

    Traceback (most recent call last) : File "", line 146, in
    run() File "", line 136, in run
    for i, _ in tqdm(enumerate(pool.imap_unordered(generateGIFsWithThreads,
    videoList))) : File "", line 953, in iter
    for obj in iterable : File "", line 673, in next
    raise value IOError : [Errno 32] Broken pipe

    FFMPEG COMMAND : ffmpeg -y -f rawvideo -vcodec rawvideo -s 961x509
    -pix_fmt rgb24 -r 10.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning
    D :\work\hero_forge\build\win32\Documents\GIFs\CH3_M1_0.mp4

    FFMPEG STDERR OUTPUT :