Recherche avancée

Médias (91)

Autres articles (87)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (11492)

  • reading lines from txt file into .csv

    7 janvier 2014, par Dynamite Media

    i have a .TXT file i created via batch file using ffmpeg. it returns the following info ( more but trying to make short)

    major_brand=isom
    minor_version=512
    compatible_brands=isomiso2avc1mp41
    creation_time=1970-01-01 00:00:00
    encoder=Lavf53.19.0
    genre=sport
    track=1
    title=IRWX_TV_Vol_01_1_Pt_4
    episode_id=0101

    the .TXT file comes back with 3 of these above. well i want to be able to only use some of the info above and then i want to create a .CSV file so that i can load into .XLS file

    I have used the following and it's close :

    REM now lets get info we need from result.txt
    pause

    REM checks how many times finds genre and loops that many times
    FOR /f "delims=" %%b IN ('findstr "genre" result.txt') DO (
    for %%f in (result.txt) do (
       set i=0

    for /F "delims= tokens=2,3*" %%l in (%%f) do (
       set /A i+=1
       set line!i!=%%l

    )
    echo  !line9!, !line6!, !line8!,  >> result.csv
    )
    )
    pause

    and this is coming back with the following :

    title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101
    title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101
    title=IRWX_TV_Vol_01_1_Pt_4 , genre=sport, episode_id=0101

    ONLY the 1st video title from .TXT file and not each of them

    AND i would prefer it to come back like this :

    IRWX_TV_Vol_01_1_Pt_4,sport,0101

    Minus the variables, the "=" and the space issues you see above.

    i have been going over and over this trying different things and it is just not working.

    Hopefully someone here can see the issue and help out, Thanks

  • How to create a video from images on a .tif format with FFmpeg ?

    18 décembre 2018, par ecjb

    I just discovered FFmpeg : awesome software. After reading this this stackoverflow question I could efficiently create a movie with pictures in a .png format with the following line :

    ffmpeg -r 1/5 -i img%03d.png -c:v libx264 -vf "fps=25,format=yuv420p" out.mp4

    In an experiment, however, I took high quality pictures on a .tif format and would like to create a movie out of them. I just copied the line above and replaced the name of the files as well as the format .png by .tif but I got a message error saying "This format is not supported". Here is the report :

    [tiff @ 0x7fce5c02a600] This format is not supported (bpp=12, bppcount=1)
    Last message repeated 1 times
    Error while decoding stream #0:0: Invalid data found when processing input
    [tiff @ 0x7fce5c01bc00] This format is not supported (bpp=12, bppcount=1)
    Last message repeated 7 times
    Cannot determine format of input stream 0:0 after EOF
    Error marking filters as finished
    Conversion failed!

    Should I just forget it or is there a workaround with ffmpeg ?

  • FFMpeg overlay and fade images and text in and out at over video background

    28 décembre 2019, par grootester

    Prior to applying the drawbox and drawtext text option I was able to fade in and out images easily. However, attempting to incorporate the drawtext produces unwanted errors. Any ideas how this could be rememdied ? Love to show multi-line text (different fonts) centered over box at specific times with fade in fade out times that works alongside images fading in out at specific times.

    ffmpeg -i vids/testVid.mp4 -loop 1 -i slideshow/pic1.png -loop 1 -i slideshow/pic2.png -loop 1 -i slideshow/pic3.png -i slideshow/pic4.png -filter_complex "[0:v]drawbox=x=40:y=40:w=250:h=75:color=white,drawtext=fontfile=arialb.ttf:fontsize=24:font color=black:text=Micky Mouse,drawtext=fontfile=arial.ttf:fontsize=24 : font color=black:text=January 1st 1938 — December 19th 2019fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+4/TB[ovr1] ; [2]fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+10/TB[ovr2] ; [3]fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+16/TB[ovr3] ; [4]fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+22/TB[ovr4] ; [0:v][ovr1]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,4,10)’[base1] ; [base1][ovr2]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,10,16)’[base2] ; [base2][ovr3]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,16,22)’[base3] ; [base3][ovr4]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,22,28)’[out]" -map "[out]" -c:v libx264 -c:a copy -flags +global_header -crf 27 -preset veryfast -s 1920x1080 -y slideshow/outTest.mp4