Recherche avancée

Médias (91)

Autres articles (24)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (6156)

  • ffmpeg : "Impossible to convert between the formats" when using Cuda hardware acceleration

    21 août 2020, par MorenoGentili

    I'm using ffmpeg from the command line on Windows 10 and I wanted to gave Cuda a try to improve execution times. A simple cut command like this works fine and its execution time is reduced by 60-70%. Awesome.

    



    ffmpeg -hwaccel cuvid -c:v h264_cuvid -ss 00:00:10 -i in.mp4 -c:v h264_nvenc out.mp4


    



    Now I tried to use the -filter_complex flag to overlay, fade and translate a png image over a video. The working non-cuda enhanced command is this one :

    



    ffmpeg -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x='if(gte(t,30), (t-30)*10, NAN)'" -movflags +faststart out.mp4


    



    Then, I added the cuda-related flags to the command like this.

    



    ffmpeg -hwaccel cuvid -c:v h264_cuvid -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x='if(gte(t,30), 60-tanh((t-30)*30/5)*60, NAN)'" -movflags +faststart -c:v h264_nvenc out.mp4


    



    But it won't work. I get this error.

    



    Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0


    



    I don't even know what it means. Can I actually run ANY ffmpeg command on the GPU with Cuda ? I've found some information about the hwupload_cuda flag but I'm not sure if I should use it and how. My attempts have failed so far.
Any advice on how I should modify the command to make it work on the GPU ?
Thanks.

    


  • ffmpeg video cropping "unable to parse option value "" as boolean"

    27 novembre 2018, par Lisa Mitchem

    I am trying to crop .mp4 videos to a specific size using this code :

    ffmpeg -i INPUT.mp4 -filter:v "crop=900:1000:800:300” OUTPUT.mp4

    However, even when I change the crop values, I get this error every time :

    [crop @ 0x7f974e8441c0] Unable to parse option value "1000" as boolean
    [crop @ 0x7f974e8441c0] Unable to parse option value "800" as boolean
    [Parsed_crop_0 @ 0x7f974e8440c0] No option name near '300”'
    [AVFilterGraph @ 0x7f974e843dc0] Error initializing filter 'crop' with
    args '900:1000:800:300” out2.mp4
    ffmpeg -i INPUT.mp4 -vf crop=900:1000:800:300”'
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0
  • How to fix "FFmpeg command cannot exec when multiple mp3 file to process into one" on server side

    7 février 2019, par Harshil Dholakiya

    I am using FFmpeg in my php yii2 project. FFmpeg working fine in my project but one major problem is execute FFmpeg command with multiple input file. When i try to use single file to process in ffmpeg command then it works. so, how can i fix this problem ? I am using hostGator shared plan for my project. Please, help if is there any process limit or file open limit on server that i don’t know.

    I have tried using this command in php exec() :

    ffmpeg -y -i /uploads/ac/10122018-09351115-a94rlvlawvikskb4vdrca.mp3 -i /uploads/ac/09012019-035928988-assknyrk8oujccwevir7.mp3 -f lavfi -i anullsrc -filter_complex "[2]atrim=duration=3[g0];[2]atrim=duration=1[g1];[2]atrim=duration=5[g2];[g0][0][g1][1][g2]concat=n=5:v=0:a=1" /uploads/jm/concat.mp3 2>&1

    Above command works local side but not working on server side.

    output on server side with error code 1:
    Press [q] to stop, [?] for help
    pthread_create failed: Resource temporarily unavailable. Try to increase `ulimit -v` or decrease `ulimit -s`.
    Conversion failed!