
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 (78)
-
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 ;
-
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (9574)
-
Can I use a text file's content to create a filtered list for ffmpeg ?
20 octobre 2022, par Angel Lopez JrI am attempting to make a CMD script that will


- 

- Create a text file that lists file names followed by video codec (using ffprobe)
- Create a new text from the list so that any file with x265 codec is removed from the list (and formated as

file "*filepath*"
- Run ffmpeg on the edited list to transcode remaining files to x265.








I have a script that does #1


for /R %%f IN (*.mkv,*.avi,*.mp4,*.m2ts,*.mts,*.rm,*.m4v) do echo "%%f" >>Probe.txt & ffprobe -v error -hide_banner -of default=noprint_wrappers=0 -print_format flat -select_streams v:0 -show_entries stream=codec_name "%%f" >>Probe.txt & echo. >>Probe.txt



which outputs




"filepath"

streams.stream.0.codec_name="codec"

"filepath"

streams.stream.0.codec_name="codec"



and I have a script that will do #3


for /R %%f IN (*.mkv,*.avi,*.mp4,*.m2ts,*.mts,*.rm,*.m4v) do ffmpeg -hide_banner -hwaccel_output_format qsv -i "%%f" -c:v libx265 -c:a ac3 -x265-params crf=25 "%%f.mkv"



I am not sure if #2 is even possible though.


End result of task 2 should be that in probe.txt, any line that has a

streams.stream.0.codec_name
value of anything besideshevc
will have the line immediately above it written to a new txt file with the word file in front.

final goal is getting all three tasks to run under one batch file (each task running sequentially)


Is there any help on what I am missing to be able to unify these and get #2 to happen


-
Invalid data found when processing input on ffmpeg m4s to mp4 transfer
1er mars 2020, par keith scottThe result of the power shell window
I saw a post on here about converting m4s to mp4 and I have followed the steps of concatenating all the files into another m4s file that I called all.m4s and when I use the command ffmpeg -i allm4s.m4s -c copy video.mp4. I made the combined m4s file by coding an exe to add all the m4s files that have the word video in them to the m4s file. Here is the source code written in c# if you compile the code then that is the code I have used to make the m4s
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace files
{
class Program
{
static void Main(string[] args)
{
string dir = Directory.GetCurrentDirectory();
string[] info = Directory.GetFiles(dir);
Console.WriteLine(dir + "\\allm4s.m4s");
Console.ReadKey();
foreach (string name in info)
{
if (Path.GetFileName(name).Contains(".m4s") && Path.GetFileName(name).Contains("video"))
{
using (Stream srcStream = File.OpenRead(name))
{
using (Stream destStream = File.OpenWrite(dir+"\\allm4s.m4s"))
{
srcStream.CopyTo(destStream);
Console.WriteLine(destStream+name);
}
}
}
}
Console.ReadKey();
}
}
}I think if there is to be an issue it is to do with this allm4s.m4s file as the file size is about 1.5mb even though each segment m4s is about 750kb each and there are quite a lot.If anyone has a way of adding concatenating lots of files together through a program/application that would be useful.
-
h265_videotoolbox for Apple Chips Not working with ffmpeg
22 janvier 2024, par Martin JulienI have a 16-inch Macbook Pro.
System :
Model Name : MacBook Pro
Chip : Apple M1 Max
Total Number of Cores : 10 (8 performance and 2 efficiency)
Memory : 64 GB


You can take advantage of apple chips to encode faster by replacing the usual line :

-c:v libx265
by-c:v h265_videotoolbox
.

Here's an example.
Since h265 doesn't work at the moment, here's a line that works just fine :


for i in *.mp4; do ffmpeg -i "$i" -c:v h264_videotoolbox -b:v 2000k -c:a aac -b:a 192k -s 1920x1080 -threads 8 "${i%.*}_1.mp4"; done


The version of ffmpeg installed on my mac is the latest : 6.1.1


My problem :
I want to encode in h265. My command line is :

for i in *.mp4; do ffmpeg -i "$i" -c:v h265_videotoolbox -b:v 2000k -c:a aac -b:a 192k -s 1920x1080 -threads 8 "${i%.*}_1.mp4"; done


Everything should work in theory. But I get this from the Shell :


[vost#0:0 @ 0x150f06fd0] Unknown encoder 'h265_videotoolbox' [vost#0:0 @ 0x150f06fd0] Error selecting an encoder Error opening output file Denis_1.mp4. Error opening output files: Encoder not found


My attempts :


I spent a lot of time with ChatGPT to solve the problem, but nothing worked. So I'm asking the question here to see if anyone has had the same problem as me and if there's a solution to fix it.


Thank you for your help,


best regards,
Martin