Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (84)

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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

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

Sur d’autres sites (8747)

  • 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

  • ffmpeg in PHP : Resizing image works, but getting a 404 when trying to load resized image ?

    13 décembre 2016, par Eric David Sartor

    PHP :

    if ($output = shell_exec("ffmpeg -i localhost/video/tools/poster.png -vf scale=32:32 localhost/video/tools/poster_small.png 2>&1") !== NULL)
       echo $output;

    echo "Original:<br /><img src="http://stackoverflow.com/feeds/tag/poster.png" style='max-width: 300px; max-height: 300px' /><br /><br />Resize:<br /><img src="http://stackoverflow.com/feeds/tag/poster_small.png" style='max-width: 300px; max-height: 300px' />";

    So I’m trying to have an image upload form that creates a smaller version of the uploaded image after the upload is verified. All that works fine, and when I run this command with ffmpeg, the $output is 1. That obviously means that it isn’t returning NULL, which means ffmpeg is functioning in theory...but here’s the weird part...

    I’m echoing the images out into the HTML to visually verify if they worked, and what I get (for the resized image) is a 32x32 image container, but the image doesn’t load (404 in the dev console), which to me makes no sense. If the image container is 32x32, that means that the resize must’ve worked because that’s the size I told it to be in the ffmpeg command, but if the page isn’t loading the image, how did it even get the information that the image needed to be 32x32 ? I didn’t set that in the HTML/CSS anywhere...what’s going on here ?

    I’m running this on Windows in a XAMPP server. I’ve installed ffmpeg and verified it is working in the Windows command prompt. All the files are in localhost/video/tools/, other than the ffmpeg files of course, which are in localhost/ffmpeg/.

    A screenshot of the HTML output : http://ericsartor.ca/Capture.PNG

  • How to set as the same size for the input color as the video size ?

    2 janvier 2021, par Yaroslav Akulov

    I have many videos with different widths and heights on which I need to overlay a random color. And I don't know how to set the same size for the color input as the size of each of all of my videos...

    &#xA;

    The exact color size only works for the video with the same size. But when the queue comes to another video with different widths and heights the error popping out.

    &#xA;

    enter image description here

    &#xA;

    for %%i in (*.mp4) do ffmpeg /&#xA;-i "%%i" -f lavfi -i "color=random@1:s=624x1110" /&#xA;-hide_banner -y -c:v libx264 -preset slow /&#xA;-filter_complex /&#xA;"[0:v]setsar=sar=1/1[ckout]; /&#xA; [ckout][1:v]blend=shortest=1:all_mode=overlay:all_opacity=0.05[out]" -map "[out]" "output/%%~ni.mp4"&#xA;

    &#xA;