
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (63)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe 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 (...)
Sur d’autres sites (9281)
-
ffmpeg tile screenshot file with uniform distribution over video length
23 octobre 2017, par Michael YousefI’m trying to take a video and create a screenshot file for it. I want it to cover the entire duration of the video and be uniformly distributed over the video. I have a command right now that I found online, it can produce a screenshot file, but it doesn’t cover the entire duration
ffmpeg -ss 00:05:00 -i video.mp4 -frames 1 -vf "select=not(mod(n\,8000)),scale=320:240,tile=4x8" out.png
Instead of having it cap every 80 seconds, I want it to determine what the duration is use that. It should cap the first screen at my initial offset, then however far ahead as necessary.
Also, if anyone knows how to add information to the outputted file at the top, like filename, duration, bitrate, etc., that’s also something I want to output.
-
ffmpeg resample to flac loud clicks/noise
4 août 2017, par Sjoerd StaalI’m using the ffmpeg-api to resample a DSD file to Flac & mp3. I don’t experience any problems with the mp3 resample, but with the flac resample there is always a loud click at the end of a track.
I’m using the FFMpeg API which outputs the following command in command line :
ffmpeg -i input.dsf -ar 192000 -acodec flac output.flac
Output :
ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 7.0.2 (clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.5 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mjpeg @ 0x7fe617809000] Changeing bps to 8
[dsf @ 0x7fe617000000] Estimating duration from bitrate, this may be inaccurate
Input #0, dsf, from 'input.dsf':
Metadata:
title : Bach Brandenburg no. 6 - Allegro
artist : Florilegium
album : Brandenburg Concertos
track : 3
Tool Version : 18.0.212
genre : Classical
composer : Bach
Catalog # : 35914
Format : DSD
ISRC : NLA460912792
Label : Channel Classics
Tool Name : Media Center
date : 2014
Duration: 00:06:00.31, bitrate: 5644 kb/s
Stream #0:0: Audio: dsd_lsbf_planar, 352800 Hz, stereo, fltp, 5644 kb/s
Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1429x1417 [SAR 300:300 DAR 1429:1417], 90k tbr, 90k tbn, 90k tbc
Metadata:
title : Picture
comment : Cover (front)
[flac @ 0x7fe617122000] encoding as 24 bits-per-sample
Output #0, flac, to 'output.flac':
Metadata:
title : Bach Brandenburg no. 6 - Allegro
artist : Florilegium
album : Brandenburg Concertos
TRACKNUMBER : 3
Tool Version : 18.0.212
genre : Classical
composer : Bach
Catalog # : 35914
Format : DSD
ISRC : NLA460912792
Label : Channel Classics
Tool Name : Media Center
date : 2014
encoder : Lavf56.40.101
Stream #0:0: Audio: flac, 192000 Hz, stereo, s32 (24 bit), 128 kb/s
Metadata:
encoder : Lavc56.60.100 flac
Stream mapping:
Stream #0:0 -> #0:0 (dsd_lsbf_planar (native) -> flac (native))
Press [q] to stop, [?] for help
size= 306541kB time=00:05:58.10 bitrate=7012.3kbits/s
video:0kB audio:306532kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002733% -
ffmpeg called from python random failure
9 juillet 2017, par Jim WeisbinPython 2.7.1 on Mac OS X 10.12.5, ffmpeg 3.3.2 (installed with Brew).
ffmpeg is called in a loop though thousands of Apple Lossless files, converting to mp3 and tagging.
thecall = '/usr/local/bin/ffmpeg -hide_banner -loglevel error -i ' + <path to="to" m4a="m4a" file="file"> + ' -i ' + <path to="to" artwork="artwork"> + ' -map 0:0 -map 1:0 -id3v2_version 3 -map_metadata -1 -metadata album="xxx" -metadata artist="xxx" -metadata comment="Cover (Front)" -f mp3 -b:a 128K ' + <path to="to" mp3file="mp3file">'
</path></path></path>os.system(thecall)
this works perfectly from the command line, and also works from Python most of the time, but randomly fails with the message
[alac @ 0x7fc888858800] invalid samples per frame : 0
Error while decoding stream #0:0 : Invalid data found when processing inputWhat’s strange is that on the files it failed on, if I run it from the command line it succeeds. I tried putting in time.sleep(5) but no change. And the failures are not always on the same file, so it seems like it’s a memory or threading issue. I also tried calling with subprocess() instead, no change.
Any help would be appreciated.