
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (48)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)
Sur d’autres sites (8696)
-
how to integrate ffmpeg gl-transition project in my existing project
28 décembre 2019, par p.jadhavi want to add trasition effect between images of video so i used https://github.com/transitive-bullshit/ffmpeg-gl-transition for video trasition effect but Building command not work in my android studio.
1.git clone http://source.ffmpeg.org/git/ffmpeg.git ffmpeg.
2.cd ffmpeg.first two command run successfully in android studio terminal.
when try to run "ln -s /ffmpeg-gl-transition/vf_gltransition.c libavfilter/"
get error :when run command "git apply /ffmpeg-gl-transition/ffmpeg.diff"
get error :screen shot2
and run command "./configure —enable-libx264 —enable-gpl —enable-opengl \
—enable-filter=gltransition —extra-libs=’-lGLEW -lglfw’"
get error :screen shot3
i use com.writingminds:FFmpegAndroid:0.3.2 for create normal video.please tell me how to integrate library in my project or any anotherway to do this -
how to set android's camera as the input of ffmpeg
5 mai 2017, par HarrisonI managed to run ffmpeg in Android Studio project, but don’t know how to set the Android’s camera as the input of ffmpeg. Is it possible now ?
If not, is there some open-sourced projects that can get Android’s camera and turn the phone to a rtsp server ? Then I can use ffmpeg to get that rtsp link.
Really appreciate it if some suggestions about this, thanks.
-
FFMpeg End of file error while reading a live feed
23 juillet 2020, par Summiti am streaming a RTMP feed from obs studio i can watch that feed in VLC player.


When using FFMpeg in visual studio project i get the End of file error.


this is my function and to simplify it i have not included the error handling in this code.


Why do i get End of file error in the RTMP feed and how can i correct it.


bool load_frame()
{

 AVFormatContext *av_format_ctx = avformat_alloc_context();
 avformat_open_input(&av_format_ctx, "rtmp://192.168.1.2/live/sumit", NULL, NULL);
 avformat_find_stream_info(av_format_ctx , NULL);
 
 AVCodecParameters* av_codec_params = nullptr;
 AVCodec* av_codec = nullptr;
 int video_stream_index = -1;
 for (unsigned int i = 0; i < av_format_ctx->nb_streams; i++) {
 auto stream = av_format_ctx->streams[i];
 av_codec_params = av_format_ctx->streams[i]->codecpar;
 av_codec = avcodec_find_decoder(av_codec_params->codec_id); 
 if (av_codec_params->codec_type == AVMEDIA_TYPE_VIDEO)
 {
 video_stream_index = i;
 break;
 }
 }
 // set up codec context for the decoder
 AVCodecContext* av_codec_ctx = avcodec_alloc_context3(av_codec);
 avcodec_parameters_to_context(av_codec_ctx, av_codec_params) ;
 avcodec_open2(av_codec_ctx, av_codec, NULL);
 AVFrame* av_frame = av_frame_alloc();
 AVPacket* av_packet = av_packet_alloc();
 int response;
 while (av_read_frame(av_format_ctx, av_packet) >= 0) {
 if (av_packet->stream_index != video_stream_index) {
 continue;
 }
 response = avcodec_send_packet(av_codec_ctx, av_packet);
 if (response < 0) {
 std::cout << "Failed to decode the packet";
 return false;
 }
 response = avcodec_receive_frame(av_codec_ctx, av_frame);

 if (response == AVERROR(EAGAIN) || response == AVERROR_EOF) {
 std::cout << "End of file"; // i get this error
 continue;
 }
 else if (response < 0) {
 std::cout << "Failed to decode the packet";
 return false;
 }
 av_packet_unref(av_packet);
 break;
 }
 
 avformat_close_input(&av_format_ctx);
 avformat_free_context(av_format_ctx);
 av_frame_free(&av_frame);
 av_packet_free(&av_packet);
 avcodec_free_context(&av_codec_ctx);
 
 return true;
}