
Recherche avancée
Autres articles (74)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (13519)
-
Why does my yuva444p video always lose alpha channel after transcoding to vp9 ?
1er avril, par Ian YeI'm trying to convert a video with alpha channel using FFmpeg, but the transparency information gets lost in the output.


Here is the input video (prores, yuva444p) detail with ffprobe :


Stream #0:1[0x2](und): Video: prores (4444) (ap4h / 0x68347061), yuva444p12le(bt709), 360x480, 73314 kb/s, 60.13 fps, 60 tbr, 600 tbn (default)
 Metadata:
 creation_time : 2019-05-21T21:23:03.000000Z
 handler_name : Core Media Video
 vendor_id : appl
 encoder : Apple ProRes 4444



And my command is below :


ffmpeg -i alpha_prores.mov -c:v libvpx-vp9 -pix_fmt yuva420p -auto-alt-ref 0 out.webm



There is the output info :


Output #0, webm, to 'out.webm':
 Metadata:
 major_brand : qt
 minor_version : 0
 compatible_brands: qt
 com.apple.quicktime.creationdate: 2019-05-14T13:47:17-0700
 com.apple.quicktime.location.ISO6709: +37.3367-122.0094/
 com.apple.quicktime.make: Apple
 com.apple.quicktime.model: iPhone X
 com.apple.quicktime.software: 12.1.2
 encoder : Lavf61.7.100
 Stream #0:0(und): Video: vp9, yuva420p(tv, bt709, progressive), 360x480, q=2-31, 60 fps, 1k tbn (default)
 Metadata:
 creation_time : 2019-05-21T21:23:03.000000Z
 handler_name : Core Media Video
 vendor_id : appl
 encoder : Lavc61.19.101 libvpx-vp9
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A



We can see pix_fmt is still yuva420p, but after finished, I use ffprobe to check it, and the result changed !


Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, bt709, progressive), 360x480, SAR 1:1 DAR 3:4, 60 fps, 60 tbr, 1k tbn (default)
 Metadata:
 alpha_mode : 1
 HANDLER_NAME : Core Media Video
 VENDOR_ID : appl
 ENCODER : Lavc61.19.101 libvpx-vp9
 DURATION : 00:00:05.950000000



The pix_fmt turn to yuv420p, which means lose alpha channel. Also we can see there is an extra info in metadata
alpha_mode: 1
.

By the way, the result webm video can display its transparent pixel correctly in browser.


When I try to overlay it on a mp4 video, transparent pixels turn to black pixels :


ffmpeg -i background.mp4 -i out.webm -filter_complex "[0][1]overlay=x=10:y=10" output2.mp4



And when I overlay the prores video on the same mp4, result is correct.


ffmpeg -i background.mp4 -i alpha_prores.mov -filter_complex "[0][1]overlay=x=10:y=10" output2.mp4



So I wonder the difference between yuva and alpha_mode:1.


And the reason why vp9 would lose alpha channel when overlay on a mp4 video.


It's better if you can provide other pixel format for my purpose(I want it can display correctly when overlay on mp4) !


Thanks !


-
How to create Automator service for multiple ffmpeg command
31 janvier 2017, par user413734There are many tutorials for creating an automator service that calls an ffmpeg one liner script, like so e.g :
http://apple.stackexchange.com/questions/129929/automating-ffmpeg-using-automator-service
But I would like this service to do more than just a one liner. There is the option to chain commands with && but that makes it rather confusing.
How can I create an automator service that does one transformation and after it is done the next line etc, e.g :for f in "$@"
do
ffmpeg -i "$f" -c:v copy -c:a copy "${f%.*}.mp4"
ffmpeg -ss 00:00:01 -i "$f" -frames:v 1 "${f%.*}.jpg"
....
doneOr attach this service to one folder that if I drop a file it automatically does the require conversions.
Thanks
-
FFMPEG - Edit Audio
9 avril 2015, par TonyLooking to edit a blip out of the beginning of a video/audio file... How can I use FFMPEG to only edit the first two seconds of the clip so that there’s no longer that blip in the audio ?
How do I ensure that all 7 audio tracks are affected by the audio filter and then how do I ensure that all 7 are also present in my output file in the same input specs ?
Complete output -
ffmpeg -i ~/Downloads/in.mov -vcodec copy -acodec pcm_s24le -q:a 0 -af "volume=enable='between(t,0,3)':volume=0" ~/Downloads/out2.mov
ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '~/Downloads/in.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-01-16 18:02:27
Duration: 00:00:06.44, start: 0.000000, bitrate: 119128 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709), 1920x1080, 109843 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 (HQ)
timecode : 01:00:00;00
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
Stream #0:8(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:28
handler_name : Apple Alias Data Handler
timecode : 01:00:00;00
File '~/Downloads/out2.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to '~/Downloads/out2.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf56.25.101
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 109843 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 2997 tbc (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 (HQ)
timecode : 01:00:00;00
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2014-01-16 18:02:27
handler_name : Apple Alias Data Handler
encoder : Lavc56.26.100 pcm_s24le
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:7 -> #0:1 (pcm_s24le (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
frame= 193 fps=109 q=-1.0 Lsize= 88166kB time=00:00:06.43 bitrate=112155.7kbits/s
video:86349kB audio:1811kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.006946%