Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (93)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (10368)

  • FFmpeg - Merge two images (.png) to video (.mp4) doesn't work

    12 juin 2019, par Jokoe

    I want to merge two images (names are not numbered in a sequence) to a video, but the result includes only a video of the first image.

    I would appreciate any kind of help !

    ffmpeg.exe -r 1/5 -i image_x.png -r 1/5 -i image_y.png -codec:v libx264 -vf fps=50 video.mp4

    Output :

    Input #0, png_pipe, from
    ’C :\Users\khj\Desktop\SpeakerLayoutTool\Images_video\iamge_x.png’ :
    Duration : N/A, bitrate : N/A
    Stream #0:0 : Video : png, rgba(pc), 3840x2160, 25 tbr, 25 tbn, 25 tbc Input #1, png_pipe, from
    ’C :\Users\khj\Desktop\SpeakerLayoutTool\Images_video\image_y.png’ :
    Duration : N/A, bitrate : N/A
    Stream #1:0 : Video : png, rgba(pc), 3840x2160, 25 tbr, 25 tbn, 25 tbc File ’C :\Users\khj\Desktop\SpeakerLayoutTool\video.mp4’ already
    exists. Overwrite ? [y/N] y Stream mapping : Stream #0:0 -> #0:0 (png
    (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @
    0000016c2a46e000] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2
    AVX FMA3 BMI2 AVX2 [libx264 @ 0000016c2a46e000] profile High 4:4:4
    Predictive, level 5.2, 4:4:4, 8-bit [libx264 @ 0000016c2a46e000] 264 -
    core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 -
    http://www.videolan.org/x264.html - options : cabac=1 ref=3
    deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
    mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0
    deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12
    lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
    bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
    b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
    keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
    mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
    aq=1:1.00 Output #0, mp4, to
    ’C :\Users\khj\Desktop\SpeakerLayoutTool\video.mp4’ : Metadata :
    encoder : Lavf58.27.103
    Stream #0:0 : Video : h264 (libx264) (avc1 / 0x31637661), yuv444p, 3840x2160, q=-1—1, 50 fps, 12800 tbn, 50 tbc
    Metadata :
    encoder : Lavc58.52.100 libx264
    Side data :
    cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1 frame= 250 fps= 22 q=-1.0 Lsize= 162kB time=00:00:04.94 bitrate=
    268.1kbits/s speed=0.444x

  • Converting 2-channel .mov file to .mp3 with ffmpeg

    29 mai 2019, par Josh Earl

    I use Skype Call Recorder to record Skype interviews. The app saves files in .mov format, with 2 audio channels.

    When I submit these files for transcription, they always come back with just one channel transcribed.

    I need to 1.) merge the tracks, and 2.) convert the .mov file to .mp3 format.

    Right now the command I’m working with is :

    ffmpeg -i input.mov -map 0:a output.mp3

    I get the following errors :

    Invalid audio stream. Exactly one MP3 audio stream is required.
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

    What am I missing ?

    Here’s the full console output, if it helps :

    ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
     built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
     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
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2019-05-18 15:00:59
     Duration: 00:11:41.82, start: 0.000000, bitrate: 120 kb/s
       Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 58 kb/s (default)
       Metadata:
         creation_time   : 2019-05-18 15:00:59
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 58 kb/s (default)
       Metadata:
         creation_time   : 2019-05-18 15:00:59
         handler_name    : Apple Alias Data Handler
    [mp3 @ 0x7fd8b1003c00] Invalid audio stream. Exactly one MP3 audio stream is required.
    Output #0, mp3, to 'output.mp3':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       encoder         : Lavf56.25.101
       Stream #0:0(eng): Audio: mp3 (libmp3lame), 44100 Hz, mono, fltp (default)
       Metadata:
         creation_time   : 2019-05-18 15:00:59
         handler_name    : Apple Alias Data Handler
         encoder         : Lavc56.26.100 libmp3lame
       Stream #0:1(eng): Audio: mp3 (libmp3lame), 44100 Hz, mono, fltp (default)
       Metadata:
         creation_time   : 2019-05-18 15:00:59
         handler_name    : Apple Alias Data Handler
         encoder         : Lavc56.26.100 libmp3lame
    Stream mapping:
     Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
     Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
  • array_merge() : Argument #2 is not an array after adding class into providers

    19 juin 2019, par Daman Mokha

    I am using pbmedia/laravel-ffmpeg as soon as I installed and added the providers and alias, it shows me the following error. This code was simply working on another machine

    array_merge(): Argument #2 is not an array

    I have tried the following things

    1. Composer update/ and Fresh install
    2. Cleaning the bootstrap/cache/
    3. Checked the config file for laravel-ffmpeg it’s there and fine
    4. Publish the config file using the artisan CLI tool : php artisan vendor:publish —provider="Pbmedia\LaravelFFMpeg\FFMpegServiceProvider"

    Here is the portion from laravel.log when I tried to run.

    [2019-06-19 00:34:40] local.ERROR: ErrorException: array_merge(): Argument #2 is not an array in /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:59
    Stack trace:
    #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'array_merge(): ...', '/Users/damanmok...', 59, Array)
    #1 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(59): array_merge(Array, 1)
    #2 /Users/damanmokha/edetyv2/vendor/pbmedia/laravel-ffmpeg/src/FFMpegServiceProvider.php(25): Illuminate\Support\ServiceProvider->mergeConfigFrom('/Users/damanmok...', 'laravel-ffmpeg')
    #3 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(565): Pbmedia\LaravelFFMpeg\FFMpegServiceProvider->register()
    #4 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(74): Illuminate\Foundation\Application->register(Object(Pbmedia\LaravelFFMpeg\FFMpegServiceProvider))
    #5 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(540): Illuminate\Foundation\ProviderRepository->load(Array)
    #6 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
    #7 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(203): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Object(Illuminate\Foundation\Application))
    #8 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(267): Illuminate\Foundation\Application->bootstrapWith(Array)
    #9 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(113): Illuminate\Foundation\Console\Kernel->bootstrap()
    #10 /Users/damanmokha/edetyv2/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #11 {main}

    if I don’t add these providers it works fine, but then I am not able to use ffmpeg without that.

    • Laravel Version 5.3
    • pbmedia/laravel-ffmpeg 1.3
    • php version : 7.1