
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (75)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 (10505)
-
Adding album cover art to FLAC audio files using `ffmpeg`
27 décembre 2022, par user5395338I have ripped files from an audio CD I just bought. I ripped using the
Music
app on my Macbook Pro, Catalina 10.15.6 - output format was.wav
as there was no option forFLAC
. My plan was to change format usingffmpeg
:

% ffmpeg -v
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers



Except for the "album cover artwork" addition, the
.wav-to-.flac
conversion implemented in the shortbash
script below seems to have worked as expected :

#!/bin/bash
for file in *.wav
do
echo $file 
ffmpeg -loglevel quiet -i "$file" -ar 48000 -c:a flac -disposition:v AnotherLand.png -vsync 0 -c:v png "${file/%.wav/.flac}"
done



A script very similar to this one worked some time ago on a series of
FLAC-to-FLAC
conversions I had to do to reduce the bit depth. However, in that case, the originalFLAC
files already had the artwork embedded. Since this script produced usable audio files, I decided that I would try adding the artwork with a secondffmpeg
command.

I did some research, which informed me that there have been issues with
ffmpeg
(1, 2, 3, 4) on adding album artwork toFLAC
files.

I have tried several commands given in the references above, but still have not found a way to add album artwork to my
FLAC
files. The following command was a highly upvoted answer, which I felt would work, but didn't :

% ffmpeg -i "01 Grave Walker.flac" -i ./AnotherLand.png -map 0:0 -map 1:0 -codec copy -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" output.flac

...


Input #0, flac, from '01 Grave Walker.flac':
 Metadata:
 encoder : Lavf58.76.100
 Duration: 00:06:59.93, start: 0.000000, bitrate: 746 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
Input #1, png_pipe, from './AnotherLand.png':
 Duration: N/A, bitrate: N/A
 Stream #1:0: Video: png, rgba(pc), 522x522, 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'output.flac' already exists. Overwrite? [y/N] y
[flac @ 0x7fb4d701e800] Video stream #1 is not an attached picture. Ignoring
Output #0, flac, to 'output.flac':
 Metadata:
 encoder : Lavf58.76.100
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Stream #0:1: Video: png, rgba(pc), 522x522, q=2-31, 25 fps, 25 tbr, 25 tbn, 25 tbc
 Metadata:
 title : Album cover
 comment : Cover (front)
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #1:0 -> #0:1 (copy)

...




I don't understand the error message :
Video stream #1 is not an attached picture.
It seems to imply that that the artwork is "attached" (embedded ???) in the input file, but as I've specified the artwork is a separate file, this makes no sense to me.

-
FFMPEG Artwork cover image not set [duplicate]
16 août 2021, par DP_DevBellow is my FFMPEG command where is converting video file to audio and also setting artwork, but artwork not setting in audio file. FFMPEG command not giving any error.


[-y, -i, input.mp4, -i, artwork.jpg, -ss, 00:00:00.00, -to, 00:00:15.00, -map, 0:1, -map, 1, -vn, -acodec, copy, -metadata, comment=Cover (Front), -id3v2_version, 3, -write_id3v1, 1, output.m4a]


I am extracting audio file from video file and adding art cover to audio output file. Output generated in FFmpeg process. Cover of output file is not set and no error in output. :


I/ffmpeg-kit: ffmpeg version v4.4-dev-3015-gc0d0b1c4f6
I/ffmpeg-kit: Copyright (c) 2000-2021 the FFmpeg developers
I/ffmpeg-kit: configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/22.0.7026061/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/storage/dark/projects/ffmpeg-kit/prebuilt/android-arm64-lts/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang++ --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs='-L/storage/dark/projects/ffmpeg-kit/prebuilt/android-arm64-lts/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-static --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-sdl2 --enable-libmp3lame --enable-iconv --enable-libvorbis --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libilbc --enable-libopus --enable-libsoxr --enable-libtwolame --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec
V/FA: Activity resumed, time: 113363059
I/ffmpeg-kit: libavutil 56. 65.100 / 56. 65.100
I/ffmpeg-kit: libavcodec 58.123.100 / 58.123.100
I/ffmpeg-kit: libavformat 58. 67.100 / 58. 67.100
I/ffmpeg-kit: libavdevice 58. 12.100 / 58. 12.100
I/ffmpeg-kit: libavfilter 7.106.100 / 7.106.100
I/ffmpeg-kit: libswscale 5. 8.100 / 5. 8.100
I/ffmpeg-kit: libswresample 3. 8.100 / 3. 8.100

