Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (56)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • How do I resize my video ? in proportion (python)

    23 septembre 2022, par ggn0

    *I am sorry for my poor English. It's a translator.

    


    I used Python moviepy to resize it, but the pixels are broken. I want to make the video 9:16 ratio while maintaining the original image quality. (So that there are black frames on both sides)

    


    from moviepy.editor import *
c = VideoFileClip('test.mp4')
f = c.resize(newsize=(1080,1920))
f.write_videofile('aa.mp4')


    


    This code causes pixels to collapse.

    


    Let me show you an example picture.

    


    Original Video Example

    


    The video I want

    


    Pictures that come out using movie resize (other example pictures, pixels collapse and proportions collapse) Pictures that I don't want

    


    It doesn't have to be moviepy, so I'd appreciate it if you could tell me how to use Python. (PIL ? opencv ?)

    


    Thank you so much. Have a nice day 🙏

    


  • Using FFMPEG and PHP to encode HLS video on the fly

    21 avril 2024, par mrsmith

    I'm re-encoding a MP4 video to HLS using FFMPEG with PHP. I'm trying to then directly serve to the output to a HTML page's <video></video> tag. The following script (encode.php) encodes the video as I require and it works if I use the script url directly in VLC player for example but I'm struggling to get the gtml page to play it. The resulting video file should be compatible with most browsers. I use video.src = &#x27;encode.php&#x27; on my player html page.

    &#xA;

    Any help appreciated.

    &#xA;

    &lt;?php&#xA;&#xA;$input_video = &#x27;whatever.mp4&#x27;;&#xA;&#xA;// video passthrough&#xA;// hls format&#xA;// audio (english strems only) to aac (6 channel)&#xA;// output to stdout&#xA;&#xA;$ffmpeg_command = &#x27;ffmpeg -i &#x27; . escapeshellarg($input_video) . &#x27; -map 0:v -c:v copy -map 0:a:m:language:eng -c:a aac -ac 6 -b:a 320k -f hls -hls_time 30 -hls_list_size 120 -start_number 0 -&#x27;;&#xA;&#xA;$handle = popen($ffmpeg_command, &#x27;rb&#x27;);&#xA;&#xA;header(&#x27;Content-Type: application/vnd.apple.mpegurl&#x27;);&#xA;header(&#x27;Content-Disposition: inline; filename="output.m3u8"&#x27;);&#xA;&#xA;// stream the output to the browser&#xA;fpassthru($handle);&#xA;pclose($handle);&#xA;?>&#xA;

    &#xA;

  • android ffmpeg command line

    8 avril 2014, par user3509984

    i am new android develop.i need to change video color like vintage ,sepia etc .i google many hours at last i found FFMPEG to achieve tat.i had command line for ffmpeg to convert video color ffmpeg -y -i /sdcard/videokit/in.mp4 -strict experimental -vf transpose=1 -s 160x120 -r 30 -aspect 4:3 -ab 48000 -ac 2 -ar 22050 -b 2097k /sdcard/videokit/out.mp4

    i need to know how to compile tat in android. pls provide some tutorial to achieve tat.

    i found one link tat command will work..but it give oly trai version...
    tat link is
    http://androidwarzone.blogspot.in/2011/12/ffmpeg4android.html

    pls provide some tutorial to compile tat command in ffmpeg
    (sorry for my english)
    thanks in advance