Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (18)

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

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6388)

  • Why does ffmpeg trim my mp4 to gif conversion ?

    12 janvier 2024, par Kong

    I pad my .mp4 file then convert it to a gif but why does ffmpeg trim the gif to a shorter video ?

    


    ffmpeg -i Media1.mp4 -f lavfi -i anullsrc -c:v copy -af apad -t 5.83 Media1extended.mp4
ffmpeg -i Media1extended.mp4 -vf "split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 Media1extended.gif


    


    How do i make it not trim ? e.g. a command -autotrim 0

    


  • ffmpeg FLV to FLV conversion fails [closed]

    8 décembre 2016, par leon

    I am using ClipBucket. I have set up ffmpeg, and I can convert AVI, WMV files to FLV video files without any problem, but now I am trying to convert a FLV video file to FLV video file with different video quality.

    However, there is an error in the conversion. Can someone help me please ?

    Logs :

    Preparing file...
    Unknown file details - Unable to get video details using FFMPEG

    Converting Video
    Conversion Command : /usr/local/bin/ffmpeg -i /home/myspace86/myspace86.com/files/conversion_queue/136667418894906.flv -f flv -vcodec libx264 -r 30 -vf 'movie=/home/myspace86/public_html/player_logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]' -ab 320000 /home/myspace86/myspace86.com/files/videos/136667418894906.flv 2> /home/myspace86/myspace86.com/files/temp/136667424191b8e.tmp

    Conversion Details

    ffmpeg version N-52385-g6d7ec4f Copyright (c) 2000-2013 the FFmpeg developers
    built on Apr 22 2013 16:08:27 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)
    configuration: --prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libx264 --enable-libxvid
    libavutil 52. 27.100 / 52. 27.100
    libavcodec 55. 5.100 / 55. 5.100
    libavformat 55. 3.100 / 55. 3.100
    libavdevice 55. 0.100 / 55. 0.100
    libavfilter 3. 60.101 / 3. 60.101
    libswscale 2. 2.100 / 2. 2.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 3.100 / 52. 3.100
    Input #0, flv, from '/home/myspace86/myspace86.com/files/conversion_queue/136667418894906.flv':
    Metadata:
    metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
    hasKeyframes : true
    hasVideo : true
    hasAudio : true
    hasMetadata : true
    canSeekToEnd : false
    datasize : 40992128
    videosize : 37546219
    audiosize : 3247153
    lasttimestamp : 728
    lastkeyframetimestamp: 727
    lastkeyframelocation: 40978250
    Duration: 00:12:08.16, start: 0.000000, bitrate: 450 kb/s
    Stream #0:0: Video: vp6f, yuv420p, 648x459, 409 kb/s, 29.97 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 32 kb/s
    [libx264 @ 0x146d900] height not divisible by 2 (648x459)
    Output #0, flv, to '/home/myspace86/myspace86.com/files/videos/136667418894906.flv':
    Metadata:
    metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
    hasKeyframes : true
    hasVideo : true
    hasAudio : true
    hasMetadata : true
    canSeekToEnd : false
    datasize : 40992128
    videosize : 37546219
    audiosize : 3247153
    lasttimestamp : 728
    lastkeyframetimestamp: 727
    lastkeyframelocation: 40978250
    Stream #0:0: Video: h264, yuv420p, 648x459, q=-1--1, 90k tbn, 30 tbc
    Stream #0:1: Audio: none, 22050 Hz, mono, s16p
    Stream mapping:
    Stream #0:0 -> #0:0 (vp6f -> libx264)
    Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


    Unknown file details - Unable to get output video details using FFMPEG


    Time Took : 0.3056 seconds

    conversion_status : completed
  • FFMPEG MKV -> MP4 Batch Conversion

    15 juillet 2024, par blaziken386

    I'm trying to write a program that lets me convert a series of .mkv files with subtitle files into .mp4 files with the subs hardcoded.

    


    Right now, the script I use is

    


    ffmpeg -i input.mkv -vf subtitles=input.mkv output.mp4



    


    This is fine, but it means I can only convert them one at a time, and it's kind of a hassle because it means I have to fiddle with it every few minutes to set up the next one.

    


    I have another script I use for converting .flac files to .mp3 files, which is

    


    @ECHO OFF

FOR %%f IN (*.flac) DO (
echo Converting: %%f
ffmpeg -i "%%f" -ab 320k -map_metadata 0 "%%~nf.mp3"
)

echo Finished

PAUSE



    


    Running that converts every single .flac folder into an .mp3 equivalent, with the same filename and everything.

    


    I've tried to combine the above scripts into something like this :

    


    @ECHO OFF

FOR %%f IN (*.mkv) DO (
echo Converting: %%f
ffmpeg -i "%%f" -vf subtitles=%%f "%%~nf.mp4"
)

echo Finished

PAUSE


    


    but every time I do so, it returns errors like "invalid argument" or "unable to find a suitable output type", or "error initializing filters", or "2 frames left in the queue on closing" or something along those lines. I've swapped out subtitles=%%f for "subtitles-%%f" or subtitles="%%f.mkv" and so on and so forth, and none of those give me what I want either. Sometimes it creates Empty .mp4 file containers with nothing in them, sometimes it does nothing at all.

    


    I don't really understand what exactly is happening under the hood in that flac->mp3 code, because I grabbed it from a different stackoverflow post years ago. All I know is that trying to copy that code and repurpose it into something else doesn't work. Is this just an issue where I've fucked up the formatting of the code and not realized it, or is this a "ffmpeg can't actually do that because of a weird technical issue" thing ?

    


    I also tried the code listed here, when Stackoverflow listed that as a possible duplicate, but that gave me similar errors, and I don't really understand why !

    


    Also, if it's relevant, I'm running windows.