
Recherche avancée
Autres articles (41)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (6060)
-
ffmpeg video&audio streaming from webcam
23 février 2016, par johncarrieI am new to ffmpeg and I want to stream webcam video&audio by using ffmpeg and ffserver.
ffserver config is the following :
<stream>
Feed feed1.ffm
Format avi
VideoSize 176x128
VideoFrameRate 15
VideoBufferSize 40
VideoBitRate 64
AudioBitRate 32
AudioChannels 1
AudioSampleRate 11025
VideoQMin 1
VideoQMax 20
NoDefaults
</stream>ffmpeg process is the following :
ffmpeg -vcodec mjpeg -v verbose -r 15 -s 176x128 -f video4linux2 -i /dev/video0 -f
alsa -ac 1 -i hw:0 http://localhost:8090/feed1.ffm
ffmpeg version N-77547-g2893dbf Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
libavutil 55. 11.100 / 55. 11.100
libavcodec 57. 20.100 / 57. 20.100
libavformat 57. 21.100 / 57. 21.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 22.100 / 6. 22.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[video4linux2,v4l2 @ 0xa6133a0] fd:3 capabilities:84000001
[video4linux2,v4l2 @ 0xa6133a0] The V4L2 driver changed the video from 176x128 to 1280x720
[mjpeg @ 0xa613ec0] Changing bps to 8
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 77139.395765, bitrate: N/A
Stream #0:0: Video: mjpeg, 1 reference frame, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, alsa, from 'hw:0':
Duration: N/A, start: 1456086923.213492, bitrate: 768 kb/s
Stream #1:0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[tcp @ 0xa622000] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
[tcp @ 0xa61e140] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
[graph 0 input from stream 1:0 @ 0xa613220] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x4
[audio format for output stream 0:0 @ 0xa62a620] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[auto-inserted resampler 0 @ 0xa6229c0] ch:1 chl:mono fmt:s16 r:48000Hz -> ch:1 chl:mono fmt:s32p r:11025Hz
[graph 1 input from stream 0:0 @ 0xa6244c0] w:1280 h:720 pixfmt:yuvj422p tb:1/15 fr:15/1 sar:0/1 sws_param:flags=2
[scaler for output stream 0:1 @ 0xa623fc0] w:176 h:128 flags:'bicubic' interl:0
[graph 1 input from stream 0:0 @ 0xa6244c0] TB:0.066667 FRAME_RATE:15.000000 SAMPLE_RATE:nan
[swscaler @ 0xa63fe40] deprecated pixel format used, make sure you did set range correctly
[scaler for output stream 0:1 @ 0xa623fc0] w:1280 h:720 fmt:yuvj422p sar:0/1 -> w:176 h:128 fmt:yuv420p sar:0/1 flags:0x4
[mpeg4 @ 0xa626260] Either both buffer size and max rate or neither must be specified
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
Metadata:
creation_time : 2016-02-22 03:35:23
Stream #0:0: Audio: mp3 (libmp3lame), 11025 Hz, mono, s32p, 32 kb/s
Metadata:
encoder : Lavc57.20.100 libmp3lame
Stream #0:1: Video: mpeg4, 1 reference frame, none, 176x128 (0x0), q=1-20, 64 kb/s, 15 fps, 15 tbc
Metadata:
encoder : Lavc57.20.100 mpeg4
Stream mapping:
Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Stream #0:0 -> #0:1 (mjpeg (native) -> mpeg4 (native))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or heightI am using a
FEBON168 UVC HDMI GRABBER CARD
as Webcam.
USB UVC output is the following :
1. MJPEG 1280x720 up to 30fps (full screen)
2. YUV 1280x720 up to 10fps (full screen)How can I fix it ? What am I doing wrong ?
-
ffmpeg save hls to m3u8 with mp4 segments
9 juin 2018, par J. OmenI am looking for a command ffmpeg, which saving live input (rtmp or hls) to hls m3u8 with mp4 segments files. I know that it is possible to do, i.e. there is infohttps://bitmovin.com/hls-news-wwdc-2016/ but every command I tries - makes ts files. Anyone know solution ?
-
lavf : add a protocol whitelist/blacklist for file opened internally
20 janvier 2016, par Anton Khirnovlavf : add a protocol whitelist/blacklist for file opened internally
Should make the default behaviour safer for careless callers that open
random untrusted files.Bug-Id : CVE-2016-1897
Bug-Id : CVE-2016-1898- [DBH] doc/APIchanges
- [DBH] libavformat/avformat.h
- [DBH] libavformat/aviobuf.c
- [DBH] libavformat/options.c
- [DBH] libavformat/options_table.h
- [DBH] libavformat/rtsp.c
- [DBH] libavformat/rtspdec.c
- [DBH] libavformat/sapdec.c
- [DBH] libavformat/sapenc.c
- [DBH] libavformat/smoothstreamingenc.c
- [DBH] libavformat/version.h