Recherche avancée

Médias (91)

Autres articles (24)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (6156)

  • FFmpeg convert mp3 to pcm error "could not find codec parameters"

    20 février 2020, par Hanqing Wu

    When I am trying to convert a mp3 file to pcm using the following code, I repeatedly get the error message

    [mp3 @ 0x22cc420] Format mp3 detected only with low score of 1, misdetection possible!
    [mp3 @ 0x22cd260] Header missing
    [mp3 @ 0x22cc420] decoding for stream 0 failed
    [mp3 @ 0x22cc420] Could not find codec parameters for stream 0 (Audio: mp3, 0 channels, s16p): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    test.mp3: could not find codec parameters
    Input #0, mp3, from 'test.mp3':
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Audio: mp3, 0 channels, s16p
    [abuffer @ 0x22cfaa0] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
       Last message repeated 3 times
    [abuffer @ 0x22cfaa0] Error setting option time_base to value 1/0.
    [graph 0 input from stream 0:0 @ 0x22cf620] Error applying options to the filter.

    The mp3 file was converted from a video on Youtube.

  • FFMPEG cannot encode .MP4 to usable .Y4M RAW video : "Operation not permitted"

    26 janvier 2020, par Ham789

    I am running ffmpeg version 4.2.2 on macOS Sierra and I cannot decode a RAW video.

    First I create the .Y4M video :

    ffmpeg -y -i inputfolder/GH012088.MP4 temp_raw_video.Y4M

    Then I try to input it to ffmpeg :

    ffmpeg -i temp_raw_video.Y4M

    However I get the following error in the terminal : temp_raw_video.Y4M: Operation not permitted

    I have checked the permissions for the ’temp_raw_video.Y4M’ file and I have both read and write permissions.

    I have tried the above with .MOV videos from an iPhone and it works fine.

    The problem seems to be with the .MP4 videos I am trying to convert. These videos were taken with a GoPro camera.

    What is going on here ? Please see the GH012088.MP4 file info below :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb9b6809400] Using non-standard frame rate 29/1
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputfolder/GH012088.MP4':
     Metadata:
       major_brand     : mp41
       minor_version   : 538120216
       compatible_brands: mp41
       creation_time   : 2019-12-28T14:12:04.000000Z
       firmware        : HD7.01.01.61.00
     Duration: 00:00:40.47, start: 0.000000, bitrate: 60267 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 60015 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro AVC  
         encoder         : GoPro AVC encoder
         timecode        : 14:40:34:06
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro AAC  
         timecode        : 14:40:34:06
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro TCD  
         timecode        : 14:40:34:06
       Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 37 kb/s (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro MET  
       Stream #0:4(eng): Data: none (fdsc / 0x63736466), 10 kb/s (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro SOS

    Here is the output log for creating the .Y4M :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa9da802200] Using non-standard frame rate 29/1
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputfolder/GH012088.MP4':
     Metadata:
       major_brand     : mp41
       minor_version   : 538120216
       compatible_brands: mp41
       creation_time   : 2019-12-28T14:12:04.000000Z
       firmware        : HD7.01.01.61.00
     Duration: 00:00:40.47, start: 0.000000, bitrate: 60267 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 60015 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro AVC  
         encoder         : GoPro AVC encoder
         timecode        : 14:40:34:06
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro AAC  
         timecode        : 14:40:34:06
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro TCD  
         timecode        : 14:40:34:06
       Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 37 kb/s (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro MET  
       Stream #0:4(eng): Data: none (fdsc / 0x63736466), 10 kb/s (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro SOS  
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
    Press [q] to stop, [?] for help
    Output #0, yuv4mpegpipe, to 'temp_raw_video.Y4M':
     Metadata:
       major_brand     : mp41
       minor_version   : 538120216
       compatible_brands: mp41
       firmware        : HD7.01.01.61.00
       encoder         : Lavf58.29.100
       Stream #0:0(eng): Video: wrapped_avframe, yuvj420p, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
       Metadata:
         creation_time   : 2019-12-28T14:12:04.000000Z
         handler_name    : GoPro AVC  
         timecode        : 14:40:34:06
         encoder         : Lavc58.54.100 wrapped_avframe
    frame=   43 fps=0.0 q=-0.0 size=  522240kB time=00:00:01.43 bitrate=2981801.3kbiframe=   92 fps= 90 q=-0.0 size= 1117696kB time=00:00:03.06 bitrate=2982723.8kbiframe=  144 fps= 95 q=-0.0 size= 1749504kB time=00:00:04.80 bitrate=2982837.3kbiframe=  190 fps= 94 q=-0.0 size= 2308352kB time=00:00:06.33 bitrate=2982809.6kbiframe=  241 fps= 95 q=-0.0 size= 2928128kB time=00:00:08.04 bitrate=2982978.5kbiframe=  287 fps= 94 q=-0.0 size= 3486976kB time=00:00:09.57 bitrate=2982937.8kbiframe=  336 fps= 95 q=-0.0 size= 4082176kB time=00:00:11.21 bitrate=2982837.3kbiframe=  388 fps= 96 q=-0.0 size= 4713984kB time=00:00:12.94 bitrate=2982864.2kbiframe=  436 fps= 96 q=-0.0 size= 5297152kB time=00:00:14.54 bitrate=frame= 1213 fps= 95 q=-0.0 Lsize=14737957kB time=00:00:40.47 bitrate=2983002.4kbits/s speed=3.19x      
    video:635kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2321095.250000%
  • Unable to load FFMPEG library "java.lang.UnsatisfiedLinkError : dlopen failed :"

    25 janvier 2020, par Vicky

    I am trying to build and run old ffmpeg project which, it was in eclipse and now i am trying to run it from Android studio, but app crash displaying below error.

    2020-01-25 11:57:52.621 26360-26360/org.lance.ffplayer E/AndroidRuntime: FATAL EXCEPTION: main
    Process: org.lance.ffplayer, PID: 26360
    java.lang.UnsatisfiedLinkError: dlopen failed: library "./obj/local/armeabi/libffmpeg.so" not found
       at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
       at java.lang.System.loadLibrary(System.java:1669)
       at org.lance.ffplayer.FFmpeg.<clinit>(FFmpeg.java:17)
       at org.lance.ffplayer.FFmpeg.getInstance(FFmpeg.java:87)
       at org.lance.ffplayer.FileBrowser.<init>(FileBrowser.java:41)
       at org.lance.ffplayer.UIActivity.onCreate(UIActivity.java:39)
       at android.app.Activity.performCreate(Activity.java:7327)
       at android.app.Activity.performCreate(Activity.java:7318)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3101)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3264)
       at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7078)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:974)
    </init></clinit>

    Below are configuration of my project,

    Android studio configuration image link - 1

    Android studio configuration image link - 2

    I have spent my entire day to solve this issue but everything failed. Anybody has idea about what i am missing and doing wrong ?
    Thanks in advance.