Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (43)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9354)

  • Unable to link QtFFmpegWrapper sample on Win7 with VS 2012

    20 juillet 2014, par mschwarz

    I am trying to incorporate QtFFmpegWrapper in my program, but both my program and the provided sample won’t link with ffmpeg :

    QVideoEncoder.obj:-1: Error: LNK2019: unresolved external symbol _avcodec_init referenced in function "protected: bool __thiscall QVideoEncoder::initCodec(void)" (?initCodec@QVideoEncoder@@IAE_NXZ)
    QVideoDecoder.obj:-1: Error: LNK2001: unresolved external symbol _avcodec_init
    QVideoEncoder.obj:-1: Error: LNK2019: unresolved external symbol _avcodec_thread_init referenced in function "public: bool __thiscall QVideoEncoder::createFile(class QString,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?createFile@QVideoEncoder@@QAE_NVQString@@IIIII@Z)
    QVideoEncoder.obj:-1: Error: LNK2019: unresolved external symbol _avcodec_open referenced in function "public: bool __thiscall QVideoEncoder::createFile(class QString,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?createFile@QVideoEncoder@@QAE_NVQString@@IIIII@Z)

    and 10 or so more like these ...

    Why do these pop up when linking ? The libs are all there and found, it just seems like the linker has issues with them ...

    I use the following setup for my project :

    Everything is 32Bit.

  • Application using FFMPEG Library does not compile with CMAKE error avformat_alloc_context but I have imported the header files and libray

    23 mai 2022, par Clockman

    I compiled the FFMPEG source file myself and got the header and library files in an include and bin folder respectively, the target platform is Windows 10. I also setup my cmakelist.txt to find and include both the library and header files. The application finds the path or so it seems because during compilation I get a "LNK2019 error unresolved external symbol avformat_alloc_context referenced in function main". Below is an extract from my cmake list ; I will like to note that I got the .lib and .dll versions of the library hence the approach below based on the book "professional cmake" and other stackflow examples.

    


    ProjectDir/AudMan/cmakelist.txt

    


    list(APPEND CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH};PATH-TO-INCLUDES;PATH-TO-LIBRARY)
find_path(AVFORMAT_INCLUDE_DIR libavformat/avformat.h)
find_library(AVFORMAT_LIBRARY avformat)
add_library(ffmpegHeaders INTERFACE)
target_include_directories(ffmpegHeaders INTERFACE ${AVFORMAT_INCLUDE_DIR})


    


    ProjectDir/cmakelist.txt

    


    set(Rapid_Prefix PATH-TO-LIBRARY)
    add_library(AVformat SHARED IMPORTED)
    set_target_properties(AVformat PROPERTIES IMPORTED_LOCATION ${Rapid_Prefix}/avformat-59.dll IMPORTED_IMPLIB ${AVFORMAT_LIBRARY})
