Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (11280)

  • How can i implement of video editor on ffmpeg

    13 octobre 2014, par Baek Seung Hoon

    I’m using ffmpeg least version.

    I want to make video editor on Windows or Android Application through NDK..

    Video Editor must be supported to add Text(front or end frame), add transition effects between two clips, add fade-in/out effect..

    So I found some libraries, such as ffmpeg, opencv, mlt framework, kdenlive etc but I don’t know what to choose.

    If I use ffmpeg library on the project, how can I implements this function ??

  • Metadata in mp3 not working when piping from ffmpeg with album art

    10 février 2019, par Cromon

    In my program I am piping a webm from a stream to ffmpeg and then pipe the output to a http request. Part of the process is adding metadata for the mp3. This has so far worked great. However after adding an image as album art it has started to act unexpected.

    First this is the command line I am using inside the program :

       val parameters = listOf("ffmpeg",
               "-i", "-",
               "-i", albumImage.absolutePath,
               "-map", "0",
               "-map", "1",
               "-c:v", "copy",
               "-f", "mp3",
               "-id3v2_version", "4",
               "-metadata", "title=${info.title}",
               "-metadata", "album=YouTube",
               "-metadata", "artist=${info.author}",
               "-metadata:s:v", "title=Album Cover",
               "-metadata:s:v", "comment=Cover (front)",
               "-"
       )

    It creates a valid mp3 file and I can find both the metadata and the image in the mp3 file, however when playing it none of them are displayed in VLC or anywhere else. To test various configurations I have converted it to the command line.

    In a first try I have saved the video and the image and stopped using pipes altogether, which results in this :

    ffmpeg -i video.webm -i image.jpeg -map 0 -map 1 -c:v copy -f mp3 -id3v2_version 4 -metadata title="Tiësto & KSHMR feat. Vassy - Secrets (Official Music Video)" -metadata album="YouTube" -metadata artist="Spinnin' Records" -metadata:s:v title="Album Cover" -metadata:s:v comment="Cover (front)" output3.mp3

    In this case all metadata including the album art is displayed in VLC.

    I then recreated the same thing as in my program, piping both video input and audio output, looking like this :

    ffmpeg -i - -i image.jpeg -map 0 -map 1 -c:v copy -f mp3 -id3v2_version 4 -metadata title="Tiësto & KSHMR feat. Vassy - Secrets (Official Music Video)" -metadata album="YouTube" -metadata artist="Spinnin' Records" -metadata:s:v title="Album Cover" -metadata:s:v comment="Cover (front)" - < video.webm > output3.mp3

    This file is the same as my programs output. Neither title nor album nor album image are displayed (however it can play the file)

    To test a few more options I have hardcoded the output file but pipe the input file like this :

    ffmpeg -i - -i image.jpeg -map 0 -map 1 -c:v copy -f mp3 -id3v2_version 4 -metadata title="Tiësto & KSHMR feat. Vassy - Secrets (Official Music Video)" -metadata album="YouTube" -metadata artist="Spinnin’ Records" -metadata:s:v title="Album Cover" -metadata:s:v comment="Cover (front)" output3.mp3 < video.webm

    Now the metadata is working again. When hardcoding the input video and piping the output, its again gone.

    So to sum up : When piping the output of ffmpeg the metadata in the file is not properly working. Interestingly the stderr output of ffmpeg looks quite similar

    Hardcoded output3.mp3 :

    ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
    Input #0, matroska,webm, from 'pipe:':
     Metadata:
       encoder         : google/video-file
     Duration: 00:03:39.58, start: -0.007000, bitrate: N/A
       Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Input #1, image2, from 'image.jpeg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 1466 kb/s
       Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 320x180, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (opus (native) -> mp3 (libmp3lame))
     Stream #1:0 -> #0:1 (copy)
    Output #0, mp3, to 'output3.mp3':
     Metadata:
       TPE1            : Spinnin' Records
       TIT2            : Tiësto &amp; KSHMR feat. Vassy - Secrets (Official Music Video)
       TALB            : YouTube
       TSSE            : Lavf57.83.100
       Stream #0:0(eng): Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp (default)
       Metadata:
         encoder         : Lavc57.107.100 libmp3lame
       Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 320x180, q=2-31, 25 tbr, 25 tbn, 25 tbc
       Metadata:
         title           : Album Cover
         comment         : Cover (front)

    With pipe output :

    ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
    Input #0, matroska,webm, from 'pipe:':
     Metadata:
       encoder         : google/video-file
     Duration: 00:03:39.58, start: -0.007000, bitrate: N/A
       Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Input #1, image2, from 'image.jpeg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 1466 kb/s
       Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 320x180, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (opus (native) -> mp3 (libmp3lame))
     Stream #1:0 -> #0:1 (copy)
    Output #0, mp3, to 'pipe:':
     Metadata:
       TPE1            : Spinnin' Records
       TIT2            : Tiësto &amp; KSHMR feat. Vassy - Secrets (Official Music Video)
       TALB            : YouTube
       TSSE            : Lavf57.83.100
       Stream #0:0(eng): Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp (default)
       Metadata:
         encoder         : Lavc57.107.100 libmp3lame
       Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 320x180, q=2-31, 25 tbr, 25 tbn, 25 tbc
       Metadata:
         title           : Album Cover
         comment         : Cover (front)
  • How to stop and pause a video using ffmpeg

    1er juin 2017, par Amartya2562

    I am trying to make a video player using scilab gui. I am using scilab gui in the front end and ffmpeg in the back end. I am able to start the video but I cannot stop or pause it. Any idea regarding how to stop and pause the video will be appreciated thoroughly ?