
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 (42)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs.
Sur d’autres sites (5310)
-
Muxing encoder output with custom io in ffmpeg
3 mai 2021, par MisterSincereI am having some basic issues on how to mux my encoder results into a mp4 file. My current approach is to create a custom
AVFormatContext
, where theDataProvider
is the encoder :

AVFormatContext *create_format_context(DataProvider *pDataProvider) {
 AVFormatContext *ctx{avformat_alloc_context()};

 size_t bufSize{8 * 1024 * 1024};
 uint8_t *avBuffer{(uint8_t*)av_malloc(bufSize)};

 ctx->pb = avio_alloc_context(avBuffer,
 bufSize,
 0,
 pDataProvider,
 DataProvider::read,
 nullptr,
 nullptr);

 ctx->flags |= AVFMT_FLAG_CUSTOM_IO;

 FFMPEG_CALL(avformat_open_input(&ctx, nullptr, nullptr, nullptr));
 return ctx;
}



But I crash on
avformat_open_input
with the following error message :



Invalid data found when processing input




It tries to read for the first time from the encoder, but since this is at init-time, the encoder doesn't have any results yet. I figured the problem is that ffmpeg tries to query for some header informations, since it would feel weird to ask for actual data when just opening.

How do I provide that header information / where can I learn something about how this header should look like and what else I need to provide for ffmpeg ?

Or is there even a completely different approach, because quite honestly I would be happy if I could feed the per frame encoded data directly to ffmpeg instead of through this whole context abstraction.

For context I pasted the muxer class, I guess the progress() function is the most interesting one, here header, source.


Also I call the kinda magic functions


av_register_all();
avcodec_register_all();
avformat_network_init();



before everything else concerning ffmpeg.


The encoder is not written with ffmpeg, but with cuda / the nvidia video sdk for hardware acceleration purposes.


-
Best way to convert video from h264 to h265 and copy audio without lose too match quality
9 mai 2021, par user3449922I have some mkv file ripped from blu ray and I like to convert it to h265 with ffmpeg.


I have tried this command :


ffmpeg.exe -i title00.mkv -c:v hevc_nvenc test_2.mkv



and the result seem incredible : original size : 27 GB , output size : 1.6 GB


Francanly I don't expect a similar result that is very strange.


The quality seem similar at the fist look, but I don't belive it.


I ask if there is a better way to preserve the original quality and it is not important if the output size is 4 or 5 GB that is in all cases a excellet result.


I have Nvidia GTX 1060 6GB


Can you suggest me a best way to do it ?


-
Best way to convert video from h264 to h265 and copy audio without lose too much quality [closed]
11 mai 2021, par user3449922I have some mkv file ripped from blu ray and I like to convert it to h265 with ffmpeg.


I have tried this command :


ffmpeg.exe -i title00.mkv -c:v hevc_nvenc test_2.mkv



and the result seem incredible : original size : 27 GB , output size : 1.6 GB


Francanly I don't expect a similar result that is very strange.


The quality seem similar at the fist look, but I don't belive it.


I ask if there is a better way to preserve the original quality and it is not important if the output size is 4 or 5 GB that is in all cases a excellet result.


I have Nvidia GTX 1060 6GB


Can you suggest me a best way to do it ?