Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (56)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

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

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

Sur d’autres sites (5213)

  • Bulk Conversion Of Kubuntu Master Video Folder Using FFmpeg ?

    12 janvier 2019, par Sarah Szabo

    I have an old archive of videos (Around 400GB/1024 files) that are heavily structured due to the program that created them at the time.

    There is a single folder called master that contains many other folders for specific events that were recorded. I was thinking of using for i in *.vob; do ffmpeg -i "$i" "${i%.*}.mp4"; done (From another SO user’s answer on another question), but this is insufficient since the .vob files aren’t all in the master folder are are instead in different folders in master.

    Furthermore, the .vob titles are nonsense (And even worse overlapping ! Video 1 (In Folder 1), Video 1 (In Folder 2) so they can’t all be named the same thing in the same folder if I joined all of them.

    My question is can I do a tree traversal of master using a script (I’m running KDE) that takes each .vob files and converts it using somthing similar to for i in *.vob; do ffmpeg -i "$i" "${i%.*}.mp4"; done in master, but with the name of the folder instead of the name of the file ?

    So, if we were in the Assault On The Control Room folder and converted Video 1 and Video 2, could this output Assault On The Control Room 1 and Assault On The Control Room 2 and move the converted file to /somefilepath/master2 that contains all the converted files ?

    The labels would obviously be set using ffmpeg and a for loop, but my scripting skills aren’t up to this task yet.

    EDIT 0 : Output of shopt -s globstar; for v1 in **/*.vob; do v2=$(awk -F'/' '{print "/somefilepath/master2/" $(NF-1) " - " $NF ".mp4"}' <<< "$v1"); ffmpeg -i "$v1" "$v2"; done

    sarah@ConvergentRefuge:/media/sarah/SENTINEL/Master$ shopt -s globstar; for v1 in **/*.vob; do v2=$(awk -F'/' '{print "/media/sarah/SENTINEL/Videos/NewMaster" $(NF-1) " - " $NF ".mp4"}' <<< "$v1"); ffmpeg -i "$v1" "$v2"; done
     ffmpeg version N-91290-g6129b13 Copyright (c) 2000-2018 the FFmpeg developers
       built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
       configuration: --prefix=/home/sarah/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/sarah/ffmpeg_build/include --extra-ldflags=-L/home/sarah/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/sarah/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
       libavutil      56. 18.102 / 56. 18.102
       libavcodec     58. 20.102 / 58. 20.102
       libavformat    58. 17.100 / 58. 17.100<br />
       libavdevice    58.  4.101 / 58.  4.101<br />
       libavfilter     7. 25.100 /  7. 25.100<br />
       libswscale      5.  2.100 /  5.  2.100<br />
       libswresample   3.  2.100 /  3.  2.100
       libpostproc    55.  2.100 / 55.  2.100
     **/*.vob: No such file or directory
     

    EDIT 1 : View of Master Folder
    View of Master Folder

  • Having trouble with color code in batch file

    23 juin 2022, par Lary David

    I'm trying to only have ffmpeg progress to be colored, but for some reason when I terminate or go full-screen this monstrosity occurs :&#xA;Issue

    &#xA;

    @echo off&#xA;@echo off&#xA;title Stream Recorder&#xA;cls&#xA;:start&#xA;set message=Stream Recorder&#xA;echo %message%&#xA;echo(&#xA;echo [32m1. Chrome [0m&#xA;echo [34m2. Edge [0m&#xA;echo [33m3. Firefox [0m&#xA;echo [31m4. Opera [0m&#xA;echo [1;31m5. Vivaldi [0m&#xA;:choice&#xA;set choice=&#xA;set /p "choice=* Pick your browser (between 1-5): "&#xA;if not &#x27;%choice%&#x27;==&#x27;&#x27; set choice=%choice:~0,1%&#xA;if &#x27;%choice%&#x27;==&#x27;1&#x27; goto chrome&#xA;echo "%choice%" is not valid, try again.&#xA;ECHO.&#xA;goto choice&#xA;&#xA;:chrome&#xA;:url&#xA;echo(&#xA;set /p "address=* M3U8 Url: "&#xA;For /F %%G In (&#x27;%__AppDir__%curl.exe -s -o NUL "%address%" -w "%%{http_code}\n"&#x27;) Do Set "response=%%G"&#xA;echo %response%&#xA;IF %response% == 200 (&#xA;    ECHO [32mURL check was successful.[m &amp;goto :username&#xA;) ELSE (&#xA;    ECHO [31mURL is not valid, try again.[m &amp;goto :url&#xA;)&#xA;:username&#xA;set /p "filename=* Streamer Name: "&#xA;echo(&#xA;set message=* Recording:&#xA;echo [0m%message%[42;1m&#xA;ffmpeg -v warning -hide_banner -stats -user_agent "" -i "%address%" -c copy "%~dp0/%filename%_%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%_%time:~-11,2%-%time:~-8,2%-%time:~-5,2%.mp4"&#xA;pause&#xA;

    &#xA;

    Also, would be helpful if my code needs some cleaning up.

    &#xA;

  • mp4 generated using MediaMuxer doesn't play in ffmpeg

    7 février 2019, par APD

    I need to generate an mp4 video from the raw h264 bitstream only (hence don’t have any audio channel). To do the same, I used the MediaMuxer APIs from Android. The output mp4 videos that got generated, seems fine and are playing well on VLC media player. But the generated videos don’t play on chrome browser (on Ubuntu machine) and same is the case with ffmpeg.
    Other thing that I noticed is that, the mp4 generated with Android devices greater than Nougat (i.e., Oreo and later) are fine (i.e., they play on Chrome browser and ffmpeg also plays it well), however those generated from devices before Oreo, have this problem.
    Has anybody observed such a behavior and what can be done to handle this on Android-devices before Oreo ?