Recherche avancée

Médias (91)

Autres articles (81)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (10635)

  • Why is Visual Studio executing the wrong code [closed]

    15 mai 2023, par Jacob

    Not sure what is going on here. Code that I have deleted is still executing. I am sending parameters to FFMPEG for video editing. FFMPEG is then processing parameters that I previously sent, which is now deleted. While trying to figure this out, I sent the string "WTF !" directly to the FFMPEG parameters and FFMPEG is still processing the video with old parameters. The string "WTF !" should have broke FFMPEG so it is clearly executing the wrong code. Hasd anyone ever encountered this ?

    


  • Seek issue with ffmpeg

    1er janvier 2015, par Ramesh

    I implemented one audio player using with ffmpeg for playing all format audio files in android.I used following code for seek the song.

            int64_t seekTime = av_rescale_q(seekValue * AV_TIME_BASE,
                       AV_TIME_BASE_Q,
                       fmt_ctx->streams[seekStreamIndex]->time_base);

               int64_t seekStreamDuration =
                       fmt_ctx->streams[seekStreamIndex]->duration;

               int flags = AVSEEK_FLAG_BACKWARD;
               if (seekTime > 0 && seekTime < seekStreamDuration)
                   flags |= AVSEEK_FLAG_ANY;

               int ret = av_seek_frame(fmt_ctx, seekStreamIndex, seek_target,
                       flags);

               if (ret < 0)
                   ret = av_seek_frame(fmt_ctx, seekStreamIndex, seekTime,
                           flags);

             avcodec_flush_buffers(dec_ctx);

    Its working fine for most of the songs.But some of the mp3 songs getting duration problem.For example if the song length is 2 mins if i seek the song to some position then finally song ends with 2 mins 10 seconds.I get this issue with only mp3 songs.Without seeking the same song ends with exact time. I am using ffmpeg 2.1 The some code working fine with ffmpeg 0.11.1 Please provide any information about this issue.

  • Add metadata while converting MKV to MP3 with FFMPEG

    17 août 2020, par Elderhoard

    I am trying to convert MKV files to MP3, while adding metadata and album artwork through a batch file. I am generating a PNG through FFMPEG, then converting to MP3 while adding metadata, and finally adding the album artwork i got initially.

    


    I have tried adding the metadata while converting to MP3 and while adding the artwork to no avail. I read something about it flushing the buffer too quickly but thought I might be able to get around it by adding it while converting it.

    


    Individually, all parts work, but I can't get it to add the title and artist to the metadata, or at least in a place where VLC can read it. any suggestions ?

    


    @echo off
::Extracts a PNG thumbnail 
for %%A in ("*.mkv") do (ffmpeg -ss 30 -i "%%A" -qscale:v 4 -frames:v 1 "%%~nA.png")

::Convert from MKV to MP3 and adds title and artist based on file name delimited by "-" eg Metallica - Enter Sandman.mkv
SETLOCAL ENABLEDELAYEDEXPANSION
for %%A in ("*.mkv") do (
    set filename=%%~nA
    set artist=
    set song=
    echo "!filename!"

    for /F "tokens=1,2 delims=-" %%G in ("!filename!") do (
        set artist="%%G"
        set song="%%H"
        echo !artist!
        echo !song!
    )

    echo !song! by !artist!

    ffmpeg -i "%%A" -b:a 192K -id3v2_version 4 -write_id3v2 1 -metadata title="%song%" -metadata artist="%artist%" -flush_packets 0 -vn "%%~nA.mp3"
)

::Add Artwork to MP3
for %%A in ("*.mp3") do (ffmpeg -i "%%A" -i "%%~nA.png" -map 0:0 -map 1:0 -c copy -id3v2_version 3 "UPDATED%%~nA.mp3")