
Recherche avancée
Autres articles (106)
-
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
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 (5619)
-
Transcoding AVI to DNxHD mov – only outputting first few seconds of the video
19 janvier 2021, par 3uchreTrying to convert a non-interleaved AVI file into the DNxHD codec with a mov container. The command is working fine, but the output file is coming out at only 4 seconds long (it's supposed to be 1m 5s) Info below, any help would be hugely appreciated. I have a feeling it may be due to the fact that the AVI has a missing index, but my friend spent hours rendering this file out of blender and it would be a shame to have to do it again. Thanks in advance for any help on this – I am not very experienced with this software !


Here's the command and log :


ffmpeg -i /Users/***/Downloads/1MinuteIntro0001-3930.avi -fflags ignidx -map 0:v -c:v dnxhd -pix_fmt yuv422p -filter:v fps=60 -trellis 0 -profile:v dnxhr_lb -y 1_orbitalboom.mov

ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple clang version 12.0.0 (clang-1200.0.32.21)
configuration: --prefix='/usr/local/Cellar/ffmpeg@3.4/3.4.2' --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[avi @ 0x7fb6fb00be00] Non-interleaved AVI without index, switching to interleaved
Input #0, avi, from '/Users/***/Downloads/1MinuteIntro0001-3930.avi':
Duration: 00:01:05.50, start: 0.000000, bitrate: 851990 kb/s
Stream #0:0: Video: rawvideo, bgr24, 4096x2048, 60 fps, 60 tbr, 60 tbn, 60 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> dnxhd (native))
Press [q] to stop, [?] for help
Output #0, mov, to '1_orbitalboom.mov':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: dnxhd (DNXHR LB) (AVdh / 0x68645641), yuv422p, 4096x2048, q=2-1024, 200 kb/s, 60 fps, 15360 tbn, 60 tbc
Metadata:
encoder : Lavc57.107.100 dnxhd
frame= 1 fps=0.4 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= frame= 15 fps=5.4 q=1.0 size= 9472kB time=00:00:00.20 bitrate=387848.5kbitsframe= 29 fps=8.8 q=1.0 size= 19200kB time=00:00:00.41 bitrate=377428.9kbitsframe= 42 fps= 11 q=1.0 size= 28672kB time=00:00:00.63 bitrate=370827.4kbitsframe= 56 fps= 13 q=2.0 size= 37632kB time=00:00:00.83 bitrate=369909.3kbitsframe= 69 fps= 14 q=2.0 size= 47360kB time=00:00:01.05 bitrate=369475.6kbitsframe= 83 fps= 15 q=3.0 size= 57600kB time=00:00:01.28 bitrate=367664.2kbitsframe= 98 fps= 17 q=4.0 size= 68608kB time=00:00:01.53 bitrate=366530.4kbitsframe= 112 fps= 17 q=5.0 size= 79104kB time=00:00:01.76 bitrate=366790.4kbitsframe= 127 fps= 18 q=5.0 size= 90112kB time=00:00:02.01 bitrate=366036.6kbitsframe= 141 fps= 19 q=7.0 size= 100608kB time=00:00:02.25 bitrate=366292.1kbitsframe= 155 fps= 19 q=8.0 size= 110848kB time=00:00:02.48 bitrate=365655.1kbitsframe= 169 fps= 20 q=9.0 size= 121344kB time=00:00:02.71 bitrate=365899.3kbitsframe= 183 fps= 20 q=11.0 size= 131584kB time=00:00:02.95 bitrate=365394.1kbitframe= 197 fps= 21 q=13.0 size= 142080kB time=00:00:03.18 bitrate=365621.8kbitframe= 212 fps= 21 q=17.0 size= 152320kB time=00:00:03.41 bitrate=365204.4kbitframe= 227 fps= 22 q=20.0 size= 163328kB time=00:00:03.66 bitrate=364898.0kbitframe= 242 fps= 22 q=24.0 size= 174592kB time=00:00:03.91 bitrate=365166.2kbitframe= 257 fps= 22 q=28.0 size= 185600kB time=00:00:04.16 bitrate=364898.8kbitframe= 272 fps= 23 q=31.0 size= 196608kB time=00:00:04.41 bitrate=364661.7kbitframe= 277 fps= 22 q=33.0 Lsize= 204982kB time=00:00:04.60 bitrate=365040.8kbits/s speed=0.37x 
video:204980kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000896%



-
first 3 seconds m3u8 clip, converted from another m3u8 clip by node js isn't working
14 janvier 2021, par Alanindex.js



const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
const process = require('process');


const args = process.argv.slice(2);
if (args.length !== 4) {
 console.error('Incorrect number of arguments');
 process.exit(1);
 }
const startTime = args[0];
const timeDuration = args[1];
const inputFile = args[2];
const outputFile=args[3];

ffmpeg.setFfmpegPath(ffmpegPath);

ffmpeg(inputFile)
 .setStartTime(startTime)
 .setDuration(timeDuration)
 .output(outputFile)
 .addOption('-level', 3.0)
 .addOption('-start_number', 0)
 .addOption('-hls_list_size', 0)
 .addOption('-f hls')
 .on('end', function(err) {
 if(!err) { console.log('conversion Done') }
 })
 .on('error', function(err){
 console.log('error: ', err)
 }).run();







Here is my index.js file. I'm running this command on the terminal to generate a m3u8 clip from another m3u8 file

node index.js 6 30 ./input.m3u8 ./output.m3u8

Here 6 is the starting time in seconds and 30 is the time duration. The problem is when the m3u8 clip is created, the first ts file is like this

It's in kb format while others in mb format. So while playing the m3u8 clip, first 3 seconds nothing happens.I have tried this with different m3u8 files and this issue been happening with the first ts file only and it's only 3 seconds
Here is a link to the m3u8 demo file https://mp4.to/downloads/0cb552cd749c4cf4b
Any trick on how to solve this ?




-
first few seconds of m3u8 clip isn't working, which is generated from another m3u8 file by node js
13 janvier 2021, par Alanindex.js



const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
const process = require('process');


const args = process.argv.slice(2);
if (args.length !== 4) {
 console.error('Incorrect number of arguments');
 process.exit(1);
 }
const startTime = args[0];
const timeDuration = args[1];
const inputFile = args[2];
const outputFile=args[3];

ffmpeg.setFfmpegPath(ffmpegPath);

ffmpeg(inputFile)
 .setStartTime(startTime)
 .setDuration(timeDuration)
 .output(outputFile)
 .outputOptions('-hls_list_size 0')
 .on('end', function(err) {
 if(!err) { console.log('conversion Done') }
 })
 .on('error', function(err){
 console.log('error: ', err)
 }).run();






Here is my code which I'm using to create a clip m3u8 formatted file from another m3u8 file. I'm using this command on the terminal to generate it.
Here is the command


node index.js 5 40 ../path/input.m3u8 ../path/output.m3u8


so here 5 is the starting time and 40 is the duration in seconds.
The issue is the first ts file it's generating (for example output_test0.ts) isn't working as it should. It's getting generated in kb format while the others in MB format. So when I play the new m3u8 file, the first 3-5 seconds clip is a static pic but other than that everything works fine.
Here is a link to the m3u8 file. https://mp4.to/downloads/0cb552cd749c4cf4b












As you can see the first output_test0.ts file isn't like others. Other output ts files are in MB while the first one only in kb and this case been happening with the first file only. Any command input I'm missing ? need help.