
Recherche avancée
Autres articles (51)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (4133)
-
Piping the output of ffmpeg directly to Audacity
21 décembre 2020, par colin baguleyI'm trying to make a 2 stage process into one CLI command.


First :- I want to extract the audio from a video file


Second :- I want to open up that audio file in Audacity


On the command line at the moment I do this :-


-ffmpeg -i inputfile.mp4 -vn sound.wav ; audacity sound.wav


which works but involves writing the sound.wav to my disc ( I don't want to keep sound.wav)


It strikes me that it would be quicker if I could just pipe the ffmpeg output directly into audacity but I can't seem to work out how to do it.


Yes - I know that using the GUI of Audacity I can just 'open' the mp4 directly into audacity but I would like to use a CLI command


Thank you for your help ( and have a peaceful and joyful Christmas !)


-
ffmpeg recording audio / video sync issues [closed]
1er novembre 2022, par sling jonesI'm using ffmpeg to record NTSC analog video on Linux Fedora 36 using a Blackmagic Intensity Pro 4K for video and a Scarlett 2i2 for audio. I'm using a TBC to avoid dropped frames and to ensure a constant S-Video Y/C framerate on the analog end.


The problem I'm running into is that on playback the audio will start out relatively in sync with the video at the beginning of the captured file but will eventually run ahead of the video eventually becoming many seconds off.


Nothing I do seems to change this or change the degree to which it happens. The audio and video stay in sync throughout the entire video as I'm monitoring the source so I don't understand how they can diverge so much once encoded into a digital file ?


Here is the command I am using :


ffmpeg -hwaccel cuda -fflags +igndts -format_code ntsc -f decklink -raw_format auto -vsync passthrough -rtbufsize 1500M -thread_queue_size 512 -i 'Intensity Pro 4K' -f pulse -rtbufsize 500M -thread_queue_size 512 -i 'Scarlett 2i2 Camera Analog Stereo' -c copy -map 0:1 -map 1:0 "/tmp/ffmpeg-raw/file-raw.avi"



here's the ffprobe output from one of my files :


Input #0, avi, from 'test2-raw.avi':
 Metadata:
 software : Lavf59.33.100
 Duration: 00:11:42.87, start: 0.000000, bitrate: 169341 kb/s
 Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 720x486, 167801 kb/s, 59.94 fps, 59.94 tbr, 59.94 tbn
 Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s




As you can see in my code snippet, I've been throwing things at the wall for a bit. I've tried different rtbufsizes, adding -copyts, and going through the different -vsync options. I've tried it with and without hardware acceleration ( I do have a NVIDIA card), +igdts did get rid of a warning but did not help with the sync, as did changing the thread queue sizes.


OBS can do this, why can't I ?


-
Recording a Surface using MediaCodec
3 février 2014, par RuntimeExceptionSo, In my application, I am able to show effects(like blur filter, gaussian) to video that comes from Camera using GPUImage library.
Basically, I (library) will take the input from the Camera, get's the raw byte data, converts it into RGBA format from YUV format, then applies effects to this image and displays on the
Surface
ofGLSurfaceView
using OpenGL. finally, to the user, it looks like a video with effects applied.Now I want to record the frames of
Surface
as a video using MediaCodec API.but this discussion says that we can not pass a predefined
Surface
to theMediaCodec
.I have seen some samples at bigflake where he is creating
Surface
usingMediaCodec.createInputSurface()
but for me,Surface
comes from theGLSurfaceView
.So, how can I record a frames of a
Surface
as a video ?I will record the audio parallelly, merge that video and audio using FFMPEG and present to the user as a Video with effects applied.