Recherche avancée

Médias (91)

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8669)

  • ffmpeg binary in osx archive shows kCMSampleBufferError_RequiredParameterMissing when app runs

    20 mars 2017, par Swati

    I have created an OSX App, bundled ffmpeg binary in it.
    When i debug my code everything works fine and ffmpeg commands execute properly via NSTask.

    However when i create archive and run the app inside the products, ffmpeg commands are not executed and i get error

    1/17/17 3:34:21.951 PM ffmpeg[2229]: [15:34:21.951] CMSampleBufferGetImageBuffer signalled err=-12731
    (kCMSampleBufferError_RequiredParameterMissing) (!sbuf) at
    /Library/Caches/com.apple.xbs/Sources/CoreMedia_frameworks/CoreMedia-1731.15.206/Sources
    /Core/FigSampleBuffer/FigSampleBuffer.c line 2394

     0   CoreMedia 0x00007fff86749713 CMSampleBufferGetImageBuffer + 138
     1   ffmpeg    0x00000001002b9714 avdevice_list_output_sinks   + 10116

    Edit :

    I tried the below mentioned way but when I try to run my app on other mac machines the error still persists

    I added Capability "App Sandbox" to my Target. Due to this an entitlements file was added in my project named Target.entitlements

    Inside this Entitlements file 2 values are added viz :

    com.apple.security.inherit >> Boolean >> YES

    App Sandbox >> Boolean >> YES
    I also added a runscript for codesign :

    codesign -f -s "Developer Certificate" --entitlements ./path/Target.entitlements  path/ffmpeg-binary-file
  • ffmpeg command to convert 720p to 1080p, 1440p, 2160p compatible with YouTube [closed]

    24 juin 2024, par Tendekai Muchenje

    I have a video that I created in Final Cut Pro. When i uploaded it to Youtube, it only maxes out at 720p. I would like it to have higher options like 1080, 1440 and 2160 even if the quality does not change. Maybe 2160 is impossible, but 1440p would be nice. I have tried this command, but the resulting file is unplayable, it only plays audio.

    


    ffmpeg -i Hey\ Girl.mov -vf scale=3840x2160:flags=lanczos -c:v libx264 -crf 13 -c:a aac -b:a 512k -preset slow hey_girl_hd.mov


    


    I am looking for a command that would make at least 1080 and 1440 work on YouTube. If 2160 can work, that would be great too. If it matters, here is all the info that ffprobe throws out about the file

    


    {
    "streams": [
        {
            "index": 0,
            "codec_name": "pcm_s24le",
            "codec_long_name": "PCM signed 24-bit little-endian",
            "codec_type": "audio",
            "codec_tag_string": "lpcm",
            "codec_tag": "0x6d63706c",
            "sample_fmt": "s32",
            "sample_rate": "48000",
            "channels": 2,
            "bits_per_sample": 24,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/48000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 8987200,
            "duration": "187.233333",
            "bit_rate": "2304000",
            "bits_per_raw_sample": "24",
            "nb_frames": "8987200",
            "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
            },
            "tags": {
                "creation_time": "2024-04-15T23:26:08.000000Z",
                "language": "und",
                "handler_name": "Core Media Audio",
                "vendor_id": "[0][0][0][0]"
            }
        },
        {
            "index": 1,
            "codec_name": "prores",
            "codec_long_name": "Apple ProRes (iCodec Pro)",
            "profile": "Standard",
            "codec_type": "video",
            "codec_tag_string": "apcn",
            "codec_tag": "0x6e637061",
            "width": 1280,
            "height": 720,
            "coded_width": 1280,
            "coded_height": 720,
            "closed_captions": 0,
            "has_b_frames": 0,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv422p10le",
            "level": -99,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "field_order": "progressive",
            "refs": 1,
            "r_frame_rate": "60/1",
            "avg_frame_rate": "60/1",
            "time_base": "1/6000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 1123400,
            "duration": "187.233333",
            "bit_rate": "138655195",
            "bits_per_raw_sample": "10",
            "nb_frames": "11234",
            "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
            },
            "tags": {
                "creation_time": "2024-04-15T23:26:08.000000Z",
                "language": "und",
                "handler_name": "Core Media Video",
                "vendor_id": "[0][0][0][0]",
                "encoder": "Apple ProRes 422",
                "timecode": "00:00:00:00"
            }
        },
        {
            "index": 2,
            "codec_type": "data",
            "codec_tag_string": "tmcd",
            "codec_tag": "0x64636d74",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "6000/100",
            "time_base": "1/6000",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 1123400,
            "duration": "187.233333",
            "nb_frames": "1",
            "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
            },
            "tags": {
                "creation_time": "2024-04-15T23:26:08.000000Z",
                "language": "und",
                "handler_name": "Core Media Time Code",
                "timecode": "00:00:00:00"
            }
        }
    ],
    "format": {
        "filename": "Hey Girl.mov",
        "nb_streams": 3,
        "nb_programs": 0,
        "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
        "format_long_name": "QuickTime / MOV",
        "start_time": "0.000000",
        "duration": "187.233333",
        "size": "3306875809",
        "bit_rate": "141294320",
        "probe_score": 100,
        "tags": {
            "major_brand": "qt  ",
            "minor_version": "0",
            "compatible_brands": "qt  ",
            "creation_time": "2024-04-15T23:26:08.000000Z",
            "com.apple.quicktime.keywords": "Hey GIRL",
            "com.apple.quicktime.description": "This video is about Hey Girl",
            "com.apple.quicktime.author": "Ja Mo",
            "com.apple.quicktime.displayname": "Hey Girl",
            "com.apple.quicktime.title": "Hey Girl"
        }
    }
}


    


  • ffmpeg mov to vp9 webm with transparency (alpha channel) issue

    17 juin 2015, par kambythet

    Using ffmpeg (command below) to convert an mov that has an alpha channel to a webm with alpha channel is proving to be problematic. The resulting webm does not have the alpha channel.

    Any help would be appreciated !

    /Applications/ffmpeg -i trex-01.mov -c:v libvpx-vp9 -b:v 1000K -threads 8 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libopus -b:a 64k -f webm trex-01.webm

    Full input and output from ffmpeg :

    /Applications/ffmpeg -i trex-01.mov -c:v libvpx-vp9 -b:v 1000K -threads 8 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libopus -b:a 64k -f webm trex-01.webm
    ffmpeg version 2.6.2-tessus Copyright (c) 2000-2015 the FFmpeg developers
     built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
     configuration: --cc=/usr/bin/clang --prefix=/Users/helmutt/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --disable-indev=x11grab_xcb --enable-runtime-cpudetect
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trex-01.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2013-01-28 20:07:34
     Duration: 00:00:07.97, start: 0.000000, bitrate: 26594 kb/s
       Stream #0:0(eng): Video: png (png  / 0x20676E70), rgba, 640x360 [SAR 2834:2834 DAR 16:9], 25842 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         encoder         : PNG
         timecode        : 00:00:00:00
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, 1 channels, s16, 705 kb/s (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:54
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
    File 'trex-01.webm' already exists. Overwrite ? [y/N] y
    [libvpx-vp9 @ 0x7ffb7d00b400] v1.3.0
    Output #0, webm, to 'trex-01.webm':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf56.25.101
       Stream #0:0(eng): Video: vp9 (libvpx-vp9), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1000 kb/s, 30 fps, 1k tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
         encoder         : Lavc56.26.100 libvpx-vp9
       Stream #0:1(eng): Audio: opus (libopus), 48000 Hz, mono, s16, 64 kb/s (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
         encoder         : Lavc56.26.100 libopus
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> vp9 (libvpx-vp9))
     Stream #0:1 -> #0:1 (pcm_s16le (native) -> opus (libopus))