
Recherche avancée
Autres articles (73)
-
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 (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (13833)
-
Streaming video from Unity's camera target texture to RTSP
9 septembre 2024, par KrononI've been trying to find ways of streaming video from Unity's camera to an RTSP stream.



So far I've been trying out this particular plugin here https://github.com/keijiro/FFmpegOut which takes the camera's target texture as the input, and outputs it as an MP4 file on the disk, and https://github.com/aler9/rtsp-simple-server as a simple RTSP server



My initial thought was that it'd be as easy as changing the original FFMPEG commandline syntax from this :



"-y -f rawvideo -vcodec rawvideo -pixel_format rgba"
+ " -colorspace bt709"
+ " -video_size 800x600"
+ " -framerate 30"
+ " -pix_fmt yuv420p"
+ " test.mp4"




to this :



"-y -re -f rawvideo -vcodec rawvideo -pixel_format rgba"
+ " -colorspace bt709"
+ " -video_size 800x600"
+ " -framerate 30"
+ " -pix_fmt yuv420p"
+ " -f rtsp -rtsp_transport tcp rtsp://127.0.0.1:8554/stream"




This works for the first 4-5 seconds of streaming which I can view on VLC player. But after that, the process just hangs and I'll have to terminate it, with the same behaviour regardless of it being run through the Unity Editor, or as a standalone.



Would greatly appreciate any help with this, or thoughts on how I should pinpoint which part of the chain might be breaking down, or even alternative plugins/resources I can look into in order to achieve this. Thanks !



Edit : Also looked through the Unity Player and Editor logs, but there weren't any error messages.


-
Image files as inputs with AWS Elastic Transcoder ?
7 décembre 2017, par GeuisHere’s my situation. I’ve been working on building a service at work that takes dynamically generated images and outputs animations as mp4 or gif. The user has the options of setting dimensions, time for each frame, etc.
I have this working currently with ffmpeg. It works ok, but is difficult (and potentially expensive) to scale due largely to the cpu/memory requirements that ffmpeg needs.
I just spent some time experimenting with AWS’s Elastic Transcoder. It doesn’t seem to like static image files (jpg, png) as source material in jobs. The file types aren’t listed under the available Preset options either.
I’m sure that I could adapt the existing architecture to save the static images as video files (sound isn’t needed) and upload those. That will still require ffmpeg to be in the pipeline though.
Are there any other AWS services that might work with my needs and allow the use of Elastic Transcoder ?
-
incompatible types when assigning to type 'atomic_int' from type 'int'
20 décembre 2017, par Lengesrc/libavcodec/h264_slice.c: In function 'ff_h264_execute_decode_slices': src/libavcodec/h264_slice.c:2757:36: error: incompatible types when assigning to type 'atomic_int' from type 'int'
sl->er.error_count = 0;
^ src/libavcodec/h264_slice.c:2781:48: error: invalid operands to binary
+ (have 'atomic_int' and 'atomic_int')
h->slice_ctx[0].er.error_count += h->slice_ctx[i].er.error_count;
^ make: *** [libavcodec/h264_slice.o] Error 1 make: *** Waiting for unfinished jobs....I compile ffmpeg for android. whether the problem is my environment configure or source code ?