
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (109)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...)
Sur d’autres sites (13082)
-
I can't seem to install opencv2.4.13 for Python3.4 on Mac El Capitan
1er juin 2016, par ThatProgrammerDudeThis has been driving me nuts. I have been working on this non stop for a week. I have looked at many tutorials online they did not help.
I have tried so much I don’t even remember what I tried. I can say the last thing I tried though.. which is this video https://www.youtube.com/watch?v=U49CVY8yOxw.
So I download opencv2.4.13, create the build folder, open cmake, configure, generate and then go to terminal and type in make.
I get this :
Richie's Macbook Air:build Richie$ make
[ 2%] Built target zlib
[ 6%] Built target libtiff
[ 10%] Built target libjpeg
[ 14%] Built target libjasper
[ 16%] Built target libpng
[ 23%] Built target IlmImf
[ 26%] Built target opencv_core
[ 31%] Built target opencv_imgproc
[ 32%] Built target opencv_video
[ 32%] Built target opencv_flann
[ 32%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o
In file included from /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg.cpp:45:
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:71:6: error:
"libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
#error "libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:481:9: error:
use of undeclared identifier 'sws_freeContext'
sws_freeContext(img_convert_ctx);
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:965:17: error:
use of undeclared identifier 'SWS_BICUBIC'
SWS_BICUBIC,
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:998:5: error:
use of undeclared identifier 'sws_scale'
sws_scale(
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1639:46: error:
use of undeclared identifier 'SWS_BICUBIC'
SWS_BICUBIC,
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1645:14: error:
use of undeclared identifier 'sws_scale'
if ( sws_scale(img_convert_ctx, input_picture->data,
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1693:9: error:
use of undeclared identifier 'sws_freeContext'
sws_freeContext(img_convert_ctx);
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:2290:9: warning:
ignoring return value of function declared with warn_unused_result
attribute [-Wunused-result]
avformat_write_header(oc_, NULL);
^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
1 warning and 7 errors generated.
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2
Richie's Macbook Air:build Richie$From what I can see, it says
"libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
I have tried googling though to no avail, does anyone know ?
EDIT : I do have ffmpeg installed... (brew).
-
FFMPEG merge two .mp4 videos - resolution distorted
9 juin 2016, par Misha MoryachokI am trying to merge two .mp4 videos, and in some cases the seconds video part is distorted in the output video. Providing an example below :
https://www.youtube.com/watch?v=wWMNTBWJ37AThe real video is : https://www.youtube.com/watch?v=ASio-j-Epi8
As you can see, we added intro before the real content, however, the real content is stretched.
In my opinion it happens because first video is 1280x720 and the second is 460x720.Providing commands for merging videos :
*1st step (convert the videos from .mp4 to .ts)
ffmpeg -i videoPathMP4 -c copy -bsf:v h264_mp4toannexb -f mpegts videoPathTS
*2nd step (merge videos)
ffmpeg -i "concat:$video1 | $video2" -c copy -bsf:a aac_adtstoasc $meagePathMP4
Video output is like you saw in provided videolink on youtube.
I also tried to change the first video resolution to be like the second video :ffmpeg -i inputVideo.mp4 -s 460x720 outputVideo.mp4
However it doesn’t helped.
Is anyone know how to solve this ?
Thanks -
Hide ffmpeg's console window when running YoutubeDL in GUI application
23 juin 2016, par SlaytherI’m developing a basic application which can download YouTube videos. Throughout the development, I had several quirks, including issues with formats.
I decided to use a hopefully foolproof format syntax that youtube-dl will happily download for me in almost any case.
Part of my YoutubeDL options look like this :
self.ydl_opts = {
'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best',
'quiet': True,
'progress_hooks': [self.ydl_progress],
'outtmpl': None
}The outtmpl is inserted later on when output folder is chosen by the user.
Since I’m using this format string, youtube-dl uses ffmpeg to merge(?) the audio and video if they are downloaded separately.
When it does that, it opens very annoying console windows that capture the focus and interrupt other things I might be doing while the videos are downloading.
My question is, how can I prevent ffmpeg or youtube-dl from creating those console windows from appearing, aka. how can I hide them ?
EDIT :
I’ll provide bare bones script that reproduces the problem :
from __future__ import unicode_literals
from PyQt4 import QtGui, QtCore
import youtube_dl, sys
def on_progress(info):
print info.get("_percent_str", "Finished")
ydl_opts = {
'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best',
'progress_hooks': [on_progress],
'quiet': True,
'outtmpl': "C:/Users/Raketa/Desktop/%(title)s.%(ext)s"
}
ydl = youtube_dl.YoutubeDL(ydl_opts)
class DownloadThread(QtCore.QThread):
def __init__(self):
super(DownloadThread, self).__init__()
self.start()
def __del__(self):
self.wait()
def run(self):
print "Download start"
ydl.download(["https://www.youtube.com/watch?v=uy7BiiOI_No"])
print "Download end"
class Application(QtGui.QMainWindow):
def __init__(self):
super(Application, self).__init__()
self.dl_thread = DownloadThread()
def run(self):
self.show()
def main():
master = QtGui.QApplication(sys.argv)
app = Application()
app.run()
sys.exit(master.exec_())
if __name__ == '__main__':
main()2(?) consoles appear at start of each download and 1 longer lasting console appears when both video and audio are downloaded. When downloading longer videos, the last console becomes unbearable.
Is it possible to get rid of those ?