
Recherche avancée
Autres articles (94)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (7733)
-
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 -
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


-
MoviePy Error : The system cannot find the file specified
4 juillet 2017, par JohnSmithy1266I’m getting the error in the title when trying to run the example code below on Windows 10/Python 3.6.1/Sublime Text Editor 3. I made sure to set my
MAGICK_HOME
environment variable to point to where I manually installed ImageMagick. I made sure to only have 1 version of ImageMagick installed. I made sure FFMPEG, Numpy, imageio, Decorator, and tqdm were all installed.Yes, the file "vidclip.mp4" exists. The desired behavior here is to simply clip the video and add text to the center as per the example on the github page, i.e. to simply run the code successfully.
Does anyone know what might be wrong ?
Example code from github :
from moviepy.editor import *
video = VideoFileClip("vidclip.mp4").subclip(7,64)
# Make the text. Many more options are available.
txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
.set_position('center')
.set_duration(10) )
result = CompositeVideoClip([video, txt_clip]) # Overlay text on video
result.write_videofile("vidclip_edited.webm",fps=25) # Many options...The full error trace :
Traceback (most recent call last):
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1220, in __init__
subprocess_call(cmd, verbose=False )
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\tools.py", line 42, in subprocess_call
proc = sp.Popen(cmd, **popen_params)
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\av\Desktop\Desktop\Projects\Youtube\blender\test\testMoviePy.py", line 6, in <module>
txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1229, in __init__
raise IOError(error)
OSError: MoviePy Error: creation of None failed because of the following error:
[WinError 2] The system cannot find the file specified.
.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or.that the path you specified is incorrect
</module>