
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (102)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (8995)
-
ffmpeg Extract multiple streams from mkv to mp4
28 mai 2016, par Sebastien LemichezThe situation
I’m working on a everything to high compatibility mp4 app.
The goal is to pass a video file and get a mp4 file that can be played by almost every player.I’m using ffmpeg to do so with this command :
"ffmpeg -i " + inputPath + " -c:v libx264 -profile:v baseline -level 3.0 -preset ultrafast " + outputPath
I’m doing it in a c# wrapper and it’s working like a charm.
The Problem
The real problem comes with extra streams that you can commonly find in mkv files like extra audio stream and multiple subtitles.
So my goal is to use ffprobe.exe to get all input streams, extract them into different files and then using mp4box.exe to add them to my high compatibility mp4 file generated by ffmpeg.exe
What I’ve done so far
I have managed to get input streams in json with a structure like this :
"streams":[
{
"index": 0,
"codec_name": "h264",
"codec_type": "video"
},
{
"index": 1,
"codec_name": "aac",
"codec_type": "audio"
},
{
"index": 2,
"codec_name": "subrip",
"codec_type": "subtitle"
"tags":{
"language": "eng"
}
},
{
"index": 3,
"codec_name": "subrip",
"codec_type": "subtitle"
"tags":{
"language": "fre"
}
},
{
"index": 4,
"codec_name": "aac",
"codec_type": "audio"
"tags":{
"language": "fre"
"title": "Commentary"
}
}
]Where I’m stuck
To extract those extra stream I would need to do something like this :
ffmpeg -i input.mkv \
-map 0:2 -c copy subtitle-2.srt \
-map 0:3 -c copy subtitle-3.srt \
-map 0:4 -c copy audio-4.aacSo is there a way to use my ffprobe result to get these file extension because I have a codec_name "subrip" that should be saved in a srt.
I’m avoiding an hard coded list because if I miss a format it will break. I’m more looking for a ffmpeg or ffprobe associated list I can use.
English is not my native language so sorry for any misstakes.
-
FFmpeg. avcodec_find_encoder(AV_CODEC_ID_H264) return false
14 juillet 2016, par Иван ЧвановThe problem : I can not connect the h264 codec for encoding and decoding of frames.
Description :
I downloaded from here ffmpeg library https://ffmpeg.zeranoe.com/builds/, version dev.
Connect it to your project QT :
extern "C"
{
#include
#include
#include
#include
#include
}
#pragma comment (lib, "avcodec.lib")
#pragma comment (lib, "avformat.lib")
#pragma comment (lib, "swscale.lib")
#pragma comment (lib, "avutil.lib")Next prescribe
av_register_all();
to include all codecs.Next, call the function :
avcodec_find_encoder(AV_CODEC_ID_H264)
, returns false.In the ReadMe file, the library said that it was collected with —enable-libx264 and —enable-gpl compile the keys including h264 codec that is supposed to be.
If the call :
avcodec_find_encoder(AV_CODEC_ID_MPEG1VIDEO)
, it returns an object AVCodec, as it should.I use the MinGW compiler. OC Windows 7.
How can I resolve or work around the problem ? Compile the library itself has not yet obtained. I understand you to connect sources and "poking" them, that too is meaningless.
** Once again, I will describe my problem : **
I need to encode the codec h264 (can VP9) individual frames in one program, and then decode them in another program. You can use other libraries. The language C ++. It is necessary to use interframe compression codec, rather than simply pressed apart frames.
Sorry for my english.
Ideas. Advice. Suggestions.
-
FFmpeg. avcodec_find_encoder(AV_CODEC_ID_H264) return false
14 juillet 2016, par Иван ЧвановThe problem : I can not connect the h264 codec for encoding and decoding of frames.
Description :
I downloaded from here ffmpeg library https://ffmpeg.zeranoe.com/builds/, version dev.
Connect it to your project QT :
extern "C"
{
#include
#include
#include
#include
#include
}
#pragma comment (lib, "avcodec.lib")
#pragma comment (lib, "avformat.lib")
#pragma comment (lib, "swscale.lib")
#pragma comment (lib, "avutil.lib")Next prescribe
av_register_all();
to include all codecs.Next, call the function :
avcodec_find_encoder(AV_CODEC_ID_H264)
, returns false.In the ReadMe file, the library said that it was collected with —enable-libx264 and —enable-gpl compile the keys including h264 codec that is supposed to be.
If the call :
avcodec_find_encoder(AV_CODEC_ID_MPEG1VIDEO)
, it returns an object AVCodec, as it should.I use the MinGW compiler. OC Windows 7.
How can I resolve or work around the problem ? Compile the library itself has not yet obtained. I understand you to connect sources and "poking" them, that too is meaningless.
** Once again, I will describe my problem : **
I need to encode the codec h264 (can VP9) individual frames in one program, and then decode them in another program. You can use other libraries. The language C ++. It is necessary to use interframe compression codec, rather than simply pressed apart frames.
Sorry for my english.
Ideas. Advice. Suggestions.