
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (43)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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" ; -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (8486)
-
через 1 кому через ffmpeg Мне нужно объединить 2 аудио и добавить к нему картинку (альбом) [closed]
20 avril 2021, par DarkShadeчерез 1 кому через ffmpeg
Мне нужно объединить 2 аудио и добавить к нему картинку (альбом)


<---------> 1-audio
 <--------------> 2-audio
<-------------------> output



https://superuser.com/questions/1509582/ffmpeg-merge-two-audio-file-with-defined-overlapping-time


Я посмотрел по этой ссылке, и она объединила 2 аудио.
Теперь мне нужно добавить к нему картинку (альбом)



Вот команда, которая меня использует


ffmpeg -i 1.mp3 -i 2.mp3 -filter_complex "[1]adelay=Ns|Ns[a1];[0:a][a1]amix=inputs=2[a]" -map "[a]" output.mp3



Благодаря этому я смог объединить два аудио в один


Я видел это таким образом


ffmpeg -i 1.mp3 -i 2.mp3 -i 1.png -filter_complex "[1]adelay=5s|5s[a1];[0:a][a1]amix=inputs=2[a]" -map "[a]" -c:a copy -c:v copy -map 0:0 -map 1:0 -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" audio-out.mp3



1.mp3 - первое аудио (1:35 s)
2.mp3 - вторичное аудио (0:16 s)
1.png - картинка (альбом) (170x170)



Я получил эту ошибку


Streamcopy requested for output stream 0:0, which is fed from a complex filtergraph. Filtering and streamcopy cannot be used together.



Что мне нужно ?


Мне нужно добавить картинку (альбом) к аудио в сочетании с этой командой


Когда я говорю картинку (альбом), я имею в виду именно это.
Это наглядно показано на картинке
https://i.imgur.com/z64KhoS.png


-
Right choice to play audio and video content
22 juin 2012, par deimusWhat I'm doing :
I need to play audio and video files that are not supported by Apple on iPhone/iPad for example mkv/mka files which my contain several audio channels.
I'm using libffmpeg to find audio and video streams in media file.
Video is being decoded withavcodec_decode_video2
and audio withavcodec_decode_audio3
the return values are following for each function are followingavcodec_decode_video2
- returnsAVFrame
structure which encapsulates information about the video video frame from the pakcage, specifically is hasdata
field which is a pointer to the picture/channel planes.avcodec_decode_audio3
- returnssamples
of type int16_t * which I guess is the raw audio data
So basically I've done all this and successfully decoding the media content.
What I have to do :
I've to play the audio and video accordingly using Apples services. The playback I need to perform should support mixing of audio channels while playing video, i.e. let say mkv file contains two audio channel and a video channel. So I would like to know which service will be the appropriate choice for me ? My research showed that AudioQueue service might be useful audio playback, and probably AVFoundation for video.Please help to find the right technology for my case i.e. video playeback + audio playback with possible audio channel mixing.
-
How to get DirectShow device list with ffmpeg in c++ ?
24 août 2018, par fyoI’m trying to get dshow device list with ffmpeg. I cannot get it but ffmpeg gets it by its own. Here is the code. It returns AVERROR(ENOSYS) for avdevice_list_input_sources. But avformat_open_input prints all devices. How can I get dshow devices and options in c++ code.
avdevice_register_all();
AVInputFormat *iformat = av_find_input_format("dshow");
printf("========Device Info=============\n");
AVDeviceInfoList *device_list = NULL;
AVDictionary* options = NULL;
//av_dict_set(&options, "list_devices", "true", 0);
int result = avdevice_list_input_sources(iformat, NULL, options, &device_list);
if (result < 0)
printf("Error Code:%s\n", av_err2str(result));//Returns -40 AVERROR(ENOSYS)
else printf("Devices count:%d\n", result);
AVFormatContext *pFormatCtx = avformat_alloc_context();
AVDictionary* options2 = NULL;
av_dict_set(&options2, "list_devices", "true", 0);
avformat_open_input(&pFormatCtx, NULL, iformat, &options2);
printf("================================\n");