target_link_libraries(App_target PRIVATE AVformat)


    


    A sample of the codes is this

    


    extern "C" {&#xA;#include <libavcodec></libavcodec>avcodec.h>&#xA;#include <libavformat></libavformat>avformat.h>&#xA;}&#xA;&#xA;int main()&#xA;{&#xA;    AVFormatContext* format = avformat_alloc_context();&#xA;    if (avformat_open_input(&amp;format, R"(\test.m4a)", NULL, NULL) != 0) {&#xA;        fprintf(stderr, "Could not open file &#x27;%s&#x27;\n", R"(\test.m4a)");&#xA;        return -1;&#xA;    }&#xA;    if (avformat_find_stream_info(format, NULL) &lt; 0) {&#xA;        fprintf(stderr, "Could not retrieve stream info from file &#x27;%s&#x27;\n", R"(test.m4a)");&#xA;        return -1;&#xA;    }&#xA;    return 0;&#xA;}&#xA;

    &#xA;

    I have been at it for about five days and will appreciate any help I can get.

    &#xA;

  • Panasonc GH5 4K 10 Bit 25p (cannot allocate memory)

    25 novembre 2017, par Sebastian

    I am converting GH5 files with the following script. With my Notebook I get no error and it goes through but at my desktop workstation I get this error. Anybody an idea. I convert 4K 10Bit Panasonic GH5 files to AVID HQX files. No error at the notebook but the desktop pc produces this error message. OS is windows 7 just new installed because of this. Same MeGUI and FFMPEG version and development server.

    enter code here

    D:\Test>for %f in (*.mov) do "C:\Program Files (x86)\MeGUI\tools\ffmpeg\ffmpeg.e
    xe" -i "%~f" -c:a pcm_s16le -c:v dnxhd -profile:v dnxhr_hqx "%~nf_test.mov"

    D:\Test>"C:\Program Files (x86)\MeGUI\tools\ffmpeg\ffmpeg.exe" -i "P1011064.MOV"
    -c:a pcm_s16le -c:v dnxhd -profile:v dnxhr_hqx "P1011064_test.mov"
    ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
    nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
    ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
    s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
    ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
    x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
    lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-c
    uvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-l
    ibmfx
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 005a7860] decoding for stream 0 failed
    Guessed Channel Layout for Input Stream #0.1 : stereo
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P1011064.MOV':
     Metadata:
       major_brand     : qt
       minor_version   : 537986816
       compatible_brands: qt  pana
       creation_time   : 2017-11-19T16:16:23.000000Z
       com.panasonic.Semi-Pro.metadata.xml: &lt;?xml version="1.0" encoding="UTF-8" st
    andalone="no" ?>
                       : <clipmain xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0">
                       :   <clipcontent>
                       :     <globalclipid>060A2B340101010501010D2113000000171BA845
    E82C2C3470010E90B8D50052</globalclipid>
                       :     <duration>84</duration>
                       :     <editunit>1/25</editunit>
                       :     <essencelist>
                       :       <video>
                       :         <codec bitrate="150">H264_422_LongGOP</codec>
                       :         <activeline>2160</activeline>
                       :         <activepixel>3840</activepixel>
                       :         <bitdepth>10</bitdepth>
                       :         <framerate>25p</framerate>
                       :         <timecodetype>NonDrop</timecodetype>
                       :         <starttimecode>07:12:44:18</starttimecode>
                       :       </video>
                       :       <audio>
                       :         <channel>2</channel>
                       :         <samplingrate>48000</samplingrate>
                       :         <bitspersample>16</bitspersample>
                       :       </audio>
                       :     </essencelist>
                       :     <clipmetadata>
                       :       <rating>0</rating>
                       :       <access>
                       :         <creationdate>2017-11-19T16:16:23+02:00
                       :         <lastupdatedate>2017-11-19T16:16:23+02:00
                       :       </lastupdatedate></creationdate></access>
                       :       <device>
                       :         <manufacturer>Panasonic</manufacturer>
                       :         <modelname>DC-GH5</modelname>
                       :       </device>
                       :       <shoot>
                       :         <startdate>2017-11-19T16:16:23+02:00</startdate>
                       :       </shoot>
                       :     </clipmetadata>
                       :   </clipcontent>
                       :   <userarea>
                       :     <acquisitionmetadata xmlns="urn:schemas-Professional-P
    lug-in:P2:CameraMetadata:v1.2">
                       :       <cameraunitmetadata>
                       :         <gamma>
                       :           <capturegamma>CINELIKE_D</capturegamma>
                       :         </gamma>
                       :         <gamut>
                       :           <capturegamut>BT.709</capturegamut>
                       :         </gamut>
                       :       </cameraunitmetadata>
                       :     </acquisitionmetadata>
                       :   </userarea>
                       : </clipmain>
                       :
     Duration: 00:00:03.36, start: 0.000000, bitrate: 174710 kb/s
       Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(
    tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 147582 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc (default)
       Metadata:
         creation_time   : 2017-11-19T16:16:23.000000Z
         timecode        : 07:12:44:18
       Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s1
    6, 1536 kb/s (default)
       Metadata:
         creation_time   : 2017-11-19T16:16:23.000000Z
         timecode        : 07:12:44:18
       Stream #0:2(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2017-11-19T16:16:23.000000Z
         timecode        : 07:12:44:18
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> dnxhd (native))
     Stream #0:1 -> #0:1 (pcm_s16be (native) -> pcm_s16le (native))
    Press [q] to stop, [?] for help
    [dnxhd @ 0542fe60] Cannot allocate memory.
    [dnxhd @ 04d508a0] ff_frame_thread_encoder_init failed
    Error initializing output stream 0:0 -- Error while opening encoder for output s
    tream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!

    D:\Test>pause
    Drücken Sie eine beliebige Taste . . .