
Recherche avancée
Autres articles (34)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6133)
-
How to make VideoCodec.Raw with Accord.Video.FFMPEG ?
13 décembre 2020, par ryanm8227I have succeeded with
VideoCodec.MPEG4
but unfortunately, the video quality is terrible :

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Accord.Video.FFMPEG;

namespace Screen_Recorder
{
 public partial class Form1 : Form
 {
 Timer timer1 = new Timer();
 VideoFileWriter vf = new VideoFileWriter();

 System.Random r = new System.Random();

 long rnd(double a, double b)
 {
 return Convert.ToInt64(a + r.NextDouble() * (b - a));
 }

 public Form1()
 {
 InitializeComponent();
 timer1.Interval = 10;
 timer1.Tick += Timer1_Tick;

 vf.Open(Convert.ToString(rnd(9999999999999999, 1000000000000000)) + ".mp4", 1920, 1080, 25, VideoCodec.MPEG4, 1000000);
 
 }

 private void Timer1_Tick(object sender, EventArgs e)
 {
 Bitmap bp = new Bitmap(1920, 1080);
 Graphics gr = Graphics.FromImage(bp);
 gr.CopyFromScreen(0, 0, 0, 0, new Size(bp.Width, bp.Height));

 pictureBox1.Image = bp;
 pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;

 vf.WriteVideoFrame(bp);
 }

 private void buttonStartRecording_Click(object sender, EventArgs e)
 {
 timer1.Start();
 }

 private void buttonStopRecording_Click(object sender, EventArgs e)
 {
 timer1.Stop();
 vf.Close();
 }
 }
}



That being said, I would like to try making the video without the MPEG4, but with RAW, which is simply a non-compressed video. I expect the size to be pretty big, but that is not an issue.


-
dts to m4a (aac) ffmpeg to qaac output issue
10 avril 2014, par user8979Looking to encode 2 dts 5.1 audio sources (
Sonic Landscape
andThe Digital Experience
) to m4a (aac) 5.1 with qaac 2.35. Input piped to qaac using :ffmpeg -report -loglevel verbose -i "input.file" -vn -f wav -codec:a pcm_f32le - | qaac --cvbr 160 --quality 2 --rate=keep --ignorelength --no-delay - -o "output.m4a"
-
Sonic Landscape
duration : 18.848s,qaac
output duration : 18.859s- output .m4a duration mismatch
mediainfo
reports output is 2ch whilemediatab
andffmpeg
report output is 5.1ch (lfe)
-
The Digital Experience
duration : 32.875s,qaac
output duration : 32.875smediainfo
reports output is 2ch whilemediatab
andffmpeg
report output is 5.1ch (lfe)
- what caused the duration mismatch in the first one ? how can it be fixed ?
- is the output 2ch or 5.1ch ?
- if it is 2ch, what
qaac
option(s) leave the channels in output same as input ? - if the output is 5.1ch, does
qaac
then always preserve channels unless explicitly told otherwise ?
- if it is 2ch, what
-
-
FFmpeg Throwing Up Error After Concat Attempt [closed]
8 mai 2021, par OrdinaryCarrot16I am trying to convert my DVDs using FFmpeg, while doing additional filtering and concatenation. The script I am making is very WIP, but it isn't working at the moment. It throws up the error : "No such filter : ''
Error initializing complex filters.
Invalid argument"


Am I using the correct syntax ?


:: Generate dummy file with blank video & audio streams (for spacing out portions when concating)
ffmpeg -y -f lavfi -i color=size=720x480:color=black:rate=30 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -c:a aac -c:v libx264 -t 1 spacer_1_tmp.mkv
ffmpeg -y -f lavfi -i color=size=720x480:color=black:rate=30 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -c:a aac -c:v libx264 -t 2 spacer_2_tmp.mkv

:: Extract intro
ffmpeg -y -avoid_negative_ts make_non_negative -ss 00:00:01 -to 00:00:24.900 -i "ADVENTURE TIME SEASON 1 DISC 1_t00.mkv" -c:v libx264 -crf 8 -preset veryfast -c:a aac -b:a 192k intro_tmp.mkv

:: Extract title card, episode, and credits
ffmpeg -y -avoid_negative_ts make_non_negative -ss 00:00:25.850 -to 00:00:32.500 -i "ADVENTURE TIME SEASON 1 DISC 1_t00.mkv" -c:v libx264 -crf 8 -preset veryfast -c:a aac -b:a 192k title_card_tmp.mkv
ffmpeg -avoid_negative_ts make_non_negative -ss 00:00:32.900 -to 00:11:16.950 -i "ADVENTURE TIME SEASON 1 DISC 1_t00.mkv" -c:v libx264 -crf 8 -preset veryfast -c:a aac -b:a 192k episode_tmp.mkv
ffmpeg -y -avoid_negative_ts make_non_negative -ss 00:11:17.950 -to 00:11:50.900 -i "ADVENTURE TIME SEASON 1 DISC 1_t00.mkv" -c:v libx264 -crf 8 -preset veryfast -c:a aac -b:a 192k credits_tmp.mkv

:: Merge all extracted components and encode into final video
ffmpeg -i spacer_1_tmp.mkv -i intro_tmp.mkv -i spacer_2_tmp.mkv -i title_card_tmp.mkv -i spacer_2_tmp.mkv -i episode_tmp.mkv -i spacer_2_tmp.mkv -i credits_tmp.mkv -i spacer_1_tmp.mkv -filter_complex "[0:0]setsar=1[v1];[0:1][a1];[1:0]setsar=1[v2];[1:1][a2];[2:0]setsar=1[v3];[2:1][a3];[3:0]setsar=1[v4];[3:1][a4];[4:0]setsar=1[v5];[4:1][a5];[5:0]setsar=1[v6];[5:1][a6];[6:0]setsar=1[v7];[6:1][a7];[7:0]setsar=1[v8];[7:1][a8];[8:0]setsar=1[v9];[8:1][a9];[v1][v2][v3][v4][v5][v6][v7][v8][v9][a1][a2][a3][a4][a5][a6][a7][a8][a9]concat=n=9:v=1:a=1[fv][fa]" -map "[fv]" -map "[fa]" -c:v libx264 -crf 20 -c:a aac -b:a 160k "Slumber Party Panic (S01E02).mp4"

pause