
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (101)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
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 (9668)
-
Join 8 mono channels into 7.1 audio stream
10 juin 2020, par Rafal BI'm trying to join 8 mono channels into 7.1 channels layout :



ffmpeg -i L.ac3 -i R.ac3 -i C.ac3 -i Sub.ac3 -i BL.ac3 -i BR.ac3 -i SL.ac3 -i SR.ac3 -filter_complex "[0:a][1:a][2:a][3:a][4:a][5:a][6:a][7:a]join=inputs=8:channel_layout=7.1[a]"
-map "[a]" final-output.ac3




but I'm getting :



Stream mapping:
 Stream #0:0 (ac3) -> join:input0
 Stream #1:0 (ac3) -> join:input1
 Stream #2:0 (ac3) -> join:input2
 Stream #3:0 (ac3) -> join:input3
 Stream #4:0 (ac3) -> join:input4
 Stream #5:0 (ac3) -> join:input5
 Stream #6:0 (ac3) -> join:input6
 Stream #7:0 (ac3) -> join:input7
 join -> Stream #0:0 (ac3)
Press [q] to stop, [?] for help
Output #0, ac3, to 'final-output.ac3':
 Metadata:
 encoder : Lavf58.29.100
 Stream #0:0: Audio: ac3, 48000 Hz, **5.1(side)**, fltp, 640 kb/s (default)
 Metadata:
 encoder : Lavc58.54.100 ac3




Why the output file is 5.1(side) ?



Audio
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Duration : 54 min 5 s
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 248 MiB (100%)
Service kind : Complete Main




I did not found anything that would explain this behavior.
I'm using latest ffmpeg and tried different methods : join, amerge. Always output file is 5.1(side)


-
Trying to convert frames to a video using ffmpeg in a batch script [closed]
21 octobre 2020, par KatzenwerferI'm doing a script to convert frames into a video.


@echo off
set /p ftv="Want to covert the frames to video (yes or no): "
if %ftv%==yes (echo Ok, initializing frame convertion... & timeout 1 >nul & set /p framerate="Please specify the framerate: " & set /p crf="Please specify a CRF value: " & timeout 1 >nul & ffmpeg -framerate %framerate% -i "%cd%\Interpolated_frames\%%6d.png" -c:v libx264 -preset veryslow -crf %crf% "%cd%\FinalVideo.mp4" & echo Video ready, check the folder for the final video & timeout 1 >nul)



It is suppposed to let you choose the framerate and the crf value, but when running it, ffmpeg gives me
Output file #0 does not contain any stream


Dividing it into singular parts like this make it work, but I need to use it with the if


@echo off 
echo Ok, initializing frame convertion...
timeout 1 >nul
set /p framerate="Please specify the framerate: "
set /p crf="Please specify a CRF value: "
timeout 1 >nul & ffmpeg -framerate %framerate% -i "%cd%\Interpolated_frames\%%6d.png" -c:v libx264 -preset veryslow -crf %crf% "%cd%\FinalVideo.mp4"
echo Video ready, check the folder for the final video
timeout 1 >nul



-
FFMPEG output to the Exact Folder using Python
6 août 2021, par Ande Calebi'm working on a simple script using ffmpeg, to reduce the size of a video and add watermark to the video, then move the final output into the compressed folder... this is my script.


the compression works, the watermark works, but the issue i'm having is that the final output is placed in the root folder, and not in the compressed folder... below i my folder structure and my scripts


Folder Structure


rootfolder
 |
 |--media
 |--vids
 |--(video files, mov, mp4s)..
 |--compressed
 |--encode.py



Script (encode.py) file


import os 
import subprocess
from pathlib import Path


dir_path = os.path.dirname(os.path.realpath(__file__)) 
vidfile = dir_path + '/media/vids/mv1.mov' 
watermark = dir_path + '/media/watermark.png'
compressed = str(Path.cwd() / '/media/compressed/')

# 1. compress the video and store it in the media out folder

media_out = str(dir_path + "/compressed_mv1s.mov").replace(" ", "\\ ") 
subprocess.run("ffmpeg -i " + vidfile.replace(" ", "\\ ") +
 " -vcodec libx264 -crf 22 " + media_out, shell=True) 

#2.add watermark to the video and move it to the compressed folder 

media_watermarked = str(compressed + '/w_mv1.mov').replace(" ", "\\ ")
subprocess.run("ffmpeg -i " + media_out + " -i " + watermark +
 " -filter_complex \"overlay=main_w-(overlay_w+10) : main_h-(10+overlay_h)\" " + media_watermarked, shell=True)



in summary, compressing the video works, adding watermark works, but the last line, the error is from the
media_watermarked
variable, i'm not sure what i'm doing wrong but it isn't resolving the folder correctly moving the final output to the folder.. this is the error i get



Also, how can i run two ffmpeg commands concurrently to compress the video and add watermark at once without doing it seperately.
Thanks.