
Recherche avancée
Autres articles (78)
-
Participer à sa traduction
10 avril 2011Vous 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 (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (16098)
-
How do I copy ALL metadata from flac/mp3 to alac with ffmpeg ? -movflags isn't working, default just copies basic metadata
24 juillet 2021, par ArchitektI've spent 2 days now reasearching this and all the info I've found doesn't work. If I do this simple command :


ffmpeg -i test.mp3 -y -vn -c:a alac /storage/test.m4a



it copies the standard tags. The -vn is to disable copying album art, I've given up on that. It's easier to just separately use AtomicParsley to handle it because some of the album art isn't height divisble by 2.


Problem is, I have extra custom tags that I need as well. Not necessarily for this particular track, but for all the vinyl I spent 2 months archiving. I've tried using the -movflags use_metadata_tags option but that didn't do anything. In fact, it completely prevented the copying of any metadata whatsoever. Here's the command I tried :


ffmpeg -i test.mp3 -y -movflags use_metadata_tags -vn -c:a alac /storage/test.m4a



On my Windows machine, if I use Foobar2000 and convert the same file to m4a, it copies ALL metadata, 100% to the resultant m4a file. Sadly, I need to do this from a linux command line, as part of an automation process. Both commands I've tried show output metadata equivalent to the input (sans cover art), so I'm not sure what that's about. In case it helps, here's the full screen output when I use that latter command with the -movflags tag. I'm going to use a pastebin link so as to not clutter this post with the verbose output.


I've tried -map_metadata 0 as well, same results, but that's to be expected as from what I've read that just copies the global/standard tags. This must be possible, otherwise I have no idea how foobar2000 would be able to do it. I'd love to just use that, but alas, as stated, I have to do this on Linux command line for this particular situation.


-
Adding a background to an in-video visual progress bar with FFMPEG ?
22 septembre 2023, par Alexei DomUsing the answer to Showing in-video visual progress bar with FFMPEG



I'm trying to give the progress bar itself a background, so for e.g. the bar will be white and the red progress bar over time will cover it.


My first decision was to apply a drawbox filter, so for my purposes the video is 1280 pixels wide and the duration is 6.027 seconds. I've tried


ffmpeg -i uuid_nordvpn.mp4 -vf "color=c=red:s=1280x30[bar];[0][bar]overlay=-w+(w/6.072733)*t:H-h:shortest=1, drawbox=x=0:y=720-30:width=1280:height=30:thickness=fill:color=white" out.mp4


But I got just the white drawbox filter that was drawn on top of the color filter.


The obvious solution was to swap the color and drawbox filter, but that returns an error
Too many inputs specified for the "color" filter
, which I guess means you can only use the color filter at the beginning.

I've also tried applying 2 color filters, the other color filter instead of filling up was going down, but you can't apply 2 color filters, again giving the reason
Too many inputs specified for the "color" filter.


I'm completely lost at this point, how would I give a background to this filter ?


-
ffmpeg-python lib's 'run' function works locally but doesn't work in server
27 décembre 2023, par Fire DeusI am using ffmpeg-python library to process video, specifically I had to add watermark to video. Code is very simple :


def set_watermark_to_video(
 video_url: str,
 directory: str,
 filename: str,
 extension: str,
):
 video_input = ffmpeg.input(video_url)
 output_path: str = f"/tmp/{filename}_watermarked.mp4"
 logo_input = ffmpeg.input(vid_mycar_logo_path)
 video_probe = ffmpeg.probe(video_url)
 video_stream = next(
 (
 stream
 for stream in video_probe["streams"]
 if stream["codec_type"] == "video"
 ),
 None,
 )

 logo_probe = ffmpeg.probe("my_logo_path")
 logo_stream = next(
 (stream for stream in logo_probe["streams"] if stream["codec_type"] == "video"),
 None,
 )
 ffmpeg.filter(
 [video_input, logo_input],
 "overlay",
 10,
 video_stream["height"] - logo_stream["height"] - 10,
 ).output(output_path).run(overwrite_output=True)



Exception occurs when
.run(overwrite_output=True)
function is called.

Exception looks like this : ffmpeg._run.Error : ffmpeg error (see stderr output for detail).

When I print exc.stderr the only warning I can see is "Unknown cover type : 0x1."


But this code works perfectly when I run it locally. I am using docker to build my service, so dependencies, versions, etc all the same in both environments.


The version of ffmpeg I'm using is
5.1.4-0+deb12u1


I tried to run code line by line in server and local machine to compare all parameters and values that have been generated. And still they are the same, so I don't understand why this error happens in server