
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
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
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (51)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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. -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.
Sur d’autres sites (6587)
-
JavaCV/FFmpeg causes crash only on Lollipop
13 novembre 2015, par WeirdHatI get reports of this crash from users of my app on Galaxy Note devices running Android Lollipop (might happen on other devices but the majority of my users have Galaxy Note because it’s a drawing app). Below is the relevant code from my ASyncTask which exports a series of images (plus audio) to a video file using JavaCV/FFmpeg, and the stack trace from the reported crash. It works fine on my Note 8.0 running KitKat (there’s no Lollipop update available for that device), and works fine in Lollipop on the emulator, so I’m having a hard time tracking down the cause and don’t know what to do.
@Override
protected String doInBackground(final File... params) {
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(params[0],canvas_width,canvas_height, 0);
FrameGrabber audiograbber = null;
if(audio!=null) audiograbber = new FFmpegFrameGrabber(audio);
Frame audioframe;
Frame image;
AndroidFrameConverter converter = new AndroidFrameConverter();
try {
recorder.setVideoCodec(avcodec.AV_CODEC_ID_H264);
recorder.setFrameRate(framerate);
recorder.setPixelFormat(0);
if(audio!=null) {
audiograbber.setFrameRate(framerate);
audiograbber.start();
recorder.setAudioChannels(audiograbber.getAudioChannels());
recorder.setSampleRate(audiograbber.getSampleRate());
}
recorder.start();
Bitmap drawframe = createBitmap(canvas_width, canvas_height, Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(drawframe);
Paint p = new Paint();
for(int frame=0; frame/code to draw image
image = converter.convert(drawframe);
recorder.record(image);
}
if(isCancelled()) {
bgbitmap.recycle();
drawframe.recycle();
return "Cancelled";
}
if(audio!=null) {
while((audioframe = audiograbber.grabFrame()) != null) {
recorder.record(audioframe);
}
}
recorder.stop();
bgbitmap.recycle();
drawframe.recycle();
if(audio!=null) audiograbber.stop();
return "Saved "+params[0];
} catch (Exception e) {
e.printStackTrace();
}
return "Failed";
}-
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/treltexx/trelte:5.1.1/LMY47X/N910CXXU1COH4:user/release-keys'
Revision: '21'
ABI: 'arm'
pid: 12039, tid: 12053, name: GCDaemon >>> com.weirdhat.roughanimator <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'sart/runtime/gc/collector/mark_sweep.cc:381] Can't mark invalid object'
r0 00000000 r1 00002f15 r2 00000006 r3 00000000
r4 b366bdb8 r5 00000006 r6 00000002 r7 0000010c
r8 00000001 r9 b446f550 sl b4429000 fp 9a975c60
ip 00002f15 sp b366b008 lr b6db9cb9 pc b6ddd3ac cpsr 60070010
backtrace:
#00 pc 0003b3ac /system/lib/libc.so (tgkill+12)
#01 pc 00017cb5 /system/lib/libc.so (pthread_kill+52)
#02 pc 000188c7 /system/lib/libc.so (raise+10)
#03 pc 00015165 /system/lib/libc.so (__libc_android_abort+36)
#04 pc 00012fac /system/lib/libc.so (abort+4)
#05 pc 00242f17 /system/lib/libart.so (art::Runtime::Abort()+170)
#06 pc 000ad991 /system/lib/libart.so (art::LogMessage::~LogMessage()+1360)
#07 pc 0013ec53 /system/lib/libart.so (bool art::gc::accounting::HeapBitmap::AtomicTestAndSet(art::mirror::Object const*, art::gc::collector::MarkSweepMarkObjectSlowPath const&)+422)
#08 pc 0013ed27 /system/lib/libart.so (art::gc::collector::MarkSweep::MarkObjectParallel(art::mirror::Object const*)+142)
#09 pc 0013ff23 /system/lib/libart.so (art::gc::collector::MarkSweep::MarkRootParallelCallback(art::mirror::Object**, void*, art::RootInfo const&)+26)
#10 pc 0025893d /system/lib/libart.so (art::ReferenceMapVisitor::VisitQuickFrame()+1024)
#11 pc 00258cad /system/lib/libart.so (art::ReferenceMapVisitor::VisitFrame()+224)
#12 pc 0024c8e9 /system/lib/libart.so (art::StackVisitor::WalkStack(bool)+276)
#13 pc 0024e617 /system/lib/libart.so (art::Thread::VisitRoots(void (*)(art::mirror::Object**, void*, art::RootInfo const&), void*)+994)
#14 pc 0013ef9f /system/lib/libart.so (art::gc::collector::CheckpointMarkThreadRoots::Run(art::Thread*)+126)
#15 pc 0025b44d /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*)+296)
#16 pc 0013dc0d /system/lib/libart.so (art::gc::collector::MarkSweep::MarkRootsCheckpoint(art::Thread*, bool)+96)
#17 pc 0014165d /system/lib/libart.so (art::gc::collector::MarkSweep::PreCleanCards()+172)
#18 pc 001417d3 /system/lib/libart.so (art::gc::collector::MarkSweep::MarkingPhase()+126)
#19 pc 001418b9 /system/lib/libart.so (art::gc::collector::MarkSweep::RunPhases()+176)
#20 pc 00138527 /system/lib/libart.so (art::gc::collector::GarbageCollector::Run(art::gc::GcCause, bool)+246)
#21 pc 0015865b /system/lib/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool)+1426)
#22 pc 00159af5 /system/lib/libart.so (art::gc::Heap::ConcurrentGC(art::Thread*)+56)
#23 pc 000003ef /system/framework/arm/boot.oat -
avconv : Saving MP4 is Taking Hours
4 septembre 2015, par PeregrineStudiosnot entirely sure if I should post this on askubuntu or stackoverflow. Posted on askubuntu and not getting any answers. I’m hoping I can find an answer here.
I’m setting up a website where users can upload videos and share them. I’m using avconv to reduce the video size and save it twice, once as an mp4 and again as a webm.
Uploading a .MOV from a phone, the video conversion is quick and manageable.
Uploading a .mp4 from a Samsung Galaxy S3, the video conversion to webm is also quick. But, the conversion to another mp4 takes FOREVER - literally hours. Why ? Is anyone able to shed light on the problem ?
My avconv output is below.
avconv -i /var/www/dev_jackpine/ottawa2017/temp_videos/37a949071acaee714dae829ca8df9b29.mp4 -c:v libx264 -vf transpose=1,transpose=1,transpose=1 -s 640x480 /var/www/dev_jackpine/ottawa2017/spinnies/test.mp4
avconv version 0.8.17-4:0.8.17-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Mar 16 2015 13:26:50 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/dev_jackpine/ottawa2017/temp_videos/37a949071acaee714dae829ca8df9b29.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 2015-09-04 15:08:21
Duration: 00:00:07.76, start: 0.000000, bitrate: 11756 kb/s
Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1280x720, 11967 kb/s, 29.81 fps, 90k tbr, 90k tbn, 180k tbc
Metadata:
creation_time : 2015-09-04 15:08:21
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 119 kb/s
Metadata:
creation_time : 2015-09-04 15:08:21
File '/var/www/dev_jackpine/ottawa2017/spinnies/test.mp4' already exists. Overwrite ? [y/N] y
[buffer @ 0xc3d580] w:1280 h:720 pixfmt:yuv420p
[scale @ 0xc3dac0] w:1280 h:720 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0x4
[transpose @ 0xc3e280] w:640 h:480 dir:1 -> w:480 h:640 rotation:clockwise vflip:0
[transpose @ 0xc3e7c0] w:480 h:640 dir:1 -> w:640 h:480 rotation:clockwise vflip:0
[transpose @ 0xc3ede0] w:640 h:480 dir:1 -> w:480 h:640 rotation:clockwise vflip:0
[libx264 @ 0xc2b100] MB rate (108000000) > level limit (983040)
[libx264 @ 0xc2b100] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0xc2b100] profile Main, level 5.1
[libx264 @ 0xc2b100] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
Output #0, mp4, to '/var/www/dev_jackpine/ottawa2017/spinnies/test.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 2015-09-04 15:08:21
encoder : Lavf53.21.1
Stream #0.0(eng): Video: libx264, yuv420p, 480x640, q=-1--1, 180k tbn, 90k tbc
Metadata:
creation_time : 2015-09-04 15:08:21
Stream #0.1(eng): Audio: libvo_aacenc, 48000 Hz, stereo, s16, 200 kb/s
Metadata:
creation_time : 2015-09-04 15:08:21
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
Press ctrl-c to stop encodingHere’s an example frame output :
frame=124398 fps=142 q=33.0 size= 16885kB time=1.38 bitrate=100110.2kbits/s dup=124356 drop=0
I’ve had the process running the whole time I’ve been writing this question, and so far it’s done... 22 frames.
What could be the problem ?
-
FFmpegMediaPlayer : findLibrary returned null
8 août 2015, par IceJOKERI use https://github.com/wseemann/FFmpegMediaPlayer in my applicaton, but some Adndroid device throw exception :
java.lang.ExceptionInInitializerError
at ru.mypackage.PlayService.initPlayer(PlayService.java:74)
at ru.mypackage.PlayService.onCreate(PlayService.java:68)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:1949)
at android.app.ActivityThread.access$2500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:989)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load avutil: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at wseemann.media.FFmpegMediaPlayer.<clinit>(FFmpegMediaPlayer.java:620)
... 13 more
</clinit>[![enter image description here][3]][3]
Can somebody explain me what’s wrong there ?
On my device and some other device the app working nice, but on some device (for example : Galaxy Ace (GT-S5830i) Android 2.3.3 - 2.3.7) it throw the exception.p.s. about "lib" prefix I understood ( http://developer.android.com/intl/ru/reference/java/lang/System.html#mapLibraryName(java.lang.String) )