
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (65)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (7325)
-
ffpyplayer with libx264 error : cannot locate symbol "avio_seek" referenced by "player.so"
2 décembre 2016, par Gerasimov MikhailKivy’s ffpyplayer 3.2 can be built with python-for-android’s old toolchain recipe. I also want ffpyplayer to open more video formats so I try to add libx264 for ffmpeg2 recipe.
I created separate recipe for libx264, here’s how I build lib :
try ./configure \
--cross-prefix=arm-linux-androideabi- \
--sysroot="$NDKPLATFORM" \
--host=arm-linux \
--enable-pic \
--disable-asm \
--disable-cli \
--disable-opencl \
--enable-shared \
--prefix=$BUILD_x264Here’s main part where I add libx264 to ffmpeg2 :
debug "Activate flags for x264 / ffmpeg2"
x264_CFLAGS="-I$BUILD_x264/include/"
x264_LDFLAGS="-L$BUILD_x264/lib/ -Wl,-soname,libx264.so"Everything compiles fine, but I’m getting error when trying to use ffpyplayer on Android device :
ffpyplayer - ImportError : dlopen failed : cannot locate symbol
"avio_seek" referenced by "player.so"Any idea what can it be ?
I have no knowledges in compiling libs so I would be grateful if you suggest me way where to go to find reason of this error.
-
ffmpeg not producing duration value when converting a media file. If this media is used in an html player, seeking fails on some browsers
4 décembre 2020, par DavidI'm asking this question because I didn't find information on the web and this seems to be uncommon issue. After a lot of trial and error I'm creating this answer for reference.


I'm using python which runs the ffmpeg command to convert an MP4 into WEBM file. I noticed that some of the conversions didn't seek when displaying in the webpage but other webm files worked on the same server. I was converting from two different machines. The core problem was the ffmpeg command was using pipe during the conversion process on one machine and output directly to a file on the other.


Apparently doing this doesn't populate the duration attribute in the file but if I ran ffmpeg with the same switches, same order and output to a file on the system, the duration attribute would populate.


I was converting from MP4 to WEBM format using opus for the audio. This issue might only impact certain file types, webm as an example and not others.


-
ffmpeg after converting avi to mp4 need wait till video loads in flash player 100% otherwise video is buffering
28 octobre 2013, par Xenos TrojanowiczSo if fixed all issues with my ffmpeg journey now I just need that after converting videos they play in flash player instantly and no need to wait till video loeaded 100% I use :
if ($success_msg) {
$tmp_parts = explode('.', $file['name']);
$ext = array_pop($tmp_parts);
$ext = strtolower($ext);
if($ext == "avi" && $convert_avi == true) {
$convert_source = _VIDEOS_DIR_PATH.$new_name;
$conv_name = substr(md5($file['name'].rand(1,888)), 2, 10).".mp4";
$converted_file = _VIDEOS_DIR_PATH.$conv_name;
$ffmpeg_command = 'ffmpeg -i '.$convert_source.' -acodec libfaac -vcodec libx264 -s 1280x720 -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5 '.$converted_file;
echo exec($ffmpeg_command);
$sql = "UPDATE pm_temp SET url = '".$conv_name."' WHERE url = '".$new_name."' LIMIT 1";
$result = @mysql_query($sql);
unlink($convert_source);
}
echo $success_msg;
}To convert videos
EDIT #1 ffmpeg concole output with faststart function :
root@1tb:~# ffmpeg -i sample.avi -movflags faststart -acodec libfaac -vcodec libx264 -s 1280x720 -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5 consample.mp4
ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 22 2013 07:18:58 with gcc 4.4.5
configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.123. 0 / 52.123. 0
libavformat 52.111. 0 / 52.111. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
[mp3 @ 0x15389100] Header missing
[mpeg4 @ 0x15386dc0] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'sample.avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
Duration: 00:01:01.81, start: 0.000000, bitrate: 1194 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x352 [PAR 1:1 DAR 20:11], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
[MOV/3GP/MP4/3G2 muxer @ 0x15386c80] [Eval @ 0x7ffffec71230] Undefined constant or missing '(' in 'faststart'
[MOV/3GP/MP4/3G2 muxer @ 0x15386c80] Unable to parse option value "faststart"
Invalid value 'movflags' for option 'faststart'