
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (53)
-
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (6157)
-
Ubuntu 16.04 python installing 3rd party module ffmpeg-3.0.2
3 juin 2016, par vanoccupantherHave tried installing this package multiple times. Initially I installed it to a directory where I am running scripts that call it but I get an error message "ImportError : No module named ’ffmpeg’".
I then tried putting it in one of my python paths listed in sys.path and again I got the same message.
I then opened .bashrc and added the home directory path and still got the same error message when I ran my script.
import sys
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import ffmpeg
from PIL import Image
img = sys.argv[1] # ignore this
im = Image.open(img) # ignore this
imarray = np.array(im) # ignore this
ffmpeg -i ('flame.avi') -f image2 -c:v mjpeg ('image-%d.jpg')
avconv -i ('flame.avi') -vsync ('1') -r ('100') ('image%03d.tif')I’m really not sure where to go, what are my options here ? And what am I doing that is glaringly wrong ?
-
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! -
Apply filters to video while preview and save it with applied filter and original audio in android
11 juillet 2016, par RajkumarDear geeks i m newbie to video processing. i want to apply a filter to a video at runtime, and i want to save that video after filter applied.
Regarding this i m doing a research. I has gone through many libraries but i m struggling to achive my aim.Developement environment
Migw-64 with windows 7 64 bit
Android Studio 2.1 preview 5
heap space 4GB
com.android.tools.build:gradle:2.1.0
android-ndk-r12-win-x86_64
com.android.tools.build:gradle-experimental:0.7.0 —> to build NDKI have tried
1)AndroidFastImageprocessingLibrary
Chrisbatt -> AndroidFastImageProcessing in github
github.com/chrisbatt/AndroidFastImageProcessing
This library use GLSurfaceview to display filters but we could not save it to mp4 fileso i found another implementation of it
icmobilelab -> AndroidFastImageProcessing in github
github.com/icmobilelab/AndroidFastImageProcessing/blob/master/framework/FastImageProcessing/src/project/android/imageprocessing/output/VideoFileEndpoint.java
This library use JavaCV with ffmpeg compiled. But it failed.2)JavaCV
JavaCV use outdated ffmpeg and it abondond3)Grafika -> in github
github.com/google/grafika
I tried Android Fast Image Processing with RecordFBOActivity in grafika. But i m failed. This library use MediaRecorder to record the contents of GLSurfaceView. But it records video without audio(I have tested the RecordFBOActivity and analyze the code )4)filter packs in platform_frameworks
github.com/android/platform_frameworks_base/blob/master/media/mca/filterpacks/java/android/filterpacks/videosink/MediaEncoderFilter.java
its android 4.2 edited core. i can’t run this code because too many jni dependencies.5)ffmpeg
github.com/guardianproject/android-ffmpeg
i tried ffmpeg3.1 compilation procedure implemented by guardianproject. it successfullay built a static library but i cannot build dynamic library( so files). i m stuck with a linker error. I think the linking order matters. i tried the linking order specified in below link
https://fritzone.wordpress.com/2010/05/11/link-with-static-ffmpeg/
but it won’t help. the following error occurs[armeabi-v7a] SharedLibrary : libffmpeg.so
jni/ffmpeg.c:200: error: undefined reference to 'av_frame_alloc'
jni/ffmpeg.c:201: error: undefined reference to 'av_frame_alloc'
jni/ffmpeg.c:209: error: undefined reference to 'av_register_all'
jni/ffmpeg.c:210: error: undefined reference to 'avfilter_register_all'
jni/ffmpeg.c:45: error: undefined reference to 'avformat_open_input'
jni/ffmpeg.c:50: error: undefined reference to 'avformat_find_stream_info'
jni/ffmpeg.c:56: error: undefined reference to 'av_find_best_stream'
jni/ffmpeg.c:63: error: undefined reference to 'av_opt_set_int'
jni/ffmpeg.c:66: error: undefined reference to 'avcodec_open2'
jni/ffmpeg.c:67: error: undefined reference to 'av_log'
jni/ffmpeg.c:78: error: undefined reference to 'avfilter_get_by_name'
jni/ffmpeg.c:79: error: undefined reference to 'avfilter_get_by_name'
jni/ffmpeg.c:80: error: undefined reference to 'avfilter_inout_alloc'
jni/ffmpeg.c:81: error: undefined reference to 'avfilter_inout_alloc'
jni/ffmpeg.c:85: error: undefined reference to 'avfilter_graph_alloc'
jni/ffmpeg.c:98: error: undefined reference to 'avfilter_graph_create_filter'
jni/ffmpeg.c:106: error: undefined reference to 'avfilter_graph_create_filter'
jni/ffmpeg.c:113: error: undefined reference to 'av_int_list_length_for_size'
jni/ffmpeg.c:113: error: undefined reference to 'av_opt_set_bin'
jni/ffmpeg.c:116: error: undefined reference to 'av_log'
jni/ffmpeg.c:131: error: undefined reference to 'av_strdup'
jni/ffmpeg.c:142: error: undefined reference to 'av_strdup'
jni/ffmpeg.c:147: error: undefined reference to 'avfilter_graph_parse_ptr'
jni/ffmpeg.c:151: error: undefined reference to 'avfilter_graph_config'
jni/ffmpeg.c:155: error: undefined reference to 'avfilter_inout_free'
jni/ffmpeg.c:156: error: undefined reference to 'avfilter_inout_free'
jni/ffmpeg.c:218: error: undefined reference to 'av_read_frame'
jni/ffmpeg.c:223: error: undefined reference to 'avcodec_decode_video2'
jni/ffmpeg.c:230: error: undefined reference to 'av_frame_get_best_effort_timestamp'
jni/ffmpeg.c:233: error: undefined reference to 'av_buffersrc_add_frame_flags'
jni/ffmpeg.c:234: error: undefined reference to 'av_log'
jni/ffmpeg.c:240: error: undefined reference to 'av_buffersink_get_frame'
jni/ffmpeg.c:171: error: undefined reference to 'av_rescale_q'
jni/ffmpeg.c:246: error: undefined reference to 'av_frame_unref'
jni/ffmpeg.c:248: error: undefined reference to 'av_frame_unref'
jni/ffmpeg.c:251: error: undefined reference to 'av_packet_unref'
jni/ffmpeg.c:254: error: undefined reference to 'avfilter_graph_free'
jni/ffmpeg.c:255: error: undefined reference to 'avcodec_close'
jni/ffmpeg.c:256: error: undefined reference to 'avformat_close_input'
jni/ffmpeg.c:257: error: undefined reference to 'av_frame_free'
jni/ffmpeg.c:258: error: undefined reference to 'av_frame_free'
jni/include/libavutil/error.h:111: error: undefined reference to 'av_strerror'
collect2.exe: error: ld returned 1 exit status
make: *** [obj/local/armeabi/libffmpeg.so] Error 16)MediaCodec, MediaExtractor,MediaRecord,MediaMuxer
finally i planned to combine AndroidFastImageProcessing with MediaCodec, MediaExtractor,MediaRecord,MediaMuxer.
so i try to Extract audio from video using mediamuxer
https://gist.github.com/sayan801/9a39ccad0818d2b3499a
I use mp4 video (MIME Type video/avc that have 2 tracks audio and video) to extract audio
but the resultant file is corrupted (just 4 kb)I think this question is another view of the existing problem
if anybody experienced this problem please guide me
Thanks