
Recherche avancée
Autres articles (21)
-
À propos des documents
21 juin 2013, parQue faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
Document bloqué en file d’attente ?
Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...) -
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 -
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 (...)
Sur d’autres sites (3861)
-
ffmpeg won't stop encoding, even with -shortest command
3 mai 2017, par smartzerI am having an issue with ffmpeg stopping the encoding process, and searching on the internet has gotten me no working solutions. I am calling ffmpeg in Linux through Python’s subprocess module, as so :
mergeFiles = subprocess.Popen("ffmpeg -i /home/pi/Video/video.mov -i /home/pi/Audio/test.wav -acodec copy -vcodec copy -map 0:v -map 1:a -shortest /home/pi/Final/output.mkv", shell=True)
The command prompt is waiting for me to manually end the encoding process with "ctrl-c", but I won’t have access to a keyboard to kill the encoding. I just want it to stop when it’s done. I have even attempted to use mergeFiles.kill() from Python after a couple seconds, and that doesn’t even work. Help !
EDIT : If I wasn’t clear, I meant that there is no error, ffmpeg simply won’t continue until I hit "ctrl-c". I just want it to stop encoding when it’s done. This is what my command prompt looks like :
It’s just waiting for me to press "ctrl-c"
-
Using ffmpeg to compress yuv to mkv - output information reduction
15 mai 2021, par MateuszI am using such a command to convert to mkv


fmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -r 25 -pix_fmt yuv420p -i input.yuv output_full_hd.mkv 



But the output of the terminal's console contains too much information. Is it possible to get only this sample output on the console ?


Input #0, rawvideo, from 'input.yuv':
 Duration: 00:10:27.64, start: 0.000000, bitrate: 622080 kb/s
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 622080 kb/s, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
Output #0, matroska, to 'output_full_hd.mkv':
 Metadata:
 encoder : Lavf58.45.100
 Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1080, q=-1--1, 25 fps, 1k tbn, 25 tbc
 Metadata:
 encoder : Lavc58.91.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=15691 fps=7.3 q=-1.0 Lsize= 273565kB time=00:10:27.52 bitrate=3571.3kbits/s speed=0.292x
video:273446kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.043536%



-
How to convert to flac with a specific bitrate ?
8 avril 2024, par Viktor KushnirI want to convert aiff files to flac. On the output file I want to have :
Sample Rate - 44.1 kHz
Bits per sample - 16
Bitrate - 1411 kbps


I use this command :


ffmpeg -i A.aif -c:a flac -compression_level 0 -sample_fmt s16 -ar 44100 -b:a 1411 A.flac



Output :


Input #0, aiff, from 'A.aif':
 Duration: 00:03:18.80, start: 0.000000, bitrate: 1411 kb/s
 Stream #0:0: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (pcm_s16be (native) -> flac (native))
Press [q] to stop, [?] for help
Output #0, flac, to 'A.flac':
 Metadata:
 encoder : Lavf60.3.100
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16, 1 kb/s
 Metadata:
 encoder : Lavc60.3.100 flac
size= 24993kB time=00:03:18.79 bitrate=1029.9kbits/s speed= 406x
video:0kB audio:24985kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.032387%



Я пробовал разные варианты использования настройки -b:a. Но на выходе всегда bitrate=1029.9kbits/s


Как можно получить flac bitrate=1411 ?