
Recherche avancée
Autres articles (36)
-
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 (...) -
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. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5737)
-
ffmpeg trailing options with colon on windows
26 juillet 2021, par user2929452I've just switched to Windows 10 Pro.


When I open a shell to use ffmpeg, any time I use an option with a colon I get an error.


for example :


ffmpeg -thread_queue_size 4096 -r 24 -i uncompressed.mov -c:v libx264 -b:v 40m -profile:v main -crf 31 -pix_fmt yuv420p -c:a aac -b:a 192K -strict -2 -vf eq=saturation=1.3 compressed_31.mp4



gives :


[NULL @ 0000023184ac8c40] Unable to find a suitable output format for 'libx264'
libx264: Invalid argument



if I get rid of -c:v libx264, then I get the same error with '40m', or with 'main' etc... so it's always trying to read the argument after an option with a colon as the output file.


Is this a windows thing ? All my commands work fine in a mac terminal.


I assume the answer is simple. Apologies for my ignorance. Feels like I'm misunderstanding the windows shell or ffmpeg on windows.


-
ffmpeg with python subprocess Popen
17 juillet 2022, par EularI'm trying to record webcam video from python using ffmpeg. The following ffmpeg works properly when run from the cmd


ffmpeg -f dshow -rtbufsize 2000M -i video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)" -y -vcodec libx264 -crf 24 output.mp4 



I have checked the audio and video inputs with


ffmpeg -list_devices true -f dshow -i dummy



Now when I try to call the command using subprocess problem happens. I can just pass the whole command like this


import subprocess, time
recorder = subprocess.Popen('ffmpeg -f dshow -rtbufsize 2000M -i video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)" -y -vcodec libx264 -crf 24 output.mp4', shell=True)
time.sleep(10)
recorder.terminate()
recorder.kill()



Now, as this is run with
shell=True
this won't terminate the recording and I have checked different solution, but they won't work either. So, I opted forshell=False
. I tried with

recorder = subprocess.Popen(['ffmpeg', '-f', 'dshow', '-rtbufsize', '2000M', '-t', '60', '-i', 'video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)"', '-y', '-vcodec', 'libx264', '-crf', '24', 'output.mp4'],shell=False)



This throws the error


[dshow @ 0000024f2becd540] Could not find video device with name ["HP HD Camera"] among source devices of type video.
video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)": I/O error



Then, I tried


recorder = subprocess.Popen(['ffmpeg', '-f', 'dshow', '-rtbufsize', '2000M', '-t', '60', '-i', 'video=HP HD Camera:audio=Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)', '-y', '-vcodec', 'libx264', '-crf', '24', 'output.mp4'],shell=False)



This creates the output, but the video is not playable.

How to fix this ?

-
fate : add audiomatch
21 mars 2016, par Michael Niedermayerfate : add audiomatch
Testset provided by Justin Greer <justin@zencoder.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>- [DH] .gitignore
- [DH] Makefile
- [DH] tests/Makefile
- [DH] tests/audiomatch.c
- [DH] tests/fate-run.sh
- [DH] tests/fate/gapless.mak
- [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-he-adts
- [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-he-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-lc-adts
- [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-lc-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he-adts
- [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he2-adts
- [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he2-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-lc-adts
- [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-lc-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-he-adts
- [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-he-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-lc-adts
- [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-lc-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he-adts
- [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he2-adts
- [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he2-m4a
- [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-lc-adts
- [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-lc-m4a
- [DH] tests/ref/fate/audiomatch-dolby-44100-mono-he-mp4
- [DH] tests/ref/fate/audiomatch-dolby-44100-mono-lc-mp4
- [DH] tests/ref/fate/audiomatch-dolby-44100-stereo-he-mp4
- [DH] tests/ref/fate/audiomatch-dolby-44100-stereo-he2-mp4
- [DH] tests/ref/fate/audiomatch-dolby-44100-stereo-lc-mp4
- [DH] tests/ref/fate/audiomatch-faac-16000-mono-lc-adts
- [DH] tests/ref/fate/audiomatch-faac-16000-mono-lc-m4a
- [DH] tests/ref/fate/audiomatch-faac-16000-stereo-lc-adts
- [DH] tests/ref/fate/audiomatch-faac-16000-stereo-lc-m4a
- [DH] tests/ref/fate/audiomatch-faac-44100-mono-lc-adts
- [DH] tests/ref/fate/audiomatch-faac-44100-mono-lc-m4a
- [DH] tests/ref/fate/audiomatch-faac-44100-stereo-lc-adts
- [DH] tests/ref/fate/audiomatch-faac-44100-stereo-lc-m4a
- [DH] tests/ref/fate/audiomatch-nero-16000-mono-he-m4a
- [DH] tests/ref/fate/audiomatch-nero-16000-mono-lc-m4a
- [DH] tests/ref/fate/audiomatch-nero-16000-stereo-he-m4a
- [DH] tests/ref/fate/audiomatch-nero-16000-stereo-he2-m4a
- [DH] tests/ref/fate/audiomatch-nero-16000-stereo-lc-m4a
- [DH] tests/ref/fate/audiomatch-nero-44100-mono-he-m4a
- [DH] tests/ref/fate/audiomatch-nero-44100-mono-lc-m4a
- [DH] tests/ref/fate/audiomatch-nero-44100-stereo-he-m4a
- [DH] tests/ref/fate/audiomatch-nero-44100-stereo-he2-m4a
- [DH] tests/ref/fate/audiomatch-nero-44100-stereo-lc-m4a
- [DH] tests/ref/fate/audiomatch-quicktime7-44100-stereo-lc-mp4
- [DH] tests/ref/fate/audiomatch-quicktimeX-44100-stereo-lc-m4a
- [DH] tests/ref/fate/audiomatch-square-aac
- [DH] tests/ref/fate/audiomatch-square-mp3