Top-rated recipes tagged "video"http://code.activestate.com/recipes/tags/video/top/2015-06-29T13:59:38-07:00ActiveState Code RecipesScript para descargar videos desde http://www.chilevision.cl/ (Python) 2010-08-23T20:20:15-07:00jrovegnohttp://code.activestate.com/recipes/users/4170207/http://code.activestate.com/recipes/577367-script-para-descargar-videos-desde-httpwwwchilevis/ <p style="color: grey"> Python recipe 577367 by <a href="/recipes/users/4170207/">jrovegno</a> (<a href="/recipes/tags/chv/">chv</a>, <a href="/recipes/tags/download/">download</a>, <a href="/recipes/tags/tv/">tv</a>, <a href="/recipes/tags/video/">video</a>). </p> <p>Requiere: - aria2c - wget Extras: Ofrece Descargar el resto de los videos Uso: # Comillas requeridas, problema parser cvh_video.py "http://www.chilevision.cl/home/index.php?option=com_content&amp;task=view&amp;id=YYYYY&amp;Itemid=XXX"</p> Simple video with ctypes and Xvid (Tkinter,pygame,...) (Python) 2015-06-29T13:59:38-07:00Jiri Justrahttp://code.activestate.com/recipes/users/4192188/http://code.activestate.com/recipes/579073-simple-video-with-ctypes-and-xvid-tkinterpygame/ <p style="color: grey"> Python recipe 579073 by <a href="/recipes/users/4192188/">Jiri Justra</a> (<a href="/recipes/tags/ctypes/">ctypes</a>, <a href="/recipes/tags/video/">video</a>, <a href="/recipes/tags/xvid/">xvid</a>). </p> <p>This is simple library for playing avi video clips. Videos must be SOUNDLESS (and maybe Xvid encoded wont hurt), to work it properly. I am using it to play intro. It suites good to this purpose, since it can play one clip at a time only.</p> Embedding media content in an HTML page with PyEmbed and Python (Python) 2014-02-15T21:21:30-08:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/578833-embedding-media-content-in-an-html-page-with-pyemb/ <p style="color: grey"> Python recipe 578833 by <a href="/recipes/users/4173351/">Vasudev Ram</a> (<a href="/recipes/tags/multimedia/">multimedia</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/video/">video</a>). </p> <p>This recipe shows how to embed multimedia content such as a YouTube video in a web page, using the PyEmbed library for Python.</p> Recursive Multimedia (audio, video) M3U Playlist Generator (Python) 2014-02-08T01:03:36-08:00Mano Bastardohttp://code.activestate.com/recipes/users/4182040/http://code.activestate.com/recipes/578771-recursive-multimedia-audio-video-m3u-playlist-gene/ <p style="color: grey"> Python recipe 578771 by <a href="/recipes/users/4182040/">Mano Bastardo</a> (<a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/ffmpeg/">ffmpeg</a>, <a href="/recipes/tags/generate/">generate</a>, <a href="/recipes/tags/m3u/">m3u</a>, <a href="/recipes/tags/mulitmedia/">mulitmedia</a>, <a href="/recipes/tags/os/">os</a>, <a href="/recipes/tags/playlist/">playlist</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/system/">system</a>, <a href="/recipes/tags/video/">video</a>). Revision 9. </p> <p>Generate an m3u playlist searching recursively for multimedia files (video or audio) in the given directory. Information from ID3 tags will be extracted for audio files with <a href="http://en.wikipedia.org/wiki/FFmpeg">FFmpeg</a> available.</p> A script evaluating PSNR metric of two YUV420 frames (Python) 2011-04-08T07:26:45-07:00Denis Gorodetskiyhttp://code.activestate.com/recipes/users/4177587/http://code.activestate.com/recipes/577645-a-script-evaluating-psnr-metric-of-two-yuv420-fram/ <p style="color: grey"> Python recipe 577645 by <a href="/recipes/users/4177587/">Denis Gorodetskiy</a> (<a href="/recipes/tags/comparison/">comparison</a>, <a href="/recipes/tags/difference/">difference</a>, <a href="/recipes/tags/frame/">frame</a>, <a href="/recipes/tags/metric/">metric</a>, <a href="/recipes/tags/psnr/">psnr</a>, <a href="/recipes/tags/video/">video</a>, <a href="/recipes/tags/yuv/">yuv</a>). Revision 2. </p> <p>A script evaluating PSNR metric of two YUV420 frames <strong>usage: psnr.py filename1.yuv filename2.yuv frame_width frame_height</strong></p> <p>Alternatively if filename1 contains width and height in the form <strong>file-1200x1600.yuv</strong>, the script will extract width and height of a frame from the filename. Then usage even simplier: <strong>psnr.py filename1-1200x1600.yuv filename2.yuv</strong></p> Redate pictures with EXIF (Python) 2009-06-29T03:06:01-07:00Ivan Koblikhttp://code.activestate.com/recipes/users/4168407/http://code.activestate.com/recipes/576822-redate-pictures-with-exif/ <p style="color: grey"> Python recipe 576822 by <a href="/recipes/users/4168407/">Ivan Koblik</a> (<a href="/recipes/tags/creation_date/">creation_date</a>, <a href="/recipes/tags/date/">date</a>, <a href="/recipes/tags/exif/">exif</a>, <a href="/recipes/tags/modification_date/">modification_date</a>, <a href="/recipes/tags/picture/">picture</a>, <a href="/recipes/tags/video/">video</a>). Revision 2. </p> <p>Reads creation date from EXIF picture/video file header, and sets it to the file's creation and modification dates. This script differs from other recipes in its ability to work with the creation date in Windows. The script depends on several libraries: Win32 Extensions, pyexif, exif. <a href="http://koblik.blogspot.com/2009/06/exif-with-python.html">Here's</a> description of what they do and where to get them.</p> Script para transformar videos compatibles con reproductor MP4 (Python) 2010-04-30T18:23:39-07:00jrovegnohttp://code.activestate.com/recipes/users/4170207/http://code.activestate.com/recipes/577210-script-para-transformar-videos-compatibles-con-rep/ <p style="color: grey"> Python recipe 577210 by <a href="/recipes/users/4170207/">jrovegno</a> (<a href="/recipes/tags/ffmpge/">ffmpge</a>, <a href="/recipes/tags/mencoder/">mencoder</a>, <a href="/recipes/tags/split/">split</a>, <a href="/recipes/tags/video/">video</a>). Revision 3. </p> <p>Script para transformar videos compatibles con reproductor MP4: MP4 2GB FUJITEL 80MP4TV2 MP4-TV (AVIConverter_320X240_20FPS_EN Setup.exe) Requiere: - ffmpeg - mencoder Extras: Divide video en partes de 10 min Agrega subtítulos si existe el archivo file_name.srt Uso: avi2mp4 file_name.avi</p>