Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (83)

  • 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 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7663)

  • change output order of FFprobe

    28 avril 2023, par summerrain

    How can I change the output order of FFprobe ?

    


    ffprobe -hide_banner -show_streams -show_format space.mkv -of json=c=0 -o output.json creates a json output file with the streams sections first and the format section last.

    


    I need the reverse order (format section first, streams section last).

    


    But reordering the parameters (i.e. -show_format -show_streams) has no effect unfortunately.

    


    This is the output of the command above :

    


    {
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "Main",
            "codec_type": "video",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 256,
            "height": 144,
            "coded_width": 256,
            "coded_height": 144,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 1,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 11,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "field_order": "progressive",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "3737/250",
            "avg_frame_rate": "3737/250",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "bits_per_raw_sample": "8",
            "extradata_size": 41,
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "HANDLER_NAME": "ISO Media file produced by Google Inc.",
                "VENDOR_ID": "[0][0][0][0]",
                "DURATION": "00:10:53.276000000"
            }
        },
        {
            "index": 1,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "profile": "HE-AAC",
            "codec_type": "audio",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "fltp",
            "sample_rate": "44100",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "initial_padding": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "extradata_size": 25,
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "HANDLER_NAME": "ISO Media file produced by Google Inc.",
                "VENDOR_ID": "[0][0][0][0]",
                "DURATION": "00:10:53.409000000"
            }
        }
    ],
    "format": {
        "filename": "space.mkv",
        "nb_streams": 2,
        "nb_programs": 0,
        "format_name": "matroska,webm",
        "format_long_name": "Matroska / WebM",
        "start_time": "0.000000",
        "duration": "653.409000",
        "size": "5252652",
        "bit_rate": "64310",
        "probe_score": 100,
        "tags": {
            "title": "SpaceX Starship explodes on first launch attempt",
            "COMMENT": "https://www.youtube.com/watch?v=gk1BViilFFk",
            "COMPATIBLE_BRANDS": "iso6avc1mp41",
            "MAJOR_BRAND": "dash",
            "MINOR_VERSION": "0",
            "ARTIST": "CNN",
            "DATE": "20230420",
            "DESCRIPTION": "SpaceX’s Starship, the most powerful rocket ever built, took off from a launch pad on the coast of South Texas, but exploded midair before stage separation. #CNN #News",
            "SYNOPSIS": "SpaceX’s Starship, the most powerful rocket ever built, took off from a launch pad on the coast of South Texas, but exploded midair before stage separation. #CNN #News",
            "PURL": "https://www.youtube.com/watch?v=gk1BViilFFk",
            "ENCODER": "Lavf60.4.101"
        }
    }
}


    


  • Undefined reference to av_log

    12 novembre 2017, par Dana Prakoso

    I am cross-compiling FFMPEG source in Linux for Windows using i686-w64-mingw32 using this script :

    ../ffmpeg/configure --disable-ffmpeg --disable-ffprobe --disable-ffplay --disable-shared --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-cross-compile

    And it generates all static library files with extension *.a inside "lib" folder. Then I try to link those libraries with my own source, with this script :

    i686-w64-mingw32-gcc -m32 -c videoplayer.c -o videoplayer.o -w $(INCLUDEDIR) -Wl,--add-stdcall-alias
    i686-w64-mingw32-gcc -static -m32 -o libvideoplayer.dll videoplayer.o -Wl,--out-implib,libvideoplayer_dll.lib -Wl,--add-stdcall-alias -L../../ffmpeg/lib -lavdevice -lavformat -lavcodec -lavutil -lwsock32 -lswresample ../../ffmpeg/lib/libWs2_32.lib

    And I got this bunch of error messages :

    ../../ffmpeg/lib/libavformat.a(rtpproto.o): In function `rtp_resolve_host':
    /home/dana/Sources/build-ffmpeg/src/libavformat/rtpproto.c:140: undefined reference to `_imp__getaddrinfo@16'
    ../../ffmpeg/lib/libavformat.a(rtpproto.o): In function `rtp_parse_addr_list':
    /home/dana/Sources/build-ffmpeg/src/libavformat/rtpproto.c:282: undefined reference to `_imp__freeaddrinfo@4'
    /home/dana/Sources/build-ffmpeg/src/libavformat/rtpproto.c:277: undefined reference to `_imp__freeaddrinfo@4'
    ../../ffmpeg/lib/libavformat.a(tcp.o): In function `tcp_open':
    /home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:112: undefined reference to `_imp__getaddrinfo@16'
    /home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:114: undefined reference to `_imp__getaddrinfo@16'
    /home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:177: undefined reference to `_imp__freeaddrinfo@4'
    /home/dana/Sources/build-ffmpeg/src/libavformat/tcp.c:192: undefined reference to `_imp__freeaddrinfo@4'

    How do I resolve this ? Do I miss something in my script ? Big thanks for someone replying.

  • Compiling FFmpeg 3.1.1 for x86 using Android NDK

    7 juillet 2016, par user3032481

    The newest version of FFmpeg is 3.1.1. After version 3.1, I can’t compile FFmpeg for x86.(But 3.0.2 or earlier versions can be compiled.)

    The terminal shows ld: error: libavutil/../compat/strtod.o: incompatible target.

    My OS is Xubuntu 14.04 x86 and x86_64.(I have tried both of them.)

    My NDK version is r10e(x86) and r12b(x86_64).

    When I compile FFmpeg 3.0.2, it has no error.

    This is my configure :

    ./configure \
    --prefix="${PREFIX}" \
    --enable-shared \
    --disable-static \
    --disable-doc \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --cross-prefix="${PREFIX}/bin/i686-linux-android-" \
    --target-os=linux \
    --arch=x86 \
    --enable-cross-compile \
    --sysroot="${PREFIX}/sysroot" \
    --extra-cflags="" \
    --extra-ldflags="" \
    --extra-libs="" \
    --disable-debug

    ${PREFIX} is a directory path used for --install-dir option while running make-standalone-toolchain.sh which is a tool in Android NDK.

    It only happens while I compile FFmpeg for x86. ARM architecture is ok.