Recherche avancée

Médias (91)

Autres articles (83)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (14967)

  • FFMPEG how to use https dynamic url as input for amovie filter

    2 juillet 2020, par Johny Sharma

    Basically what i am trying to do is to calling a dynamic php url which is generating a audio file for me and just want to use that file as an input for amovie filter.
I hope you have understand my question.

    


    What i have done so far ?

    


    I have a FFMPEG code which is :

    


    ffmpeg-y -i 'bg-file.mp3' -c copy -map 0:0 -map 1:0 -filter_complex "amovie='/auth.php?input=string&l=hi&f.mp3':loop=999[sc][mix];[0:a][sc]sidechaincompress=threshold=0.100:ratio=20,volume=10dB:precision=fixed[bg], [bg][mix]amix=duration=first"  -c:a libmp3lame -ac 2  "save.mp3"


    


    This line is calling my dynamic url for generating the required song.

    


    "amovie='/auth.php?input=string&l=hi&f.mp3'


    


    Everything is working if i check them apart. but when i use them together the ffmpeg is giving the following error.

    


    [22] => [Parsed_amovie_0 @ 0x1378140] Failed to avformat_open_input '/auth.php?input=string&l=hi&f.mp3':loop=999'
[23] => [AVFilterGraph @ 0x1368ca0] Error initializing filter 'amovie' with args '/auth.php?input=string&l=hi&f.mp3':loop=999'
[24] => Error initializing complex filters.
[25] => No such file or directory


    


    I dont know is it possible to put a dynamically generated url as an input for amovie filter or not ?
if i open my dynamic url in browser its works like a mp3 file and play similar to any mp3 file.

    


    using this code to play that mp3 :

    


    header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($path));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
ob_clean();
flush();
readfile($path);
exit;


    


    This one looks similar to my query but slightly different and that's why i am still looking for a solution

    


    How to use https input with ffmpeg "amovie" filter ?

    


  • OpenCV3 returning float FRAME_COUNT

    15 mars 2016, par mprat

    I am using OpenCV3 on OSX with Python 2.7 bindings. However, when I try to read the frame count of my video (a .mp4 video), it returns a float - I am expecting an int. Do I need to compile OpenCV3 with some special flags ? Am I missing some codecs ?

    import cv2
    vid = cv2.VideoCapture("vid.mp4")
    print vid.get(cv2.CAP_PROP_FRAME_WIDTH)

    And it returns a float.

    Installation details :

    • ffmpeg : brew install ffmpeg --with-dcadec --with-openh264 --with-openjpeg --with-openssl --with-tools --with-x265  --with-zimg --with-libvidstab --with-libvpx
    • opencv3 : brew install opencv3 --with-ffmpeg --with-contrib
  • Update docs.

    10 septembre 2013, par XhmikosR
    Update docs.
    

    Use code syntax in more places and link to jquery.