
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (81)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (10849)
-
Screen capture in CircleCI VMs in macOS [closed]
16 août 2024, par Anton ShkurenkoI'm trying to record test videos using either ffmpeg or appium mac2 driver (as far as I know, it uses ffmpeg behind the scenes anyway)


deviceId == 0 is screen capture in CircleCI VM.


In python code is simple :


appium_driver.start_recording_screen(deviceId=0)


Or using raw ffmpeg :


ffmpeg -f avfoundation -i "0" -t 10 output.mp4


But I can't give permissions somehow. Once I start video recording, there is a popup :




And an error :


[ffmpeg] objc[23088]: class 'NSKVONotifying_AVCaptureScreenInput' not linked into application


What I've tried :


basically main are ffmpeg and .machine-agent, others are just out of desperation 🙂


- macos/add-permission:
 bundle-id: /Applications/Utilities/Terminal.app
 permission-type: kTCCServiceScreenCapture
 - macos/add-permission:
 bundle-id: /private/tmp/.machine-agent
 permission-type: kTCCServiceScreenCapture
 - macos/add-permission:
 bundle-id: /usr/local/bin/ffmpeg
 permission-type: kTCCServiceScreenCapture
 - macos/add-permission:
 bundle-id: /opt/homebrew/bin/appium
 permission-type: kTCCServiceScreenCapture



P.S.
Screen capturing via applescript and quicktime doesn't work for me (I can't click "Record" button). What I've also tried : wrap ffmpeg into apple
Automator
orApple Script
to make a fake app and give permissions to it, but it didn't work neither.

-
why does ffmpeg export black video ?
8 février, par Sling Ringi give ffmpeg a simple task which is the following


ffmpeg -i test.avi -c:v rawvideo -pix_fmt yuv420p out.yuv


i try to play the video but it gives a black screen, even in a .yuv player.
ffmpeg supposedly "running"


Is there some human error that i am doing ?


Signed
Slingring


-
torchaudio.io.StreamReader doesn't throw error when seeking to time stamp more than the duration of audio file
27 mars 2023, par lokeshI am trying to get the audio chunk of audio file between specific start time and end time


Consider a audio of duration 10 seconds. Now i need to get chunk from 4 sec to 7 sec


torchaudio.info doesn't give correct
num_frames
for io.BytesIO flac audio file. So there is no way to find the total number of frames in the given audio to check for out of bounds start offset
Ref : https://github.com/pytorch/audio/issues/2524

What I did to get the chunk of audio with start and end offsets.


def read_audio(audio_file, start, end):
 audio_file.seek(0)
 reader = StreamReader(audio_file)
 sample_rate = int(reader.get_src_stream_info(reader.default_audio_stream).sample_rate)

 reader.seek(start * sample_rate)
 reader.add_basic_audio_stream(frames_per_chunk=(end - start) * sample_rate)

 return list(reader.stream())[0].pop()



This is working as intended for start time less than the duration of audio file. But when we give the start time more than the duration of audio file, It doesn't throw error or return empty tensor.
Is there any way to know the given offsets are out of bounds.