
Recherche avancée
Autres articles (25)
-
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 -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6544)
-
configure : don’t enable tls protocols if network is disabled
2 juin 2015, par James Almer -
Capturing network video using opencv
3 septembre 2014, par Subhendu Sinha ChaudhuriI am using ffserver and ffmpeg combination to capture web camera video and transmit it through my network.
I want to capture this video using opencv and python from another computer.
I can see the video (cam1.asf) in the browser of another computer. But my opencv + python code could not capture any frame.Code for ffserver
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandWidth 2000
<feed>
File ./tmp/feed1.ffm
FileMaxSize 1G
ACL allow 127.0.0.1
</feed>
<stream>
Feed feed1.ffm
Format asf
VideoCodec msmpeg4v2
VideoFrameRate 30
VideoSize vga
</stream>FFmpeg
$ffmpeg -f video4linux2 -i /dev/video0 192.168.1.3 /cam1.ffm
This stream can be seen in the browser
But with opencv code
import sys
import cv2.cv as cv
import numpy
video="http://http://192.168.1.3:8090/cam1.asf"
capture =cv.CaptureFromFile(video)
cv.NamedWindow('Video Stream', 1 )
while True:
# capture the current frame
frame = cv.QueryFrame(capture)
#if frame is None:
# break
#else:
#detect(frame)
cv.ShowImage('Video Stream', frame)
if cv.WaitKey(10) == 27:
print 'ESC pressed. Exiting ...'
breakI donot get any output in the stream
My aim is to work with the web camera video both at the base station (ie where the web camera is connected) and also at the network location
-
Acceptable Video Size For Social Network With FFMpeg
2 août 2022, par John SantosI'm building a social network on Android and using FFMPeg to compress the videos before uploading them. Videos will have maximum 1 minute of duration.



The original video for test has 87.74Mb 1080x1920.



Trying to find the middle point between quality and file size I could get to a video size of either 26Mb with an "meh" quality (which I'm not happy with) or 33.06Mb with a good quality (scaling the video to 480x852).



Problems :



1) It's taking an average of 2min 30sec to compress a 1 minute video !



2) Even 25Mb seems to be too much for a 1 minute video for a social network



The ask :



1) Any clue how do Instagram and Facebook do it to compress and upload the same video above within 1 minute !!?? I know they compress it cause the quality is not the same when on Facebook/Instagram but how to they get it done that fast ?



2) What would it be an acceptable file size for a 1 minute video on Facebook/Instagram ? I'm worried about wasting too much storage for 1 minute videos. Does anyone have any idea about it ?





I'm searching a lot about FFMpeg commands to get it better and better but it would be easier if I had in mind what I want to achieve.