Recherche avancée

Médias (91)

Autres articles (67)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

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

Sur d’autres sites (5418)

  • ffmpeg image extraction code not working

    16 mai 2016, par sonam Sharma

    I am using ffmpeg to extract an image out of a video while uploading
    I am using this code for the purpose

    exec('ffmpeg  -i '.$uploadfile.' -ss 00:00:05 -vframes 1  '.$new_image_path);

    But the issue is that sometimes it extractes the image and sometimes it simply dosent

    I have a dedicated server which has already ffmpeg installed there and I just pushed the vendor folder from my local computer to the server by ftp.

    require 'vendor/autoload.php';

    What may be the issue here ?

  • How to create thumbnail about torrent without downloading video files ? [on hold]

    1er septembre 2019, par tty78

    Most of time, torrent sites like RARBG/The Pirate Bay/KickAss would return many query results even through I have typed in many detailed keywords, which is not strange because there are many people upload it.

    So, when i want to watch/download a torrent movie, it’s better to check the video first to find out that :

    • is it a fake video
    • is the video watermarked
    • is there some AD in the video
    • is it 1980*1080 or 640*480 ??

    What i want to do is creating thumbnail of the videos without download them, so that i can save a lot of broadband, disk space and time.

    Now I can create thumbnail with a python tool - vcsi, but it depends on the video file stored in disk.
    In fact, vcsi get meta information with ffprobe and create thumbnail using ffmpeg.

    def probe_media(self, path):
       """Probe video file using ffprobe
       """
       ffprobe_command = [
           "ffprobe",
           "-v", "quiet",
           "-print_format", "json",
           "-show_format",
           "-show_streams",
           path
       ]

       try:
           output = subprocess.check_output(ffprobe_command)
           self.ffprobe_dict = json.loads(output.decode("utf-8"))
       except FileNotFoundError:
           error = "Could not find 'ffprobe' executable. Please make sure ffmpeg/ffprobe is installed and is in your PATH."
           error_exit(error)
    ffmpeg_command = [
           "ffmpeg",
           "-ss", skip_time,
           "-i", self.path,
           "-ss", skip_delay,
           "-vframes", "1",
           "-s", "%sx%s" % (width, height),
       ]

    WebTorrent may be a solution but it’s not good because I have a lot of torrent file to scan.
    I want to create thumbnail on a ubuntu VPS because it can run day and night, and i can post thumbnail under the torrent comments.
    Some key frame, resolution and duration are enough, maybe.
    vcsi sample

  • Getting an error in simple code with opening the file

    10 mars 2016, par Dmitry

    Here is code example :

    char* audio1Path = "in1.sdp";
    if (open_input_file(audio1Path, &input_format_context_0/*it`s null*/, &input_codec_context_0/*it`s null*/) < 0)
    {
       av_log(NULL, AV_LOG_ERROR, "Error while opening file 1\n");
       exit(1);
    }

    in1.sdp is in folder where exe file is. What`s wrong ?