
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (28)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (4307)
-
Demux H264 from (already recorded) raw RTSP stream on HDD
4 janvier 2017, par Pascal ZurekI once had to record a video from an IP camera (Sony SRG 300SE) in a hurry. I did so by launching
gst-launch-1.0 rtspsrc location="rtsp://192.168.0.100/video1" ! filesink location="recording.raw"
which ran flawlessly.
Now, I would like to demux the audio and video (aac and h264) from that file. I now know that it would have been much smarter to do that right when receiving the stream, but well, I didn’t.I already tried
gst-launch-1.0 rtspsrc location="recording.raw" ! ...
, which results in "No valid RTSP URL was provided" (GStreamer 1.10.2) ;ffmpeg -i recording.raw -c:v copy -c:a copy recording.mp4
, which only leads to "Invalid data found when processing input" (ffmpeg 3.2.2)gst-launch-1.0 filesrc location="recording.raw" ! application/x-rtp ! rtph264depay ! h264parse ! matroskamux ! filesink location=out.mkv
, leading toWARNING: from element /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0: Could not decode stream.
Additional debug info:
gstrtpbasedepayload.c(503): gst_rtp_base_depayload_handle_buffer (): /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0:
Received invalid RTP payload, dropping
Is there any way I get at least the video out of that stream ?
Update :
4.cat recording.raw | ffmpeg -i - -c:v copy -c:a copy recording.mp4
leads topipe:: Invalid data found when processing input
in ffmpeg 3.2.2, and to the following in an older build :[aac @ 0x2d4b3a0] Format aac detected only with low score of 1, misdetection possible!
[aac @ 0x2d4c180] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x2d4c180] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x2d4c180] Reserved bit set.
[aac @ 0x2d4c180] Prediction is not allowed in AAC-LC.
[aac @ 0x2d4c180] channel element 3.10 is not allocated
[aac @ 0x2d4c180] Assuming an incorrectly encoded 7.1 channel layout instead of a spec-compliant 7.1(wide) layout, use -strict 1 to decode according to the specification instead.
[aac @ 0x2d4c180] channel element 1.6 is not allocated
[aac @ 0x2d4c180] channel element 2.5 is not allocated
[aac @ 0x2d4c180] channel element 2.8 is not allocated
[aac @ 0x2d4c180] channel element 2.12 is not allocated
[aac @ 0x2d4c180] channel element 3.2 is not allocated
[aac @ 0x2d4c180] channel element 2.10 is not allocated
[aac @ 0x2d4c180] Reserved bit set.
[aac @ 0x2d4c180] Prediction is not allowed in AAC-LC.
[aac @ 0x2d4c180] Reserved bit set.
[aac @ 0x2d4c180] TNS filter order 15 is greater than maximum 12.
[aac @ 0x2d4c180] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x2d4c180] Inconsistent channel configuration.
[aac @ 0x2d4c180] get_buffer() failed
[aac @ 0x2d4c180] Reserved bit set.
[aac @ 0x2d4c180] Prediction is not allowed in AAC-LC.
[aac @ 0x2d4c180] channel element 1.5 is not allocated
[aac @ 0x2d4c180] Reserved bit set.
[aac @ 0x2d4c180] Pulse tool not allowed in eight short sequence.
[aac @ 0x2d4c180] Number of bands (30) exceeds limit (21).
[aac @ 0x2d4c180] Number of bands (16) exceeds limit (14).
[aac @ 0x2d4c180] Assuming an incorrectly encoded 7.1 channel layout instead of a spec-compliant 7.1(wide) layout, use -strict 1 to decode according to the specification instead.
[aac @ 0x2d4c180] Sample rate index in program config element does not match the sample rate index configured by the container....thus creating a AAC only file. As far as I can see, the AAC is silence (which could have be the case, though).
Thanks in advance,
Pascal -
ffmpeg - when scaling, how to keep shapes of people's heads
19 janvier 2017, par DaveOk, I’m quite familiar with FFMPEG utility in general, and have used it for
years to cut short snippets from videos, etc. But it’s only in the last
month that and I decided to learn to use it to transcode with video-filters
etc. (Before that, I was using other tools such as ’Handbrake’ and ’FreeMake’
and VLC, etc.)For my ffmpeg transcodes, my target output resolution will always be constant, from one transcode run to the next. But the resolution and display aspect-ratio of the input file, from one transcode run to the next, will vary...could be almost any values.
The input files will never already have black-bars when displayed.So, the relevant portion [ i.e. the video-filter(s) part) of my cmd line ] presently is as follows :
ffmpeg ... -vf "scale=720:406,setsar=1,pad=720:506:0:40:Black" ...
Also note : I do NOT use the "-aspect" option in the cmd-line. (Maybe I’ll
need to (???) to solve my issue, but I’m unsure about how that interacts
with scaling.)( EDIT : Oh, I happen to have chosen that resolution value of 720x406, for
the image-area (i.e. inside the top/bottom black bars) because it
has an aspect ratio of 16:9 (Of course, 16:9 ratio is common these days. )My cmd always executes cleanly and produces an output file (a WebM, tho I doubt
that container types and/or vcodec choices matter at all to scaling algorithm issues).So the issue/problem that I’m trying to solve is how to prevent any stretching
in either direction. In other words, a round soccer ball in the input file
must yield a round ball in the output file ! (NOT oval-shaped in either axis).( Edit #2 : Oh, I forgot to mention that I’m not have the same amount of stretching from one ffmpeg output file to the next. Sometimes there is
no stretch in my output file, and with some other input file, the
people are too tall in the output, and some other output file will have
people are too wide. I’m assuming
there is some single cmd that will always work for each randomly sized
input file, WITHOUT having to resort to examining meta-data of each
input and then having to adjust portions of the needed ffmpeg cmd.
I assume this because I have used a tool called "FreeMake" that needs
no such adjustment. When you do a ’scale’ with that program, it asks
you to choose one of four adjustment-algorithms labeled "original"
"stretched", "zoom..." and "auto". If I recall correctly, it was the
"auto" choice that prevented any stretching.)The goal of that last filter (i.e. the "pad=720:506:0:40:Black" phrase) is to
add a black bar of 40 pixels to the top and 60 pixels to the bottom.
(That filter IS producing the black-bands, as desired. I mention it,
because I’m unsure whether it could be having any effect on the altered
shape of the ’round soccer ball’). If the "pad" filter IS part of the
issue, then maybe I’ll need to make multiple ffmpeg cmds to achieve
my overall goal (!?!?). [I’d LIKE to be able to do everything in just
one ffmpeg cmd, as shown.]OK ?
So are there any image-processing and ffmpeg gurus out there that
know how to fix my problem ?TIA...
Dave
-
IE9+ not playing portrait video in HTML5 video tag
12 avril 2017, par ptrnFor some reason I can’t get IE9/10 to play video that is taller than wide, when using HTML5 video tags.
Demo :
http://s.l6.no/demo/video+html5/The demo shows one video scaled down from 1280x720, which plays perfectly fine in all tested browsers, and one video scaled down from 720x1280 which plays for all browsers but IE9/10.
Tested and works for :
- Chrome 26, Windows 7 64-bit
- Chromium 24, Ubuntu 64-bit
- Firefox 14, Windows 7 64-bit
Tested and does not work for :
- Internet Explorer 9, Windows 7 64-bit
- Internet Explorer 10, Windows 7 64-bit
I’m using FFmpeg to code the videos to MP4(x264) and WebM(VP8), with the current command dummed down to this :
ffmpeg -i in.mp4 -vcodec libx264 -pix_fmt yuv420p -y -b:v 4000k out.mp4
The lack of profile settings would be my first point, but since the other video is playing just fine, I can’t see why it should matter.
Any ideas ?
Edit : soft rotating the video isn’t really an option, as the user is to be able to download the video to play offline. I could transcode an extra version just for IE, but come on, there’s gotta be another way, no ?