Recherche avancée

Médias (91)

Autres articles (66)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

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

  • Download encrypted TS files from video stream

    8 janvier 2021, par albertma789

    Following this post, I usually download transport stream (.ts) files by using the browser's developer console to find the URLs of the .ts files and then I use wget to download them. After that I use the ffmpeg -f concat method to combine them into an mp4 file.

    



    Recently I come across a site that streams videos and I used the same method to download all the .ts files. The site is here. After I downloaded all the individual .ts files, I use ffmprobe to check the file format but realized the .ts files cannot be understood by ffmpeg/ffmprobe. While the site uses http (not https) I thought the streams are not encrypted so I tried to open the .ts file in an hex editor but I don't know what format it is (but they don't look like zip/gz). My question is : are the transport steams encrypted ? If yes, is there a way to decrypt them ? If not ? Can anyone point me to the right direction such that I can make ffmpeg understand them ?

    



    An example transport stream (first & second) are here and here but the link might expire in a bit. In that case you will need to open the site in developer console to find the updated link to the .ts files.

    



    The site uses JW Player 8.0.0

    


  • download part youtube video with ffmpeg ?

    1er août 2020, par testoflow

    I can't get this right
    
ffmpeg works well so can you help me ?

    


    #I can't get this right

    


    #!/bin/bash
var=$(xclip -o)

if [ -z $var ]; then  
    echo 'copia url a descargar al portapapeles'  
fi  

printf "(1) download part of video without audio\n"
printf "(2) download part of audio\n"
echo
echo -n 'opcion: '
read opcion
case $opcion in
    "1") c=$(youtube-dl -g $var | awk '{ if(NR==1) print $0 }' | sed 's/^/"/;s/$/"/')  && echo -n 'start time: ' && read segundos && echo -n 'duration: ' && read duration &&  ffmpeg -i $c -ss $segundos -t $duration probe.mp4;;  
    "2") b=$(youtube-dl -g $var | awk '{ if(NR==2) print $0 }' | sed 's/^/"/;s/$/"/')  && echo $b && ffmpeg -ss 0 -i $b  -t 10 probe.mp3;;  
esac  


    


  • Deprecation error when using imageio.ffmpeg.download()

    29 novembre 2022, par SHASHIKUMAR B J

    I'm trying to merge the prerecorded videos using python Opencv.
But i'm getting the error while importing.

    



    "Traceback (most recent call last):&#xA;  File "video.py", line 4, in <module>&#xA;    from moviepy. editor import VideoFileClip,concatenate_videoclips &#xA;  File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/moviepy/editor.py", line 26, in <module>&#xA;    imageio.plugins.ffmpeg.download()&#xA;  File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/imageio/plugins/ffmpeg.py", line 40, in download&#xA;    "imageio.ffmpeg.download() has been deprecated. "&#xA;RuntimeError: imageio.ffmpeg.download() has been deprecated. Use &#x27;pip install imageio-ffmpeg&#x27; instead.&#x27;"&#xA;</module></module>

    &#xA;&#xA;

    would anyone please help to get out of this problem

    &#xA;&#xA;

    Here is the code :

    &#xA;&#xA;

    import cv2 &#xA;import os &#xA;import time &#xA;from moviepy.editor import VideoFileClip,concatenate_videoclips &#xA;def vidcapt():&#xA;    a = time.strftime("%H,%M,%S")&#xA;    cap = cv2.VideoCapture(0)&#xA;    fourcc = cv2.VideoWriter_fourcc(*&#x27;XVID&#x27;)&#xA;    out = cv2.VideoWriter(a&#x2B;&#x27;.avi&#x27;, fourcc, 24.0, (640,480))&#xA;    t1 = time.time()&#xA;    while(cap.isOpened()):&#xA;            ret, frame = cap.read() &#xA;            if ret == True:&#xA;                    out.write(frame)&#xA;                    cv2.imshow(&#x27;frame&#x27;,frame)&#xA;                    t2 = time.time()&#xA;                    time_diff = t2-t1&#xA;                    if time_diff >= 5:&#xA;                            break&#xA;            else:&#xA;                    break&#xA;    cap.release()&#xA;    out.release()&#xA;    cv2.destroyAllWindows()&#xA;&#xA;while True:&#xA;        vidcapt()&#xA;&#xA;&#xA;clip1 = VideoFileClip("11,05,42.avi")&#xA;clip2 = VideoFileClip("11,05,47.avi").subclip(50,60)&#xA;final_clip = concatenate_videoclips([clip1,clip2])&#xA;final_clip.write_videofile("merged.avi")&#xA;

    &#xA;