Recherche avancée

Médias (91)

Autres articles (105)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (13980)

  • (java.net.ProtocolException) Unable to stream video in video view. (Video which was trimmed using FFmpeg

    16 décembre 2020, par Suraj

    Hello I am using the below command to trim video using FFmpeg (trim without re-encoding)

    


    String[] command = new String[]{"-y", "-i", original_path, "-ss", ""+ startMs / 1000, "-t" , "" +((endMs - startMs) / 1000), "-c", "copy", dest.getPath()};


    


    Now this trimmed video is present on my server but i am not able to stream it in video view. Whereas I can play the other videos which was not trimmed using FFmpeg.

    


    Below is the code load video in videoview

    


    VideoView videov = findViewById(R.id.videov);
Uri uri = Uri.parse("http://x.x.xxxx.xxxx:8000/xxxxxApp/media/xxxx/1608121174332.mp4");
videov.setVideoURI(uri);
videov.start();


    


    Also I can play the same video in webview control.

    


  • Why does the remainder of the video not appear in this FFMPEG complex filter graph ?

    10 janvier 2019, par Jonathan Gilbert

    I have a filter graph where I am trying to shift the first 18 seconds of a long video up by 60 pixels in each frame (the frame size is 1920x1040) without affecting the rest of the video. The graph definition looks like this :

    -filter_complex "[0:v] trim=start=0:duration=18 [pretitle];\
                    [0:v] trim=start=18,setpts=PTS-STARTPTS [remainder];\
                    color=color=black:size=1920x1040 [blank];\
                    [blank][pretitle] overlay=0:-60 [pretitle_shifted];\
                    [pretitle_shifted][remainder] concat [t];\
                    [t] ass=Subtitles.ass,fade=t=out:st=2608.6:d=2 [output]"
    -map [output] -map 0:1

    This filter graph runs without errors, but after the first 18 seconds, the video is just the subtitles on a black background. I can’t figure out why. :-(

  • Adding trimming option to Youtube-dl audio script

    22 septembre 2020, par Jim Jamil

    This is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.

    


    @echo off
SETLOCAL ENABLEDELAYEDEXPANSION
(set /p var1="Url? " && youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)
ENDLOCAL
pause


    


    After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.

    


    Something like :

    


    ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a


    


    Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469

    


    The beginning and end times would need to be variables set by user input in 00:00:00 format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

    


    The --embed-thumbnail is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use -vn on the final output file.