
Recherche avancée
Autres articles (40)
-
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (9023)
-
(IOS) Streaming raw h.264 video from and iphone to a RTSP
10 octobre 2015, par Eric JovenittiOk so i’m new to video encoding and decoding and RTSP, but I need to take a third party component video stream i.e. (A quad copter drone) and output that stream to a RTSP. The stream is in raw h.264. The stream comes from the drones sdk i.e.,
-(void) camera:(DJICamera*)camera didReceivedVideoData:(uint8_t*)videoBuffer length:(int)length{
uint8_t* pBuffer = (uint8_t*)malloc(length);
memcpy(pBuffer, videoBuffer, length);
[[[VideoPreviewer instance] dataQueue] push:pBuffer length:length];}
As you can see the raw video comes in from camera in the uint8_t.
To my understanding this a decoded raw h.264 stream with Nalu’s an a IDR frame.So I want to stream this video to a RTSP so it can be watch on VLC .
Does anyone know of tutorials or demo code to stream this video via a RTSP ?
Additionally I found this demo : http://www.gdcl.co.uk/2013/02/20/iOS-Video-Encoding.html
This sends the iphone camera’s video out to a RTSP and it work well.
But i can’t figure out how to inject the drones streaming video into this demo RTSP app.This demo uses
AVCaptureDevice to capture the cameras streaming data.So my questions from this demo are :
Is there anyway to make my drones stream an AVCAptureDevice ?
If not, can i just inject the drones raw data into the where the iphones camera data would be and just use the same properties that the iphome camera already configured ?if i can’t do those options can I just use the demos RTSP part ?
If that’s possible, i can that the iphone camera data is being encoded. Does this mean i would need to encode the drones stream ? if so, how would i go about doing this ? The drones SKD uses FFmpeg to output the video so it can be seen in real time on the iphones screen.Thanks so much for the help !
-
FFMPEG encoding is rotating portrait images uploaded from the iPhone
27 juillet 2017, par Kevin JI’m trying to figure out why FFMPEG is rotating my thumbnail image when a portrait video is uploaded from an iphone.
Here is my command line test :
ffmpeg -i video/test.mp4 -c:v libx264 -profile:v high -level 5 -crf 18 -preset medium -maxrate 10M -bufsize 16M -pix_fmt yuv420p -vf "scale=iw*sar:ih, scale=\'if(gt(iw,ih),min(1920,iw),-1)\':\'if(gt(iw,ih),-1,min(1080,ih))\'" -x264opts bframes=3:cabac=1 -movflags faststart -b:a 320k -y video/test.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 410x231 video/testthumb.jpg 2>&1
Then the portrait image is rotated 90 degrees to be made a landscape image, but the video stays portrait. How can I keep the orientation the same ?
-
ffmpeg image conversion works for nokia conformation heic files but not iphone heic images
2 novembre 2020, par user12879350Below ffmpeg image conversion works for nokia conformation heic files but not iphone heic images



ffmpeg -i c001.heic -c:v mjpeg -frames:v 1 -pix_fmt rgb48 outs.jpg 
(works for nokia conformation files https://github.com/nokiatech/heif_conformance/tree/master/conformance_files 
but not iphone images )



For iphone images ,it throws the below exception
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000021bcaba9980] moov atom not found
image4.heic : Invalid data found when processing input



Is there anything I'm missing