Advanced search

Medias (91)

Other articles (66)

  • Organiser par catégorie

    17 May 2013, by

    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 March 2010, by

    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 April 2011, by

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

On other websites (5320)

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

    1 September 2019, by 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 March 2016, by 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?

  • Unable to run a program in PATH from Java code

    17 November 2012, by user1831004

    I am developing a Red5 media server application on a Mac (Dynamic Web Project in Eclipse). The app has to invoke FFMPEG to convert the video to a different format.

    I added "/Applications/FFMPEG" to PATH variable by running the following command in Terminal:

    echo 'export PATH=/Applications/FFMPEG:$PATH' >> ~/.profile

    When I invoke FFMPEG from terminal, it works fine. However, every time I run it from Java code with:

    Process p = Runtime.getRuntime().exec("ffmpeg");
    p.waitFor();

    I get the following error:

    Cannot run program "ffmpeg": error=2, No such file or directory

    I thought this might be a security limitation specific to the type of project, but even a simple Java program produces the same result. What am I missing?


    Changing "ffmpeg" to full path of the application works, but I don't want to upload FFMPEG into the same directory as Red5 on a production server.