
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (13623)
-
vaapi_encode : Convert to send/receive API
20 décembre 2018, par Mark Thompsonvaapi_encode : Convert to send/receive API
This attaches the logic of picking the mode of for the next picture to
the output, which simplifies some choices by removing the concept of
the picture for which input is not yet available. At the same time,
we allow more complex reference structures and track more reference
metadata (particularly the contents of the DPB) for use in the
codec-specific code.It also adds flags to explicitly track the available features of the
different codecs. The new structure also allows open-GOP support, so
that is now available for codecs which can do it.- [DH] doc/encoders.texi
- [DH] libavcodec/vaapi_encode.c
- [DH] libavcodec/vaapi_encode.h
- [DH] libavcodec/vaapi_encode_h264.c
- [DH] libavcodec/vaapi_encode_h265.c
- [DH] libavcodec/vaapi_encode_mjpeg.c
- [DH] libavcodec/vaapi_encode_mpeg2.c
- [DH] libavcodec/vaapi_encode_vp8.c
- [DH] libavcodec/vaapi_encode_vp9.c
-
Apply filters to video while preview and save it with applied filter and original audio in android
27 novembre 2019, par FreakInDroidI am new 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 achieve 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
-
AndroidFastImageprocessingLibrary
Chrisbatt -> AndroidFastImageProcessing in github
This library use GLSurfaceview to display filters but we could not save it to mp4 file.
So I found another implementation of it icmobilelab -> AndroidFastImageProcessing in github
This library use JavaCV with ffmpeg compiled. But it failed.
-
JavaCV
JavaCV use outdated ffmpeg and it is abandoned.
-
Grafika -> on github
I tried Android Fast Image Processing with RecordFBOActivity in grafika. But i have 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).
-
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. -
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 1 -
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.
-
-
Ffmpeg does not properly convert videos when run as daemon
20 janvier 2019, par DGoikoI’m using ffmpeg to convert and split videos from a Python process. When I run it from console as a normal user everything works as expected, however, if I run it as a daemon it produces the same amount of files but with silence in almost the whole file.
This is the line I execute from python :
def convert_to_ffmpeg(file, ffmpeg_folder, chunk_length):
res = -1
try:
file_name = os.path.join(ffmpeg_folder, ntpath.basename(file) + ".flac")
res = os.system("ffmpeg -i " + file + " -f segment -segment_time "+str(chunk_length)+" " + file_name + " -y >/dev/null 2>&1")
except Exception as e:
raise MyException(code=210005, detalails=file, cause=e)
if not res == 0:
raise MyException(code=210004, detalails=str(res) + " - " + file)
return file_nameWhen I run it from a normal console it works as expected : it splits the video in chunks of "self._chunk_length" seconds.
However, if I run the program using python-daemon with this code :
if daemon_run:
pid_file = check_unclean_exit(config['pidfile'], log)
context = daemon.DaemonContext(
working_directory=approot,
umask=0o002,
pidfile=pid_file,
)
context.signal_map = {
signal.SIGTERM: programa_cleanup,
signal.SIGHUP: 'terminate',
# signal.SIGUSR1: reload_program_config,
}
with context:
convert_to_ffmpeg("/foo/testfile.mkv", "/foo/ffmpeg", 40)It produces EXACTLY the same chunks, however, most of the content of the chunks is just silence. It splits in the proper point, but doesn’t fill the contents of the audio output properly. Of course, no exception is thrown, as ffmpeg always returns 0
I did even install a completly fresh Debian 9 into a virtual machine to discard problems with ffmpeg and my old-good computer’s setup.
Of course this is a simplified example. The real thing is a multithread application which watches a directory for files to convert.