Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (44)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (6992)

  • Batch convert WAV files in directory to MOV using ffmpeg

    19 février 2016, par Ahhhhhhhhhhhhhdfgbv

    I’m new to ffmpeg, and trying to figure out a way to add a still jpg to any wav/mp3/ogg file found in a directory.

    I was hoping to have the cmd pop up asking which directory, say C:\root\ then the batch would loop through each subdirectory in the inputted directory adding a still image C:\image.jpg and saving it as a mov

    Now I know that sounds fairly intense, but here are a couple I found so far :

    for %%a in ("*.*") do ffmpeg -i "%%a" -c:v libx264 -preset slow -crf 20 -c:a libvo_aacenc -b:a 128k "newfiles\%%~na.mp4"

    and

    ffmpeg -loop 1 -i image.jpg -i audio.wav -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest out.mov

    So I was thinking is it possible to loop through a directory, adding a single image to the length of the audio, and output it as a mov ?

  • Libavcodec and QuickSync

    15 février 2016, par FrancescoBLT

    I’m attempting to encode in h264 format using libavcodec with and without QuickSync hardware acceleration. If I don’t use the hw acceleration is quite simple :

    ff_codec = avcodec_find_encoder(AV_CODEC_ID_H264) ;

    ff_cdctx = avcodec_alloc_context3(ff_codec) ;

    ff_cdctx->width = 1920;
    ff_cdctx->height = 1080;
    ff_cdctx->time_base.num = 1;
    ff_cdctx->time_base.den = 25;
    ff_cdctx->sample_aspect_ratio.num = 16;
    ff_cdctx->sample_aspect_ratio.den = 9;
    ff_cdctx->pix_fmt = AV_PIX_FMT_YUV420P;
    av_dict_set(&param,"profile","main",0);
    av_dict_set(&param,"preset","medium",0);
    av_dict_set(&param,"tune","film",0)<0);
    ff_cdctx->gop_size = 10;
    ff_cdctx->max_b_frames = 1;
    opres = avcodec_open2(ff_cdctx,ff_codec,&param);
    ff_frame = av_frame_alloc();
    ff_frame->format = ff_cdctx->pix_fmt;
    ff_frame->width  = ff_cdctx->width;
    ff_frame->height = ff_cdctx->height;

    opres = av_image_alloc(ff_frame->data, ff_frame->linesize,ff_cdctx->width,ff_cdctx->height,ff_cdctx->pix_fmt, 32);
    ff_frame->linesize[0] = ff_cdctx->width;
    ff_frame->linesize[1] = ff_frame->linesize[2] = ff_cdctx->width>>1;

    ff_frame->sample_aspect_ratio.num = ff_cdctx->sample_aspect_ratio.num;
    ff_frame->sample_aspect_ratio.den = ff_cdctx->sample_aspect_ratio.den;
    av_init_packet(&pkt);
    enc_err = avcodec_encode_video2(ff_cdctx,&pkt,ff_frame,&got_pkt);  }

    And so on for all source frame. Problem arise when I attempt to use hardware
    acceleration. In this case I use :

    ff_codec = avcodec_find_encoder_by_name("h264_qsv") ;
    for gathering the codec. But when I attempt to open it, the result is "invalid parameter" :
    opres = avcodec_open2(ff_cdctx,ff_codec,&param) ;
    if(opres<0)

    if(av_strerror(opres,err_str,256)==0) OutputDebugStringA(err_str) ;
    return -6 ;

    Did anyone have attempted to use QuickSync from code ? In the examples there is only one file (qsvdec.c) and is for decoding, not for encoding.
    regards

  • ffmpeg 'No Such file or directory' bash

    10 octobre 2019, par Martin

    Hello I am trying to run this command :

    ffmpeg -loop 1 -framerate 2 -i "folder/big.jpeg" -i "folder/4. Babsy Mlangeni.flac" -vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1" -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p -strict -2 "folder/Babsy Mlangeni.mp4"

    but I get an error saying "folder/big.jpeg : No such file or directory"

    I am pretty confident the files are there, when I run the command

    bash folder/big.jpg

    I get the output

    folder/big.jpg: folder/big.jpg: cannot execute binary file

    Showing the file is there, why wont the command pick up the file ?