
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (64)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (5747)
-
FFMPEG bat file won't run [closed]
8 octobre 2023, par Tiecubed@echo off
setlocal enableextensions enabledelayedexpansion

set "input_directory=C:\Users\tiecu\OneDrive\Desktop\testing environment\Pending"
set "output_directory=C:\Users\tiecu\OneDrive\Desktop\testing environment\Output"

for %%i in ("%input_directory%.mp4") do (
 set "input_file=%%i"
 set "output_file=!output_directory!%%~nxi"

 C:\ffmpeg\ffmpeg.exe -i "!input_file!" -map_metadata -1 -vf "rotate=2PI/180, vignette=1.1, scale=1200:-1,setsar=1,crop=1080:1920,setpts=PTS/1.1" -af "atempo=1.1" -c:v libx264 -crf 18 -c:a aac -strict experimental "!output_file!"
)



I have tried many bat scripts, all of them work except ffmpeg ones. The terminal opens and immediately closes. I have tried many scripts. ffmpeg works fine via cmd without a batch script. I'm entirely lost. It was working fine earlier, then in the middle of making the script it stopped working. So I went back to the previous working script and it would no longer work. Terminal opens and immediately closes.


-
avformat code produce slightly different output than ffmpeg with same parameters - why ?
20 février 2020, par DanielI would like to achieve the exact same result as this ffmpeg command line call does from code :
ffmpeg -i CAMERARTSPLINK -c:v copy -an -movflags +frag_keyframe+empty_moov -f mp4
When I run the above command it gives this binary result :
got 36 bytes: 0, 0, 0, 36, 102, 116, 121, 112, ..., 111, 54, 109, 112, 52, 49,
got 512 bytes: 0, 0, 3, 76, 109, 111, 111, 118, 0, 0, 0, ..., 132, 0, 0, 3, 0, 4, 0, 0, 3, 0, 202,The code can utilize ffmpeg libraries and includes, but I don’t want to use ffmpeg as a program call (i.e. exec* functions are not preferred).
I have created a small demonstration code example with
avformat
for an RTSP H264 to MP4 remux.
The code is highly reuses horgh’s nice videostreamer library.I posted the sample code to pastebin.com (400 loc). It builds successfully but you need to link it against
avformat
,avdevice
,avcodec
andavutil
.I tried to do my best to reach the same result, however when I run this code, the first few bytes after byte #38 are different (maybe not just those, I did not compare anything after byte #548) :
writeOutput: writing 36 bytes: 0, 0, 0, 36, 102, 116, 121, 112, ..., 111, 54, 109, 112, 52, 49,
writeOutput: writing 512 bytes: 0, 0, 0, 0, 109, 111, 111, 118, 0, 0, 0, ..., 132, 0, 0, 3, 0, 4, 0, 0, 3, 0, 202,You can see on the second line of my code’s output starts with
0
0
0
0
109
,whereas the ffmpeg gave
0
0
3
76
109
.All the rest (even the bytes are not pasted here) data are totally the same (at least for the first 548 bytes).
What is wrong with my code ? These 2 bytes seems super-important for decoding this stream.
-
Concatenate mp4 files in Android using halfninja ffmpeg
21 février 2015, par BudiusI’ve manage to compile halfninja ffmpeg scripts for Android NDK using NDK version r5c. (Unfortunately any attempt to compile with earlier NDK generated some error), also I’m not very knowledgeable on the whole NDK process, so it’s a bit hit-n-miss for me.
His scripts are compiling ffmpeg version N-30996-gf925b24 (the specific commit he did the scripts for)
Moving forward to my actual app.
I manage to trim videos without problems, now I need to join/concatenate them but any attemp at using any and several combinations of the commands found on those 3 links (link1, link2, link3) generate errors such ascat is not valid
,> is undefinined
,unknown option filter_complex
or trying to override some of the input files.Does anyone know if it’s possible and (how to do it), to join/concatenate mp4 videos (all same codec, size, quality, etc) using half-ninja compile of ffmpeg on Android, or how to compile/get a ffmpeg for Android using latest source codes ?
I’ve also gave a quick try on the mp4Parser without much success.
ultimately I was trying to get this pseudo-method to work :
public static File concatenate(String[] inputPaths, String outputPath){
// ... do stuff do generate ffmpeg commands....
VideoKit v = new VideoKit();
v.run(cmds);
File f = new File(outputPath);
return f;
}