I/ffmpeg-kit: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4'
I/ffmpeg-kit: Metadata:
I/ffmpeg-kit: major_brand : 
I/ffmpeg-kit: mp42
I/ffmpeg-kit: minor_version : 
I/ffmpeg-kit: 0
I/ffmpeg-kit: compatible_brands: 
I/ffmpeg-kit: isommp42
I/ffmpeg-kit: creation_time : 
I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z
I/ffmpeg-kit: com.android.version: 
I/ffmpeg-kit: 10
I/ffmpeg-kit: Duration: 
I/ffmpeg-kit: 00:00:51.40
I/ffmpeg-kit: , start: 
I/ffmpeg-kit: 0.000000
I/ffmpeg-kit: , bitrate: 
I/ffmpeg-kit: 20306 kb/s
I/ffmpeg-kit: Stream #0:0
I/ffmpeg-kit: (eng)
I/ffmpeg-kit: : Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m), 1920x1080, 20084 kb/s
I/ffmpeg-kit: , SAR 1:1 DAR 16:9
I/ffmpeg-kit: , 
I/ffmpeg-kit: 30 fps, 
I/ffmpeg-kit: 30 tbr, 
I/ffmpeg-kit: 90k tbn, 
I/ffmpeg-kit: 180k tbc
I/ffmpeg-kit: (default)
I/ffmpeg-kit: Metadata:
I/ffmpeg-kit: rotate : 
I/ffmpeg-kit: 90
I/ffmpeg-kit: creation_time : 
I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z
I/ffmpeg-kit: handler_name : 
I/ffmpeg-kit: VideoHandle
I/ffmpeg-kit: vendor_id : 
I/ffmpeg-kit: [0][0][0][0]
I/ffmpeg-kit: Side data:
I/ffmpeg-kit: 
I/ffmpeg-kit: displaymatrix: rotation of -90.00 degrees
I/ffmpeg-kit: Stream #0:1
I/ffmpeg-kit: (eng)
I/ffmpeg-kit: : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
I/ffmpeg-kit: (default)
I/ffmpeg-kit: Metadata:
I/ffmpeg-kit: creation_time : 
I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z
I/ffmpeg-kit: handler_name : 
I/ffmpeg-kit: SoundHandle
I/ffmpeg-kit: vendor_id : 
I/ffmpeg-kit: [0][0][0][0]
W/turn.videotomp: Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObje
I/ffmpeg-kit: Input #1, image2, from 'cover.jpg'
I/ffmpeg-kit: Duration: 
I/ffmpeg-kit: 00:00:00.04
I/ffmpeg-kit: , start: 
I/ffmpeg-kit: 0.000000
I/ffmpeg-kit: , bitrate: 
I/ffmpeg-kit: 245926 kb/s
I/ffmpeg-kit: Stream #1:0
I/ffmpeg-kit: : Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2420x3226 
I/ffmpeg-kit: , 
I/ffmpeg-kit: 25 fps, 
I/ffmpeg-kit: 25 tbr, 
I/ffmpeg-kit: 25 tbn, 
I/ffmpeg-kit: 25 tbc
I/ffmpeg-kit: Output #0, ipod, to 'output.m4a'
I/ffmpeg-kit: Metadata:
I/ffmpeg-kit: major_brand : 
I/ffmpeg-kit: mp42
I/ffmpeg-kit: minor_version : 
I/ffmpeg-kit: 0
I/ffmpeg-kit: compatible_brands: 
I/ffmpeg-kit: isommp42
I/ffmpeg-kit: com.android.version: 
I/ffmpeg-kit: 10
I/ffmpeg-kit: encoder : 
I/ffmpeg-kit: Lavf58.67.100
I/ffmpeg-kit: Stream #0:0
I/ffmpeg-kit: (eng)
I/ffmpeg-kit: : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
I/ffmpeg-kit: (default)
I/ffmpeg-kit: Metadata:
I/ffmpeg-kit: creation_time : 
I/ffmpeg-kit: 2021-05-30T10:25:09.000000Z
I/ffmpeg-kit: handler_name : 
I/ffmpeg-kit: SoundHandle
I/ffmpeg-kit: vendor_id : 
I/ffmpeg-kit: [0][0][0][0]
I/ffmpeg-kit: Stream mapping:
I/ffmpeg-kit: Stream #0:1 -> #0:0
I/ffmpeg-kit: (copy)
I/ffmpeg-kit: Press [q] to stop, [?] for help
I/ffmpeg-kit: size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x 




-
fate/image : Modify aliaspix tests to also cover the encoder
6 octobre 2021, par Andreas Rheinhardt