
Recherche avancée
Autres articles (32)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4690)
-
Getting ffprobe or avprobe not found while using youtube_dl module
26 décembre 2016, par Avinashimport youtube_dl
options = {
'format':'bestaudio/best',
'extractaudio':True,
'audioformat': 'mp3',
'outtmpl':'%(id)s.%(ext)s',
'noplaylist':True,
'nocheckcertificate':True,
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
'preferredquality': '192',
}],
}
with youtube_dl.YoutubeDL(options) as ydl:
ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])I am Getting
"youtube_dl.utils.DownloadError : ERROR : ffprobe or avprobe not found.
Please install one."I downloaded ffmpeg and tried giving its bin folder location in path variable . I also tried copying that bin folder to my youtube_dl package folder. None of them worked.
Thanks in advance.
-
opencv_ffmpeg module crash (IP Camera)
25 novembre 2016, par Suraksha AjithI’m using IP webcam android app(It converts mobile camera into IP web camera).
I’m running below code in Visual Studio 2015 with OpenCV 3.1.VideoCapture cap; Mat img;
cap.open("http://192.168.0.101:8080/video?x.mjpeg");
while(waitKey(33)!=27)
{
try{
cap>>img; //code crashes here
if(img.empty())
{
cout<<"camera Closed"<code>Getting below error.cIf the internet connection is slow or if the Wi-Fi is disconnected in my android device the program crashes
Error :Exception thrown at 0x0BF2F6F0 (opencv_ffmpeg310.dll) in test.exe :
0xC0000005 : Access violation reading location 0x00000020.If there is a handler for this exception, the program may be safely
continued.even if the code is wrapped within try catch block, it crashes !
Should I use try {} catch (...) block in source file, if yes, then where should I use this ?
I referred this link but did not find the right answer. -
python module ffpyplayer showing or displaying video frames to screen
19 octobre 2016, par user2305443Using python module ffpyplayer, How can I see the frames or get the img object to display or show the video image/frames to the screen ?, in the tutorial that I followed, it seems very simple, it reads the frames and plays oudio but (does not display) any video image or frame to the screen, only if I add the (print img, t) will print the frame info to the screen but not video image is displayed on the screen.
I being following tutorials from : https://pypi.python.org/pypi/ffpyplayer, and here : http://matham.github.io/ffpyplayer/player.html, and searched google but the only relevant results point to the same info, I am somewhat new to programming and python, and so maybe I am missing something that seems to be very simple but I can’t figure it out myself.
I am using : windows 7 64bit, python 2.7.11 32bit.
Any Help will be appreciated thank you very much.
from ffpyplayer.player import MediaPlayer
vid = 'test_video.flv'
player = MediaPlayer(vid)
val = ''
while val != 'eof':
frame, val = player.get_frame()
if val != 'eof' and frame is not None:
img, t = frame
print img, t #This prints the image object
# display img #This does nothing!