Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (42)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (5751)

  • PHP - How to track video conversion progress - Stop ffmpeg process in PHP web [closed]

    21 mai 2022, par Mursaleen Ahmad

    I am working on a PHP web project where multiple users will be able upload and convert their videos bitrate using ffmpeg. And if users go to watch page before full conversion then "Video is being processed" message should show up.
I am using jQuery with AJAX and a watch link generated to watch online.

    


    1) How can I find the process is still running and show "Video is being processed" message to the users ?

    


    2) How can I stop ffmpeg process ?

    


    3) How can I get conversion percentage (how much video is converted) from file (as multiple users are using the site so can't work on single file named output.txt) ?

    


  • Streaming and Playing On-the-fly Converted AAC Audio in Qt 5.12.2 Using FFmpeg/LibAV

    17 novembre 2023, par Shlx

    I'm currently working on a Qt (5.12.2) project. I'm trying to play an audio file that is encoded as AAC but stored in an MPEG-4 container, making it unable to be played easily. The current idea is to use ffmpeg / libAV to convert the file on-the-fly when the user tries playing it. How is it possible to

    


      

    1. Stream the file as it is being converted, and
    2. 


    3. Open the stream handle in a QMediaPlayer, playing the file ?
    4. 


    


    I tried using ffmpeg on the command line to make an RTSP stream while converting, but couldn't get it working whatsoever. While fiddling around, I got a working RTP stream (no transcoding) using this command :

    


    ffmpeg -re -f mp3 -i test.mp3 -acodec libmp3lame -ab 128k -ac 2 -ar 44100 -f rtp rtp://127.0.0.1:1234


    


    Most examples I found online only address video streams. I also couldn't find a definitive answer if opening the stream would even be possible on my Qt version (not able to update).

    


    Cheers

    


  • Merge audio (m4s) segments into one

    20 avril 2022, par akinuri

    I recently started learning Laravel, and currently watching an online course. Online courses are fine, but I like to have local copies, so I'm trying to download/merge segmented audio from Laracasts : Laravel 8 From Scratch series.

    


    I've written some scripts (in Python) that does the following :

    


      

    1. Download the master.json
    2. 


    3. Read master.json and download audio segments
    4. 


    5. Merge the segments into a single file (the file is not playable yet)
    6. 


    7. Process the audio file via ffmpeg (now it's playable, but has issues)
    8. 


    


    I think there's a problem with the step 3 and/or 4.

    


    In step/script 3, I create a new file, and add the contents of the segments to the file in binary.

    


    Then (step/script 4), run a ffmpeg command in python : ffmpeg -i merged-file.mp4 -c copy processed-file.mp4

    


    However, the final file doesn't work/play as expected. There's a delay in the beginning, and some parts seem to be cut off/skipped.

    


    There are three possibilities :

    


      

    • Segment files are problematic (not likely ?)
    • 


    • I'm doing the merging wrong
    • 


    • I'm doing the ffmpeg processing wrong
    • 


    


    Can someone guide me here ?

    



    


    The issues/colored parts in the ffmpeg output are :

    


    ...
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001cfbc0de780] could not find corresponding track id 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001cfbc0de780] could not find corresponding trex (id 2)
...
[aac @ 000001cfbc0f0380] Number of bands (31) exceeds limit (6).
...
[mp4 @ 000001cfbc20ecc0] track 0: codec frame size is not set
...
[mp4 @ 000001cfbc20ecc0] Non-monotonous DTS in output stream 0:0; previous: 318318, current: 286286; changing to 318319. This may result in incorrect timestamps in the output file.
...


    


    Everything required for a test case is located in GitHub (akinuri/dump/m4s-segments/). Screenshot of the contents :

    


    repo folder contents

    



    


    Note : there are two types/formats of audio in the master.json : mp42 and dash. dash works as expected, and seem to be used in limited videos/courses. On the other hand, mp42 appears more. So I need a way to make mp42 work.