Recherche avancée

Médias (91)

Autres articles (95)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (6468)

  • Oddly-named file "not found" when trying to move/copy via MacOS Terminal [closed]

    15 juin 2024, par Ben C

    This is a head scratcher.

    


    I need to move these three oddly-named files from an external 2.5" SSD to my desktop. The file names were intended to have variables replaced by date info, however, clearly it didn't work. So I'm left with these filenames that MacOS seems to want to interpret rather than treat as a string. I wish it was as easy as tossing in single quotes or escaping chars, but so far, that hasn't worked.

    


    Files: Test01-$(internal:date_y)-$(internal:date_m)-$(internal:date_d)-.mp4 Test01-$(internal:date_y)-$(internal:date_m)-$(internal:date_d)-0001.mp4 Test01-$(internal:date_y)-$(internal:date_m)-$(internal:date_d)-0002.mp4

    


    I'm on MacOS. In the Finder, the files are not visible. But they are not hidden files.

    


    In Terminal, however, when I navigate to "/Volumes/TestDrive", then run a quick "ls", I can see all three files no problem. Including permissions, size, owners, full filename, etc.

    


    However, when I attempt to move the files to my desktop, and rename in the process (even if I don't rename), Terminal tells me that "No such file or folder can be found" or something very close to that.

    


    I've tried using mv and cp commands to put the filename in single quotes so the filename is read literally. Yet, I'm still given feedback that the file cannot be transferred because it cannot be found or doesn't exist.

    


    mv 'Test01-$(internal:date_y)-$(internal:date_m)-$(internal:date_d)-.mp4' ~/Desktop/Test01-01.mp4' 'cp 'Test01-$(internal:date_y)-$(internal:date_m)-$(internal:date_d)-.mp4' ~/Desktop/Test01-01.mp4

    


    When I try to escape special characters instead of quotes, I am also told the file doesn't exist. But clearly it does when I list out the contents of the drive. And there's only 3x .mp4 files, two hiddne files .fseventsd and some spotlight file.

    


    mv Test01-\$\(internal\:date_y\)-\$\(internal\:date_m\)-\$\(internal\:date_d\)-.mp4 ~/Desktop/Test01-01.mp4

    


    I've tried copying by inode. No luck. I've tried pulling the videos into ffmpeg (CLI based media mgmt tool) to see if I can get some info on the files, and same thing, ffmpeg (or ffprobe) both will tell me the file doesn't exist...even though I can list the files and see that it does.

    


    I hope I'm missing something obvious, but but it seems all the obvious approaches are not yet working for me.

    


    So my question is, what do I need to do to make these files "exist" so that I can rename them and back them up ? Happy to go down any rabbit hole.

    


    Thanks in advance !

    


  • FFMPEG Command working ok from terminal but not when launched as a process

    16 juin 2023, par Pit Digger

    I am launching an FFMPEG process from C++ , the command is workign fine from command line, but gives error when laucnhed from code. What could cause this ?

    


    [AVFilterGraph @ 0x3cfadc0] Error parsing filterchain '"[0:v]split=3[v1][v2][v3] ;[v1]copy[v1out] ;[v2]scale=w=1280:h=720[v2out] ;[v3]scale=w=640:h=360[v3out]"'

    


    AVFilterGraph @ 0x3cfadc0] Trailing garbage after a filter : split=3[v1][v2][v3] ;[v1]copy[v1out] ;[v2]scale=w=1280:h=720[v2out] ;[v3]scale=w=640:h=360[v3out]"

    


    Command :

    


    ffmpeg -re -i input.mp4 -c copy -filter_complex "[0:v]split=3[v1][v2][v3] ;[v1]copy[v1out] ;[v2]scale=w=1280:h=720[v2out] ;[v3]scale=w=640:h=360[v3out]" -map [v1out] -c:v:0 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:0 1M -maxrate:v:0 2M -minrate:v:0 2M -bufsize:v:0 2M -preset fast -g 48 -sc_threshold 0 -keyint_min 48 -map [v2out] -c:v:1 libx264 -x264-params 'nal-hrd=cbr:force-cfr=1' -b:v:1 1M -maxrate:v:1 1M -minrate:v:1 1M -bufsize:v:1 1M -preset fast -g 48 -sc_threshold 0 -keyint_min 48 -map [v3out] -c:v:2 libx264 -x264-params 'nal-hrd=cbr:force-cfr=1' -b:v:2 500K -maxrate:v:2 500K -minrate:v:2 500K -bufsize:v:2 500K -preset fast -g 48 -sc_threshold 0 -keyint_min 48 -map a:0 -c:a:0 aac -b:a:0 96k -ac 2 -map a:0 -c:a:1 aac -b:a:1 96k -ac 2 -map a:0 -c:a:2 aac -b:a:2 48k -ac 2 -avoid_negative_ts 1 -f hls -hls_time 6 -hls_list_size 15 -hls_flags independent_segments -hls_segment_type mpegts -hls_segment_filename /output/stream_%v_data%02d.ts -master_pl_name index.m3u8 -var_stream_map 'v:0,a:0 v:1,a:1 v:2,a:2' /output/stream_%v.m3u8

    


  • PHP cannot run a python script that uses ffmpeg (when the python script runs in terminal)

    10 février, par dr3kiki

    In my website, a user uploads an audio file that gets mixed by a python script. The python script uses ffmpeg to translate the files, however it doesn't work when I try executing via php due to ffmpeg, I get this error

    


    usr/local/lib/python3.9/site-packages/pydub/utils.py:170 : RuntimeWarning : Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work")

    


    The python script can run (with no errors) in the Linux terminal and ffmpeg can run separately also in the terminal (in the website's directory).

    


    I have tried linking the environment with php with putenv("/usr/bin/ffmpeg") which had no luck, as well as linking to the usr/local/lib/python3.9/site-packages/ directory in the same way, also no luck.