Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (73)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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 (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (10641)

  • Youtube-DL file download live progress

    7 février 2015, par roshkattu

    I am using the YoutubeDL library in a project. My environment is based on WINDOWS with XAMPP as the webserver boundle (apache,php,mysql,etc). I am using the youtube-dl.exe file to download the video and then use ffmpeg.exe to convert the video to an MP3 audio file.

    At the moment, I have an issue related to programming : I want to show live a progressbar while the video is downloaded with the youtube-dl.exe file. This exe creates a log file, that is updated while the video is downloaded. So my approach on this was to create a PHP file, that opens, parses the log file and get’s the progress percent, and sends it as a json encoded value to an AJAX function that is called every 100MS. Indeed, if the video is too large, there will be a very high ammount of data while polling the PHP file to get the progress state. And sometimes, the browser either crashes or freezes because of this ajax polling.

    My question is : is there any better approach to do this with PHP/AJAX ? Rathar than poll the file every 100MS, or 50MS ?

  • Merge video and audio using ffmpeg and download immediately in django

    29 janvier 2024, par Suresh Chand

    I have video and audio file which is to be merge and download immediately. I have written some code but it will start download after merged. I want when user hit the url, then it will start merging and downloading immediately so that user don't have to wait for it.

    


    video_url = "./video.mp4"
audio_url = "./audio.mp4"

output_filepath = './merged.mp4'

try:
    process = subprocess.Popen([
        "ffmpeg",
        "-i", video_url,
        "-i", audio_url,
        "-c:v", "copy",
        "-c:a", "copy",
        "-f", "mp4",
        "-movflags", "frag_keyframe+empty_moov",
        "pipe:1"
    ], stdout=subprocess.PIPE)

    def generate_stream():
        while True:
            data = process.stdout.read(1024)
            if not data:
                break
            yield data

    response = StreamingHttpResponse(generate_stream(), content_type="video/mp4")
    response['Content-Disposition'] = 'attachment; filename="stream.mp4"'
    return response

except subprocess.CalledProcessError as e:
    return HttpResponse("Error: {}".format(e), status=500)


    


    But it will merge and then start downloading. I want to be at same time so that user don't have to wait until the merging process.

    


    I am using django and i am learning django

    


  • How to apply noises on video ?

    22 juin 2018, par cht_usr

    I have seen this video on youtube which apply ffmpeg noises
    by these commands, but when I tried to apply them on my video it does not work

       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v ffv1 -g 1 -bsf noise -t 10 ffv11v1.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v ffv1 -level 3 -g 1 -bsf noise -t 10 ffv1v3.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v v210 -bsf noise -t 10 -pix_fmt yuv422p10le v210.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v rawvideo -bsf noise -t 10 -pix_fmt uyvy422 -vtag 2vuy uyvy422.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v libx264 -crf 0 -qp 0 -bsf noise -t 10 -pix_fmt yuv420p h264.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v qtrle -bsf noise -t 10 qtrle.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v sunrast -bsf noise -t 10 sunrast.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v targa -bsf noise -t 10 targa.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v utvideo -bsf noise -t 10 utvideo.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v xwd -bsf noise -t 10 xwd.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v zmbv -bsf noise -t 10 zmbv.avi
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v flashsv -bsf noise -t 10 flashsv.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v huffyuv -bsf noise -t 10 -pix_fmt yuv420p huffyuv.mov
       ffmpeg -f lavfi -i mandelbrot=s=320x240 -c:v libx264 -crf 0 -qp 0 -bsf noise -t 10 -pix_fmt yuv420p h264.mov

    like this command :

    ffmpeg -i /home/user/video.mp4 -codec:v huffyuv -f lavfi -c:v sunrast -bsf noise -t 10 videoNoised.avi