Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (87)

Sur d’autres sites (16254)

  • Cannot load library jni ffmpeg in intellij idea

    10 janvier 2017, par user3292775

    After a lot of trial and error I managed to make all the program work except when coming to load a library. The library is located in the JNI folder. Can someone help me with this error ?

    02-11 21:38:32.940  26771-26771/com.example.untitled E/AndroidRuntime﹕ FATAL EXCEPTION: main
       Process: com.example.untitled, PID: 26771
       java.lang.UnsatisfiedLinkError: Couldn't load nativetester-jni from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.untitled-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.untitled-2, /vendor/lib, /system/lib]]]: findLibrary returned null
               at java.lang.Runtime.loadLibrary(Runtime.java:358)
               at java.lang.System.loadLibrary(System.java:526)
               at com.example.untitled.NativeTester.<clinit>(NativeTester.java:23)
               at com.example.untitled.FFmpegPlayer.<clinit>(FFmpegPlayer.java:184)
               at com.example.untitled.VideoActivity.onCreate(VideoActivity.java:134)
               at android.app.Activity.performCreate(Activity.java:5231)
               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
               at android.app.ActivityThread.access$800(ActivityThread.java:145)
               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
               at android.os.Handler.dispatchMessage(Handler.java:102)
               at android.os.Looper.loop(Looper.java:136)
               at android.app.ActivityThread.main(ActivityThread.java:5081)
               at java.lang.reflect.Method.invokeNative(Native Method)
               at java.lang.reflect.Method.invoke(Method.java:515)
               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
               at dalvik.system.NativeStart.main(Native Method)</clinit></clinit>
  • Fixing a corrupted .MP4 file. which might be a 3gp file

    2 juin 2020, par Tendekai Muchenje

    I have a file called input.MP4 and it is corrupted. It's from a CCTV camera. I tried everything, ffmpeg, VLC convert, no luck. However, I used mediainfo and exiftool and extracted the following info. I am wondering if someone can figure out if I can use any of this info to fix it or convert it to a usable format. I have a copy of it here on my Google Drive

    &#xA;&#xA;

    mediainfo gave me this :

    &#xA;&#xA;

    General&#xA;Complete name                       : input.MP4&#xA;Format                              : MPEG-4&#xA;Format profile                      : 3GPP Media Release 5&#xA;Codec ID                            : 3gp5 (3gp5/3gp4/avc1/mp42/isom)&#xA;File size                           : 5.77 MiB&#xA;IsTruncated                         : Yes&#xA;

    &#xA;&#xA;

    exiftool gave me this :

    &#xA;&#xA;

    ExifTool Version Number          : 10.80&#xA;File Name                        : input.MP4&#xA;Directory                        : /home/tendi/Downloads&#xA;File Size                        : 5.8 MB&#xA;File Modification Date/Time      : 2018:07:21 19:09:03-04:00&#xA;File Access Date/Time            : 2018:07:21 19:30:48-04:00&#xA;File Inode Change Date/Time      : 2018:07:21 19:30:48-04:00&#xA;File Permissions                 : rw-rw-r--&#xA;File Type                        : 3GP&#xA;File Type Extension              : 3gp&#xA;MIME Type                        : video/3gpp&#xA;Major Brand                      : 3GPP Media (.3GP) Release 5&#xA;Minor Version                    : 0.0.0&#xA;Compatible Brands                : 3gp5, 3gp4, avc1, mp42, isom&#xA;Movie Data Size                  : 5899106&#xA;Movie Data Offset                : 44&#xA;

    &#xA;&#xA;

    Any suggestions ?

    &#xA;

  • I want to change the file name with exiftool. To “Result of adding time zone (+9) to CreateDate”

    7 décembre 2019, par user3474300

    I shot a video with a sony camera.
    A file with the extension .mp4 was created.
    I want to change the shooting date and time to a file name.
    The environment is Windows10.


    What I tried

    I first dragged and dropped the .mp4 video file to exiftool (-k) .exe.

    ExifTool Version Number         : 11.76
    File Name                       : C0001.MP4
    File Modification Date/Time     : 2019:10:23 13:10:49+09:00
    File Access Date/Time           : 2019:11:17 21:50:24+09:00
    File Creation Date/Time         : 2019:11:17 21:50:21+09:00
    MIME Type                       : video/mp4
    Major Brand                     : Sony XAVC
    Create Date                     : 2019:10:23 04:10:32
    Modify Date                     : 2019:10:23 04:10:32
    Track Create Date               : 2019:10:23 04:10:32
    Track Modify Date               : 2019:10:23 04:10:32
    Media Create Date               : 2019:10:23 04:10:32
    Media Modify Date               : 2019:10:23 04:10:32
    Time Zone                       : +09:00
    Last Update                     : 2019:10:23 13:10:32+09:00
    Creation Date Value             : 2019:10:23 13:10:32+09:00

    I then typed the following command at a Windows 10 command prompt :

    C:\hoge>"exiftool(-k).exe" -r "-FileNamehoge/C0001.MP4
    Warning: Error removing old file - C:/hoge/C0001.MP4
       1 directories scanned
       1 image files updated
    -- press RETURN --

    The following file was created.

    2019-10-23_04-10-32 - C0001.MP4


    How can I output the following file ?

    I don’t know how to add time zone (+9) to CreateDate.

    2019_1023_131032.MP4