
Recherche avancée
Autres articles (77)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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 (...)
Sur d’autres sites (8306)
-
copy .wav audio file settings to new .wav file
18 novembre 2020, par Jonascurrently 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


The metadata of the .wav file that does not work is


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 user1500842Ld /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 rastogiI 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
andcolor=0x000000@0.0
but the result was opaque black.