Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (5574)

  • Convert set of PNGs into rawvideo .raw FFMPEG

    13 août 2020, par Wire

    Recently, I have been trying to modify the boot animation of a little robot. It is a .raw file and it contains every RGB565 frame one after the other. I have been able to get all of the frames using

    


    ffmpeg -f rawvideo  -pixel_format rgb565 -video_size 184x96 -framerate 10 -i "boot_anim.raw" -r 1/1 boot_anim%02d.png

    


    But if I try to repack it with

    


    ffmpeg -i boot_anim%02d.png -f rawvideo -pix_fmt rgb565 -framerate 10 -video_size 184x96 -r 1/1 "boot_anim.raw"

    


    it only puts in the first two frames and nothing else. I have also tried libx264 and putting in vcodecs manually. Same result. I'm new to ffmpeg and Linux overall.

    


    Here is the full output :

    


    ffmpeg version N-98716-gb40dd2f Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --enable-encoder=png --enable-decoder=png
  libavutil      56. 58.100 / 56. 58.100
  libavcodec     58.100.100 / 58.100.100
  libavformat    58. 50.100 / 58. 50.100
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
Input #0, image2, from 'boot_anim%02d.png':
  Duration: 00:00:00.44, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 184x96, 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'boot_anim.raw' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[swscaler @ 0x556d6993d940] full chroma interpolation for destination format 'rgb565le' not yet implemented
Output #0, rawvideo, to 'boot_anim.raw':
  Metadata:
    encoder         : Lavf58.50.100
    Stream #0:0: Video: rawvideo (RGB[16] / 0x10424752), rgb565le, 184x96, q=2-31, 282 kb/s, 1 fps, 1 tbn, 1 tbc
    Metadata:
      encoder         : Lavc58.100.100 rawvideo
frame=    2 fps=0.0 q=-0.0 Lsize=      69kB time=00:00:02.00 bitrate= 282.6kbits/s dup=0 drop=9 speed= 871x    
video:69kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%


    


    Any help appreciated !

    


  • FFmpeg weird codec id for wav_pcm

    1er février 2021, par phongelegob

    So, I want to convert a lot of 32 bit .wav files into 24 bit .wav ones because i want to import them into Omnisphere, a virtual synth. I tried to convert them all with FFmpeg but Omnisphere doesn't support them. I then tested some things and Omnisphere seems to support the audio exported from Edison, which is FL Studio audio editing and recording tool. As I don't want to export them all individually, i wanted to know if there's any way to fix this in FFmpeg or in another audio converter. Here are the test files and what they output in MediaInfo : https://www.mediafire.com/file/l6lojwswsaq9fly/audiotest+wav.zip/file
32 bit original file :

    


    General
Complete name                            : /home/user/Documents/audiotest wav/32bit.wav
Format                                   : Wave
File size                                : 905 KiB
Duration                                 : 2 s 625 ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 2 823 kb/s
Writing application                      : Edison
Comment                                  : Recorded on 1/26/2020 in Edison.

Audio
Format                                   : PCM
Format profile                           : Float
Codec ID                                 : 3
Codec ID/Hint                            : IEEE 
Duration                                 : 2 s 625 ms
Bit rate mode                            : Constant
Bit rate                                 : 2 822 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Bit depth                                : 32 bits
Stream size                              : 904 KiB (100%)


    


    24 bit file exported from Edison :

    


    General
Complete name                            : /home/user/Documents/audiotest wav/edison.wav
Format                                   : Wave
File size                                : 679 KiB
Duration                                 : 2 s 625 ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 2 118 kb/s
Writing application                      : Edison
Comment                                  : Recorded on 1/26/2020 in Edison.

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 2 s 625 ms
Bit rate mode                            : Constant
Bit rate                                 : 2 117 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Bit depth                                : 24 bits
Stream size                              : 678 KiB (100%)


    


    24 bit file converted with FFmpeg :

    


    General
Complete name                            : /home/user/Documents/audiotest wav/ffmpeg.wav
Format                                   : Wave
File size                                : 679 KiB
Duration                                 : 2 s 625 ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 2 117 kb/s
Writing application                      : Lavf58.50.100
Comment                                  : Recorded on 1/26/2020 in Edison.

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 00000001-0000-0010-8000-00AA00389B71
Duration                                 : 2 s 625 ms
Bit rate mode                            : Constant
Bit rate                                 : 2 117 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Bit depth                                : 24 bits
Stream size                              : 678 KiB (100%)


    


  • How to do multiple input with streamio-ffmpeg ?

    12 août 2020, par Yozuu

    I would like to recreate this ffmpeg line (which works well) in my rails app :

    


    ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex '[0] [1] afir=dry=10:wet=10' output.wav


    


    So here is my config :

    


    module EncodingConstants
  PROCESSED_DEFAULTS = {
    resolution:           '500x400',
    video_codec:          'libx264',
    constant_rate_factor: '30',
    frame_rate:           '25',
    audio_codec:          'aac',
    audio_bitrate:        '128k',
    audio_sample_rate:    '48000',
    progress: :processing_progress
  }.freeze

  AUDIO_EFFECTS = {
    multi_effect: %w[-i /home/yozuu/2.mp4 -filter_complex [0] [1] afir=dry=10:wet=10]
 }.freeze


    


    So Sidekiq send this back to me :

    


    I, [2020-08-12T19:40:38.828081 #2142]  INFO -- : Running transcoding...
["/sbin/ffmpeg", "-y", "-i", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4", "-vcodec", "libx264", "-acodec", "aac", "-s", "500x282", "-i", "/home/yozuu/2.mp4", "-filter_complex", "'[0]", "[1]", "afir=dry=10:wet=10'", "-r", "25", "-b:a", "128k", "-ar", "48000", "-aspect", "1.7730496453900708", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4"]

E, [2020-08-12T19:40:38.897575 #2142] ERROR -- : Failed encoding...
["/sbin/ffmpeg", "-y", "-i", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4", "-vcodec", "libx264", "-acodec", "aac", "-s", "500x282", "-i", "/home/yozuu/2.mp4", "-filter_complex", "'[0]", "[1]", "afir=dry=10:wet=10'", "-r", "25", "-b:a", "128k", "-ar", "48000", "-aspect", "1.7730496453900708", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4"]


.....

Unknown decoder 'libx264'

Errors: no output file created. 



    


    I don't understand why because for me the command line ffmpeg seems correct.
Anyone have a idea ?
Thank you.