Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (52)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (8170)

  • AttributeError : 'NoneType' object has no attribute 'tostring'

    10 juin 2017, par Antoine Pouliot

    So I just started programming a few days ago and I have this problem : AttributeError: 'NoneType' object has no attribute 'tostring'. I don’t know what is wrong.

    #Reads through each frame, calculates the timestamp, places it on the frame and
    #exports the frame to the output video.
    while current_frame < total_frames:
       success, image = video.read()
       elapsed_time = video.get(cv2.CAP_PROP_POS_MSEC)
       current_frame = video.get(cv2.CAP_PROP_POS_FRAMES)
       timestamp = initial + dt.timedelta(microseconds = elapsed_time*1000)
       cv2.putText(image, 'Date: ' + str(timestamp)[0:10], (50,int(height-150)), cv2.FONT_HERSHEY_COMPLEX_SMALL, 2, (255, 255, 255), 3)
       cv2.putText(image, 'Time: ' + str(timestamp)[11:-4], (50,int(height-100)), cv2.FONT_HERSHEY_COMPLEX_SMALL, 2, (255, 255, 255), 3)
       pipe.stdin.write(image.tostring())
  • About java.lang.UnsatisfiedLinkError:org.bytedeco.javacpp.avutil

    7 juin 2017, par Noo Li

    I try to work it out a couple days. But it didn’t work.

    enter image description here

    Below is full error logs :

    02-19 09:41:31.239 17753-17753/com.superdata.cxim E/art: dlopen("/system/lib64/libdl.so", RTLD_LAZY) failed: dlopen failed: cannot locate symbol "__cxa_finalize" referenced by "/system/lib64/libdl.so"...
    02-19 09:41:31.317 17753-17753/com.superdata.cxim E/art: dlopen("/data/app/com.superdata.cxim-1/lib/arm64/libavutil.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.superdata.cxim-1/lib/arm64/libavutil.so" is 32-bit instead of 64-bit
    02-19 09:41:31.359 17753-17753/com.superdata.cxim E/InputEventReceiver: Exception dispatching input event.
    02-19 09:41:31.360 17753-17753/com.superdata.cxim E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback
    02-19 09:41:31.361 17753-17753/com.superdata.cxim E/MessageQueue-JNI: java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avutil
       at java.lang.Class.classForName(Native Method)
       at java.lang.Class.forName(Class.java:309)
       at org.bytedeco.javacpp.Loader.load(Loader.java:390)
       at org.bytedeco.javacpp.Loader.load(Loader.java:358)
       at org.bytedeco.javacpp.avcodec$AVPacket.<clinit>(avcodec.java:1407)
       at com.superdata.cxim.ui.camera.javacv.FFmpegFrameRecorder.<init>(FFmpegFrameRecorder.java:252)
       at com.superdata.cxim.ui.camera.recorder.WXLikeVideoRecorder.initRecorder(WXLikeVideoRecorder.java:174)
       at com.superdata.cxim.ui.camera.recorder.WXLikeVideoRecorder.startRecording(WXLikeVideoRecorder.java:278)
       at com.superdata.cxim.ui.camera.main.NewRecordVideoActivity.startRecord(NewRecordVideoActivity.java:158)
       at com.superdata.cxim.ui.camera.main.NewRecordVideoActivity.onTouch(NewRecordVideoActivity.java:234)
       at android.view.View.dispatchTouchEvent(View.java:8656)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
       at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2511)
       at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1807)
       at android.app.Activity.dispatchTouchEvent(Activity.java:2841)
       at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2468)
       at android.view.View.dispatchPointerEvent(View.java:8873)
       at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4831)
       at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4689)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
       at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4344)
       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
       at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4401)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
       at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6645)
       at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6619)
       at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6572)
       at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6812)
       at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
       at android.os.MessageQueue.nativePollOnce(Native Method)
       at android.os.MessageQueue.next(MessageQueue.java:148)
       at android.os.Looper.loop(Looper.java:151)
    </init></clinit>
  • FFMPEG command issue for merging mp4 videos in android

    7 septembre 2018, par DJtiwari

    I am using following FFMPEG command for merging mp4 videos in android. But video is rotated 90 degree after merging.

    I am stuck from two days .If any idea it would be highly appriciated.

    Thanks in Advance !

    complexCommand = new String[] {
                   "ffmpeg",
                   "-y",
                   "-i",
                   recordpath + "Vid1.mp4",
                   "-i",
                   recordpath + "Vid2.mp4",
                   "-strict",
                   "experimental",
                   "-filter_complex",
                   "[0:v]scale=w=640:h=480[v1]; [1:v]scale=w=640:h=480[v2]; [v1][0:a][v2][1:a] concat=n=2:v=1:a=1 [v] [a]",
                   "-map", "[v]", "-map", "[a]", "-b", "2097k", "-vcodec",
                   "mpeg4","-ab","64k","-ac","2","-ar","22050", recordpath + "Outputnew.mp4"};