Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (41)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6551)

  • copy .wav audio file settings to new .wav file

    18 novembre 2020, par Jonas

    currently I am working with a speech to text translation model that takes a .wav file and turns the audible speech within the audio into a text transcript. The model worked before on .wav audio recordings that were recorded directly. However now I am trying to do the same with audio that was at first present within a video.

    


    The steps are as follows :

    


      

    • retrieve a video file from a stream url through ffmpeg
    • 


    • strip the .aac audio from the video
    • 


    • convert the .aac audio to .wav
    • 


    • save the .wav to s3 for later usage
    • 


    


    The ffmpeg command I use is listed below for reference :

    


      rm /tmp/jonas/*
  ffmpeg -i {stream_url} -c copy -bsf:a aac_adtstoasc /tmp/jonas/{filename}.aac
  ffmpeg -i /tmp/jonas/{filename}.aac /tmp/jonas/{filename}.wav
  aws s3 cp /tmp/jonas/{filename}.wav {s3_audio_save_location}


    


    The problem now is that my speech to text model does not work on this audio anymore. I use sox to convert the audio but sox does not seem to grab the audio. Also without sox the model does not work. This leads me to believe there is a difference in the .wav audio formatting and therefore I would like to know how I can either format the .wav with the same settings as a .wav that does work or find a way to compare the .wav audio formatting and set the new .wav to the correct format manually through ffmpeg

    


    I tried with PyPy exiftool and found the metadata of the two files :

    


    The metadata of the working .wav file is enter image description here

    


    The metadata of the .wav file that does not work is enter image description here

    


    So as can be seen the working .wav file has some different settings that I would like to mimic in the second .wav file presumably that would make my model work again :)

    


    with kind regards,
Jonas

    


  • ld : file too small for architecture armv7 mac [closed]

    3 avril 2013, par user1500842
    Ld /Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Intermediates/sqeyes.build/Debug-iphoneos/sqeyes.build/Objects-normal/armv7/sqeyes normal armv7
       cd /Users/IPhoneDev/Project/sqeyes
       setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
       setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Products/Debug-iphoneos -L/Users/IPhoneDev/Project/sqeyes -F/Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Products/Debug-iphoneos -filelist /Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Intermediates/sqeyes.build/Debug-iphoneos/sqeyes.build/Objects-normal/armv7/sqeyes.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=4.3 -framework QuartzCore -framework EventKit -framework EventKitUI -lsqlite3.0 -framework UIKit -framework Foundation -framework CoreGraphics -lavcodec -lswscale -lavutil -o /Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Intermediates/sqeyes.build/Debug-iphoneos/sqeyes.build/Objects-normal/armv7/sqeyes
    ld: file too small for architecture armv7 mac
  • How to get animated webp file with transparent background padding after converting from mp4 file with ffmpeg ?

    2 mars 2024, par isharth rastogi

    I need to convert mp4 video(1280×720) to webp file(512x512) such that the resulting webp file maintains aspect ratio and also gets entirely contained in 512x512 and the uncovered areas at the top and bottom should be transparent.

    


    I tried the following ffmpeg command :

    


    ffmpeg -i sample.mp4 
-vcodec libwebp -filter:v fps=fps=20 -lossless 1 -loop 0 -preset default -an -vsync 0 -vf 
scale=512:512:force_original_aspect_ratio=decrease,pad=512:512:-1:-1:color=#00000000 sample.webp


    


    In the above command please note pad=512:512:-1:-1:color=#00000000
I have given the alpha values 00 but it outputs black color only.

    


    I also referred to this site https://ffmpeg.org/ffmpeg-utils.html#color-syntax It says

    


    


    It can be the name of a color as defined below (case insensitive match) or a 0xRRGGBB[AA] sequence, possibly followed by @ and a string representing the alpha component.
The alpha component may be a string composed of "0x" followed by a hexadecimal number or a decimal number between 0.0 and 1.0, which represents the opacity value (‘0x00’ or ‘0.0’ means completely transparent, ‘0xff’ or ‘1.0’ completely opaque). If the alpha component is not specified then ‘0xff’ is assumed.

    


    


    I tried both color=0x000000@0x00 and color=0x000000@0.0 but the result was opaque black.