Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (22)

  • 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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

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

Sur d’autres sites (4352)

  • 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