Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (65)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (10970)

  • ffmpeg is not creating screenshot from video

    1er décembre 2014, par hitesh

    I need to create a screen shot from video,

    I have followed this tutorial to do the intial setup

    1) I downloaded the ffmpeg from here -[
    http://ffmpeg.zeranoe.com/builds/ ] for 64 bit operating system.

    2) I followed the https://www.youtube.com/watch?v=gU49GiWGGAI , video and did all configuration successfully and phpinfo() shows that ffmpeg has been installed.

    3) Then I tried this to find out whether it is working or not,

    It worked successfully

    4) Next I followed this video tutorial here , but for some reason video thumbnails are not created.

    Not able to find the problem, I don’t see any error also.

    below is my code

    /**
    * FFMPEG-PHP Test Script
    *
    * Special thanks to http://www.sajithmr.me/ffmpeg-sample-code for this code example!
    * See the tutorial at http://myownhomeserver.com on how to install ffmpeg-php.
    */
    error_reporting(1);
    error_reporting(E_ALL ^ E_NOTICE);
    // Check if the ffmpeg-php extension is loaded first
    extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    // Determine the full path for our video
    $vid = realpath('./videos/myvideo.mp4');
    $videosize = filesize($vid);
    $remoteVideo = 'http://video-js.zencoder.com/oceans-clip.mp4';

    //ffmpeg

    $ffmpeg = dirname(__FILE__) . "\bin\\ffmpeg";
    $imageFile = "1.png";
    $image2 = "2.png";
    $size = "120x90";
    $getfromsecond = 7;
    $cmd = "$ffmpeg -i $vid -an -ss $getfromsecond -s $size $imageFile";
    $cmd2 = "$ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size $image2";
    if(!shell_exec($cmd)){
       echo "Thumbnail created";
    }else{
       echo "Error Creating thumbnail";
    }

    if(!shell_exec($cmd2)){
       echo "Thumbnail for remote url was created";
    }else{
       echo "Error Creating thumbnail for remote url ";
    }

     OUTPUT
       Thumbnail created
       Thumbnail for remote url was created

    Please help me solve this issue.

  • garbled audio when streaming to youtube using ffmpeg

    27 mai 2022, par skavish

    I am having some weird audio issues streaming to youtube using ffmpeg.

    


    The same stream on facebook and twitch is fine, but on youtube it has some garbling audio issues.

    


    Here is one of those streams : https://www.youtube.com/watch?v=zat4fhwFGUI

    


    Here is ffmpeg command which was used to stream this video. I removed input, output key and inserted newlines for readability.

    


    This command is streaming to youtube (last tee), to hls (first) and to mp4 (second). hls and mp4 do not have this audio issue. Also no issues if we add another tee to stream say to facebook as well.

    


    It happens only with youtube.

    


    I would appreciate any help or ideas on what is going on there. Thank you !

    


    ffmpeg -i XXXXXXXXXX -r 30 -preset ultrafast -tune zerolatency -threads 0 -vsync 1 -map 0:v -c:v libx264 -crf 23 -g 60.0 -sc_threshold 0 -keyint_min 60.0
-pix_fmt yuv420p -map 1:a:0 -c:a:0 aac -b:a:0 128k -ac 2 -ar 44100 -aq 0 -flags +global_header
-f tee
[f=hls:var_stream_map='v:0,a:0':select='v:0,a:0':hls_time=2.0:hls_playlist_type=event:
hls_flags=independent_segments+temp_file:master_pl_publish_rate=1:hls_segment_type=mpegts:hls_segment_filename=/tmp/10311326958150343888/stream_%v_%02d.ts:
master_pl_name=master.m3u8]/tmp/10311326958150343888/stream_%v.m3u8|

/tmp/10311326958150343888/stream.mp4|

[f=fifo:fifo_format=flv:recover_any_error=0:drop_pkts_on_overflow=1:attempt_recovery=1:recovery_wait_time=1:max_recovery_attempts=100:
onfail=ignore:format_opts=flvflags=no_duration_filesize]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxx


    


  • Ffmpeg integration without cmd ?

    27 août 2019, par forza1010

    I don’t want to use ffmpeg in command prompt. I want to integrate it into my code. So when I use my phone, to watch streams, it is to much time, to use some command line solutions. The live broadcast must be edited, befor the user reach it. Someone told me, that I should use ffmpeg as dll, but I dont know. What are my options ?