Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (25)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (5675)

  • aacenc : coding style changes

    21 août 2015, par Rostislav Pehlivanov
    aacenc : coding style changes
    

    This commit only changes the coding style to a saner way
    of accessing coefficients (makes more sense to get the
    memory address of a coefficients and start from there
    rather than adding arbitrary numbers to offset a pointer).
    Some compilers might detect an out of bounds access easier.

    Also the way M/S and IS coefficients are calculated has been
    changed, but should still have the same result (with the exception
    that IS now applies from the normal coefficients rather than the
    pristine ones, this is needed for upcoming commits).

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/aaccoder.c
    • [DH] libavcodec/aacenc.c
  • Returned non-zero exit status 1 / error code 1 : b''

    26 août 2015, par pufAmuf

    I’m trying to extract the video height via ffprobe into python, however I am having issues (with some videos).

    Here is my ffprobe command : ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries stream=height "some video here(bla)_25.mp4"

    It returns something like this

    720
    (empty-line)
    N/A

    Here is the code I used to extract the output for later processing :

    executecommand = 'ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries stream=height "' + CurrentVideoToBeProcessed + '"'

    VideoHeight = subprocess.check_output(executecommand)

    This is the error that came about :

    subprocess.CalledProcessError : Command ’...’ returned non-zero exit
    status 1

    So when I modified the code to this :

    try:
       VideoHeight = subprocess.check_output(executecommand,shell=True,stderr=subprocess.STDOUT)
    except subprocess.CalledProcessError as e:
       raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output))

    This is the error I get :

    RuntimeError : command ’...’ return with error (code 1) : b’’

    I assumed at first the issue was with the file names, but certain videos work and certain don’t, irregardless of the file name.
    This is the output I get in python for videos that work :

    b’360\r\n\r\n’

    Any idea what’s going on ? Thanks !

    Edit
    It turns out the problem is in the file names after all. From what I gather so far at least, numbers in file-names seem to be causing the error.
    Edit2
    I re-ran the code after I closed several cmd instances and I am not getting the error anymore. I don’t know why. I am sure, however that if I were to convert hundreds of videos again I’ll get the error eventually as it has always happened eventually.

  • FFMPEG compiled binaries don't run using MinGW

    9 juin 2015, par Paul Knopf

    I am trying to build windows executables/dlls for Windows XP, and they are not working. They are the correct architecture. They run fine on my Windows 8 device machine.

    I used dependency walker to find missing DLLs, and all were present.

    Here are the compiled executables I am trying to run.

    I ran the windows build script for ffmpeg.

    Here is a dumpbin /headers ffmpeg.exe

    Microsoft (R) COFF/PE Dumper Version 10.00.30319.01
    Copyright (C) Microsoft Corporation.  All rights reserved.


    Dump of file ffmpeg.exe

    PE signature found

    File Type: EXECUTABLE IMAGE

    FILE HEADER VALUES
                14C machine (x86)
                  7 number of sections
              51A40 time date stamp Sun Jan 04 15:53:20 1970
                  0 file pointer to symbol table
                  0 number of symbols
                 E0 size of optional header
                32F characteristics
                      Relocations stripped
                      Executable
                      Line numbers stripped
                      Symbols stripped
                      Application can handle large (>2GB) addresses
                      32 bit word machine
                      Debug information stripped

    OPTIONAL HEADER VALUES
                10B magic # (PE32)
               2.25 linker version
              41400 size of code
              4FA00 size of initialized data
               1200 size of uninitialized data
               14E0 entry point (004014E0)
               1000 base of code
              43000 base of data
             400000 image base (00400000 to 00456FFF)
               1000 section alignment
                200 file alignment
               4.00 operating system version
               1.00 image version
               4.00 subsystem version
                  0 Win32 version
              57000 size of image
                400 size of headers
              597A9 checksum
                  3 subsystem (Windows CUI)
                140 DLL characteristics
                      Dynamic base
                      NX compatible
             200000 size of stack reserve
               1000 size of stack commit
             100000 size of heap reserve
               1000 size of heap commit
                  0 loader flags
                 10 number of directories
                  0 [       0] RVA [size] of Export Directory
              51000 [    36F0] RVA [size] of Import Directory
                  0 [       0] RVA [size] of Resource Directory
                  0 [       0] RVA [size] of Exception Directory
                  0 [       0] RVA [size] of Certificates Directory
                  0 [       0] RVA [size] of Base Relocation Directory
                  0 [       0] RVA [size] of Debug Directory
                  0 [       0] RVA [size] of Architecture Directory
                  0 [       0] RVA [size] of Global Pointer Directory
              56004 [      18] RVA [size] of Thread Storage Directory
                  0 [       0] RVA [size] of Load Configuration Directory
                  0 [       0] RVA [size] of Bound Import Directory
              517F0 [     6C4] RVA [size] of Import Address Table Directory
                  0 [       0] RVA [size] of Delay Import Directory
                  0 [       0] RVA [size] of COM Descriptor Directory
                  0 [       0] RVA [size] of Reserved Directory


    SECTION HEADER #1
      .text name
      412BC virtual size
       1000 virtual address (00401000 to 004422BB)
      41400 size of raw data
        400 file pointer to raw data (00000400 to 000417FF)
          0 file pointer to relocation table
          0 file pointer to line numbers
          0 number of relocations
          0 number of line numbers
    60500060 flags
            Code
            Initialized Data
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            Execute Read

    SECTION HEADER #2
      .data name
        19C virtual size
      43000 virtual address (00443000 to 0044319B)
        200 size of raw data
      41800 file pointer to raw data (00041800 to 000419FF)
          0 file pointer to relocation table
          0 file pointer to line numbers
          0 number of relocations
          0 number of line numbers
    C0700040 flags
            Initialized Data
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            Read Write

    SECTION HEADER #3
     .rdata name
       A7D8 virtual size
      44000 virtual address (00444000 to 0044E7D7)
       A800 size of raw data
      41A00 file pointer to raw data (00041A00 to 0004C1FF)
          0 file pointer to relocation table
          0 file pointer to line numbers
          0 number of relocations
          0 number of line numbers
    40700040 flags
            Initialized Data
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            Read Only

    SECTION HEADER #4
       .bss name
       1200 virtual size
      4F000 virtual address (0044F000 to 004501FF)
          0 size of raw data
          0 file pointer to raw data
          0 file pointer to relocation table
          0 file pointer to line numbers
          0 number of relocations
          0 number of line numbers
    C0700080 flags
            Uninitialized Data
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            Read Write

    SECTION HEADER #5
     .idata name
       36F0 virtual size
      51000 virtual address (00451000 to 004546EF)
       3800 size of raw data
      4C200 file pointer to raw data (0004C200 to 0004F9FF)
          0 file pointer to relocation table
          0 file pointer to line numbers
          0 number of relocations
          0 number of line numbers
    C0300040 flags
            Initialized Data
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            Read Write

    SECTION HEADER #6
       .CRT name
         3C virtual size
      55000 virtual address (00455000 to 0045503B)
        200 size of raw data
      4FA00 file pointer to raw data (0004FA00 to 0004FBFF)
          0 file pointer to relocation table
          0 file pointer to line numbers
          0 number of relocations
          0 number of line numbers
    C0300040 flags
            Initialized Data
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            Read Write

    SECTION HEADER #7
       .tls name
         20 virtual size
      56000 virtual address (00456000 to 0045601F)
        200 size of raw data
      4FC00 file pointer to raw data (0004FC00 to 0004FDFF)
          0 file pointer to relocation table
          0 file pointer to line numbers
          0 number of relocations
          0 number of line numbers
    C0300040 flags
            Initialized Data
            RESERVED - UNKNOWN
            RESERVED - UNKNOWN
            Read Write

     Summary

           1000 .CRT
           2000 .bss
           1000 .data
           4000 .idata
           B000 .rdata
          42000 .text
           1000 .tls

    When I attempt to run the executable on XP, it just closes. There is no "missing dll" messages, nor anything in the event viewer.