
Advanced search
Other articles (92)
-
Amélioration de la version de base
13 September 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configuration spécifique pour PHP5
4 February 2011, byPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
On other websites (5680)
-
How to transcode video stream by changing only the resolution?
3 May 2013, by user1051417I would like to transcode video stream using ffmpeg tool and change only the video stream resolution, i.e. the video and audio parameters should remain the same.
According to the man page of the ffmpeg the following command line should provide the desired result:
ffmpeg -i input.mp4 -vcodec copy -acodec copy -s WxH output.avi
The Video codec of the input stream is compatible with avi container.
The actual result is that the resolution remains unchanged and it seems that the stream is just repacked in avi container.
The resolution of the output stream is changed successfully without
-vcodec copy
option, but the video codec is changed: h264 (Constrained Baseline) - > mpeg4 (Simple Profile). -
C++ How to stream mpeg over http?
9 May 2014, by Titouan42I have a streaming server (nodejs) which listen a mpeg stream over http,
by using this code.Currently, I would like to feed my server without the ffmpeg tool, as below, but with a C++ code.
ffmpeg -s 640x480 -f video4linux2 -i /dev/video0 -f mpeg1video \
b 800k -r 30 http://example.com:8082/yourpassword/640/480/
So, my question is how to simply stream mpeg over http?
Help please!
-
Receive rtp (opus) stream from ffmpeg on other computer with VLC
27 June 2015, by Friendlyghost89I am currently trying to get an opus stream to play on a separate computer using VLC.
Currently the setup is as follows:
Odroid-U2 running ffmpeg to capture audio and send as rtp opus stream to remote computer....
command used: ffmpeg -f alsa -ac 1 -i hw:0 -acodec libopus -ab 32k -ac 1 -f rtp rtp://192.168.0.115:2032the remote computer (on same local network) is at 192.168.0.115
the Odroid is at 192.168.0.124If i use libmp3lame in libopus’s place then the stream will run through without a problem and will not prompt the fact that it requires sdp....
VLC output on remote computer:
SDP required: A description in SDP format is required to receive the RTP stream. Note that rtp:// URIs cannot work with dynamic RTP payload format (97).
If i use an *.sdp file that I drop into vlc to play the stream it does nothing (no errors and no playback)
SDP file used:
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 192.168.0.115
t=0 0
a=tool:libavformat 55.2.100
m=audio 2032 RTP/AVP 97
b=AS:32
a=rtpmap:97 opus/48000ffmpeg output on Odroid:
linaro@linaro-ubuntu-desktop:~$ ffmpeg -f alsa -ac 1 -i hw:0 -acodec libopus -ab 32k -ac 1 -f rtp rtp://192.168.0.115:2032
ffmpeg version git-2013-04-13-87dd62e Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 13 2013 09:47:34 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3 --enable-libopus
libavutil 52. 26.100 / 52. 26.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 2.100 / 55. 2.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 53.101 / 3. 53.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, alsa, from 'hw:0':
Duration: N/A, start: 1365868129.196234, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Output #0, rtp, to 'rtp://192.168.0.115:2032':
Metadata:
encoder : Lavf55.2.100
Stream #0:0: Audio: opus, 48000 Hz, mono, s16, 32 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> libopus)
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 192.168.0.115
t=0 0
a=tool:libavformat 55.2.100
m=audio 2032 RTP/AVP 97
b=AS:32
a=rtpmap:97 opus/48000Any help is greatly appreciated....
Regards