
Recherche avancée
Autres articles (36)
-
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (6678)
-
Video Processing via Bluetooth
16 juillet 2012, par kerim yucelThe application I am currently developing processes each frames using a native code and it should record the video as well. I tried SDK for this purpose but certain restrictions didn't allow me to do so, so I switched to NDK for a video recording code piece.
Apparently, my algorithm seriously uses CPU, upto %70 percent in the worst case. Before I actually start working on a video recorder, I wanted to try the following approach.
I will process the preview frames using an android phone and send it to another phone (which uses same application and same model) for recording. My questions are :
1.Should I try WiFi instead of Bluetooth ? I am developing the application for API 8 so I don't have WiFi-Direct, therefore I should do some socket programming, which would possibly complicate things a bit for me since Bluetooth can easily be set up using SDK.
2- Will I be available to record the frames as a video at the receiving end ? I will receive each frame with certain metadata embedded to it and should record them using the other phone. I doubt I will be able to do it using SDK, so NDK along with ffmpeg seems to be the best choice ? Any suggestions related to this question will be more than welcome.
3-Here comes the best part. I am recording the video with the lowest resolution that,after compressed, takes no more than 14mb space for a 10 minute long video. I have to reach the raw frames to send it to other end, encode and compress it. Any ideas related to possible flooding of Bluetooth/Wi-Fi because of big-sized raw frames ?
Any other approaches and answers will be much appreciated. Thanks.
-
Basic to use FFMPEG in Python (Django Rest Framework)
31 juillet 2018, par Feed GitI’m writing a viewset in Django Rest Framework to convert images sequence into video by using FFMPEG but I don’t understand how I can do it. I tried but not success. Please help me with my code.
My code :
class VideoRenderSerializer(ModelSerializer):
imageSequence = ListField(required=False, child=FileField(max_length=100000, allow_empty_file=False, use_url=False))
class Meta:
model = Video
fields = [
'imageSequence',
]
class VideoRenderView(ModelViewSet):
queryset = Video.objects.all()
serializer_class = VideoRenderSerializer
def render_video(self, request):
imgSequences = request.FILES.getlist('imageSequence')
render_from_img_sequences_cmd = 'ffmpeg -loop 1 -i image.png -vf format=yuv420p -t 30 C:\output.mp4'
ffmpegresult = subprocess.call(render_from_img_sequences_cmd, shell=True, stdout=open(os.devnull, "w"), stderr=subprocess.STDOUT)
return Response(ffmpegresult, status=200)Output is : 1 and I cant find where is output file !
-
Push RTSP over HTTP
27 juin 2017, par Type11I need to make an emulator of cameras we have streaming to a video recording platform we created.
The camera I am trying to emulate makes use of RTSP over http (well https but we can ignore that for now) which is somewhat normal but it doesn’t do the pull variety it does a push (we give the camera a url and it starts pushing to the video recording server).
I have been using ffmpeg which has an rstp over http implementation but it is the pull kind where you take the client and give it a url to pull from.
I have hacked around and gotten it to send an http GET as expected with the right headers we expect in it which our server uses and recognizes then it times out before streaming anything which makes sense as I think it is waiting for our server to send something.
I could keep going down this path but I wanted to know if anyone else had run into this and if there was any prebuilt java, c, or c++ library that does anything like this I could start from ? I have searched around but most everything appears to be for a pull model.
this is a capture of what the camera is sending (there is more but it is just more of the video stream below). this is the full tcp conversation.
RTSP/1.0 200 OK
Host : 192.168.1.9
User-Agent : RS/E060660C84EB
Content-Type : application/octet-stream
X-SDP : dj0wDQpvPS0gMjk5NiAyOTk2IElOIElQNCAxOTIuMTY4LjEuNQ0Kcz1SVFNQIFNlcnZlcihIMjY0KSAtIE9DODMwMEM4NEVCDQpjPUlOIElQNCAwLjAuMC4wDQp0PTAgMA0KYT1jaGFyc2V0OlNoaWZ0X0pJUw0KYT1yYW5nZTpucHQ9MC0NCmE9Y29udHJvbDoqDQphPWV0YWc6MTIzNDU2Nzg5MA0KbT12aWRlbyAwIFJUUC9BVlAgOTYNCmI9QVM6MTI4DQphPXJ0cG1hcDo5NiBIMjY0LzkwMDAwDQphPWNvbnRyb2w6dHJhY2tJRD0xDQphPWZtdHA6OTYgcGFja2V0aXphdGlvbi1tb2RlPTE7cHJvZmlsZS1sZXZlbC1pZD00MjgwMWU7c3Byb3AtcGFyYW1ldGVyLXNldHM9WjBLQUhwcGtCUUh2K0F0UUVCQVVBQUFQcEFBQVhjT2hBQ013QUVaU3U4dU5DQUVaZ0FJeWxkNWNLQT09LGFNNDhnQT09DQphPXgtZnJhbWVyYXRlOjMNCmE9ZnJhbWVyYXRlOjMuMA0KYT14LWR1cmF0aW9uOjEwDQo=
X-Precapture : 8
Authorization : Basic QXZ3R3VhbXpRcG15eUx3anlGYlZQS1ZCL2hoc1prWXltVVo0Q3cwb2FHaWZSWlBrNmhSRkVySFZoUkoxSG9lVjo2SWZTQ3VyYVRVT0FoU2RmVkJLdDBnQUFBQUFBQUFBQUFBQUFBQUFBQUFBaVNyTFFzK2tJNEVISVB5ZG9aL1Vu$....
.......}..|.....?.....a..@.P.. ..c.0.....<.>H ......Zas...AQZ...:.?W..A..q2..~.
C..4.7....H’....*.....6 ?...........K.k.q...S.e+[g.......o... ..C1_[....N..........?.q.9.s..>..Gk.........[....&....n ;c..0c....#.A...9
......q...]...B...W.....8."....[..\c(..?Z.F !. 9. ..e...%..0.p2.h.0.,.'g.Rf.\s......@j. .....0.............H.V
.K{EL
M.ig..;i...PS..?..~HR..?ID>....T.Ie.m....
.....!..hBk..P-uX.V&...^<.ab....s....|.#.z...e..O+.{.!.0code>b..Q._d...z.......l....
Any help on a library that might send a stream like this would be appreciated.