
Recherche avancée
Autres articles (48)
-
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...) -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8991)
-
Unable to upload video from iphon using paperclip-ffmpeg in ruby on rails
13 mai 2015, par sankwhen i upload video from iphon then I am getting below error.
It works perfectly when I upload same video from desktop.
Command :: PATH=/usr/bin/:$PATH; file -b --mime '/tmp/6da355e988ec841811d8803dfd5cf44c20150513-8103-b4lkam.MOV'
[paperclip] Content Type Spoof: Filename IMG_2637.MOV (["video/quicktime"]), content type discovered from file command: inode/x-empty. See documentation to allow this combination.
(0.6ms) ROLLBACK
Completed 400 Bad Request in 58ms (Views: 0.9ms | ActiveRecord: 5.0ms)I used gems "paperclip", " > 4.1" and ’paperclip-ffmpeg’
and in video model i used
validates_attachment_content_type :student_video, content_type: /\Avideo\/.*\Z/
also tried out
validates_attachment_content_type :student_video, :content_type => ['video/x-
# msvideo', 'video/avi', 'video/quicktime', 'video/3gpp', 'video/x-ms-
# wmv', 'video/mp4', 'flv-application/octet-stream', 'video/x-
# flv', 'video/mpeg', 'video/mpeg4', 'video/x-la-asf', 'video/x-ms-asf']but i m getting same error.
I do not know what was an error.
please help me.
thanks in advance.
-
ffmpeg armv7s compile segmentation fault
13 mai 2015, par Sergey92zpI use https://github.com/kewlbear/FFmpeg-iOS-build-script to compile ffmpeg,
but when i try to compile, for armv7s architecture i have next errorall other archs compile fine
clang : error : unable to execute command : Segmentation fault : 11 clang :
error : clang frontend command failed due to signal (use -v to see
invocation) Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM
3.6.0svn) Target : arm-apple-darwin14.3.0 Thread model : posix clang : note : diagnostic msg : PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash
backtrace, preprocessed source, and associated run script. clang :
note : diagnostic msg :
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT : Preprocessed
source(s) and associated run script(s) are located at : clang : note :
diagnostic msg :
/var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.c clang :
note : diagnostic msg :
/var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.sh clang :
note : diagnostic msg :******************** make : * [libavcodec/vp8.o] Error 254 make : * Waiting for unfinished jobs.... CC libavcodec/wmv2enc.o
Couple months ago all compiled without any errors.
Tried on couple versions of ffmpegHere is Clang -v
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target : x86_64-apple-darwin14.3.0 Thread model : posixand xcode version is Version 6.3.1 (6D1002)
-
Segmentation Fault when running ffmpeg+sdl program
23 juin 2015, par user2270995I started with Dranger’s tutorials on building a video player using FFMPEG and SDL. The code tutorial4 compiles fine but when i run it i get a segmentation fault error. here’s the code for tutorial4.
I am using gcc
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posixon Mac 10.10.3.
Here’s GDB Backtrace :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x1813 of process 84136]
0x00007fff955d4432 in stack_not_16_byte_aligned_error ()
from /usr/lib/system/libdyld.dylib
(gdb) backtrace
#0 0x00007fff955d4432 in stack_not_16_byte_aligned_error ()
from /usr/lib/system/libdyld.dylib
#1 0x000000010a2f1ee0 in ?? ()
#2 0x0000000101341008 in ?? () from /usr/local/lib/libSDL-1.2.0.dylib
#3 0x00000000000005d0 in ?? ()
#4 0x00000001013362e9 in RunThread () from /usr/local/lib/libSDL-1.2.0.dylib
#5 0x00000001013362e2 in RunThread () from /usr/local/lib/libSDL-1.2.0.dylib
#6 0x00007fff8d1d4268 in ?? () from /usr/lib/system/libsystem_pthread.dylib
#7 0x0000000000006f23 in ?? ()
#8 0x000000010a2f2000 in ?? ()
#9 0x000000010a2f1f50 in ?? ()
#10 0x00007fff8d1d41e5 in ?? () from /usr/lib/system/libsystem_pthread.dylib
#11 0x0000000000000000 in ?? ()
(gdb)Backtrace for another SIGSEGV :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x15eb of process 11453]
0x00000001012c9475 in av_log_format_line ()
from /usr/local/lib/libavutil.54.dylib
(gdb) bt
#0 0x00000001012c9475 in av_log_format_line ()
from /usr/local/lib/libavutil.54.dylib
#1 0x00000001012f7338 in av_pix_fmt_descriptors ()
from /usr/local/lib/libavutil.54.dylib
#2 0x00000018012f7358 in ?? ()
#3 0x000000010a2f3010 in ?? ()
#4 0x000000010a2f2c10 in ?? ()
#5 0x000000010011d65a in ?? () from /usr/local/lib/libavformat.56.dylib
#6 0x000000010a2f3900 in ?? ()
#7 0x0000000000000018 in ?? ()
#8 0x0000000000000018 in ?? ()
#9 0x000000010011d65a in ?? () from /usr/local/lib/libavformat.56.dylib
#10 0x000000010a2f3900 in ?? ()
#11 0x910016d093cdc267 in ?? ()
#12 0x000000010a2f3eb0 in ?? ()
#13 0x00000001012c96e8 in av_log_default_callback ()
from /usr/local/lib/libavutil.54.dylib
#14 0x0000000000000000 in ?? ()
(gdb)The call to
SDL_WaitEvent
in main method is where these errors occur in my debugging.for(;;) {
SDL_WaitEvent(&event);
switch(event.type) {
case FF_QUIT_EVENT:
case SDL_QUIT:
is->quit = 1;
SDL_Quit();
return 0;
break;
case FF_REFRESH_EVENT:
video_refresh_timer(event.user.data1);
break;
default:
break;
}
}is this related to pthread library or sdl And how do i resolve it ?