
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (57)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (6023)
-
RTP packets detected as UDP
28 février 2017, par user3172852Here is what I am trying to do :
WebRTC endpoint > RTP Endpoint > ffmpeg > RTMP server.
This is what my SDP file looks like.
var cm_offer = "v=0\n" +
"o=- 3641290734 3641290734 IN IP4 127.0.0.1\n" +
"s=nginx\n" +
"c=IN IP4 127.0.0.1\n" +
"t=0 0\n" +
"m=audio 60820 RTP/AVP 0\n" +
"a=rtpmap:0 PCMU/8000\n" +
"a=recvonly\n" +
"m=video 59618 RTP/AVP 101\n" +
"a=rtpmap:101 H264/90000\n" +
"a=recvonly\n";What’s happening is that wireshark can detect the incoming packets at port 59618, but not as RTP packets but UDP packets. I am trying to capture the packets using ffmpeg with the following command :
ubuntu@ip-132-31-40-100:~$ ffmpeg -i udp://127.0.0.1:59618 -vcodec copy stream.mp4
ffmpeg version git-2017-01-22-f1214ad Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
libavutil 55. 44.100 / 55. 44.100
libavcodec 57. 75.100 / 57. 75.100
libavformat 57. 63.100 / 57. 63.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 69.100 / 6. 69.100
libavresample 3. 2. 0 / 3. 2. 0
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100All I get is a blinking cursor and The stream.mp4 file is not written to disk after I exit (ctrl+c).
So can you help me figure out :
- why wireshark cannot detect the packets as RTP (I suspect it has something to do with SDP)
- How to handle SDP answer when the RTP endpoint is pushing to ffmpeg which doesn’t send an answer back.
Here is the entire code (hello world tutorial modified)
/*
* (C) Copyright 2014-2015 Kurento (http://kurento.org/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
function getopts(args, opts)
{
var result = opts.default || {};
args.replace(
new RegExp("([^?=&]+)(=([^&]*))?", "g"),
function($0, $1, $2, $3) { result[$1] = decodeURI($3); });
return result;
};
var args = getopts(location.search,
{
default:
{
ws_uri: 'wss://' + location.hostname + ':8433/kurento',
ice_servers: undefined
}
});
function setIceCandidateCallbacks(webRtcPeer, webRtcEp, onerror)
{
webRtcPeer.on('icecandidate', function(candidate) {
console.log("Local candidate:",candidate);
candidate = kurentoClient.getComplexType('IceCandidate')(candidate);
webRtcEp.addIceCandidate(candidate, onerror)
});
webRtcEp.on('OnIceCandidate', function(event) {
var candidate = event.candidate;
console.log("Remote candidate:",candidate);
webRtcPeer.addIceCandidate(candidate, onerror);
});
}
function setIceCandidateCallbacks2(webRtcPeer, rtpEp, onerror)
{
webRtcPeer.on('icecandidate', function(candidate) {
console.log("Localr candidate:",candidate);
candidate = kurentoClient.getComplexType('IceCandidate')(candidate);
rtpEp.addIceCandidate(candidate, onerror)
});
}
window.addEventListener('load', function()
{
console = new Console();
var webRtcPeer;
var pipeline;
var webRtcEpt;
var videoInput = document.getElementById('videoInput');
var videoOutput = document.getElementById('videoOutput');
var startButton = document.getElementById("start");
var stopButton = document.getElementById("stop");
startButton.addEventListener("click", function()
{
showSpinner(videoInput, videoOutput);
var options = {
localVideo: videoInput,
remoteVideo: videoOutput
};
if (args.ice_servers) {
console.log("Use ICE servers: " + args.ice_servers);
options.configuration = {
iceServers : JSON.parse(args.ice_servers)
};
} else {
console.log("Use freeice")
}
webRtcPeer = kurentoUtils.WebRtcPeer.WebRtcPeerSendrecv(options, function(error)
{
if(error) return onError(error)
this.generateOffer(onOffer)
});
function onOffer(error, sdpOffer)
{
if(error) return onError(error)
kurentoClient(args.ws_uri, function(error, client)
{
if(error) return onError(error);
client.create("MediaPipeline", function(error, _pipeline)
{
if(error) return onError(error);
pipeline = _pipeline;
pipeline.create("WebRtcEndpoint", function(error, webRtc){
if(error) return onError(error);
webRtcEpt = webRtc;
setIceCandidateCallbacks(webRtcPeer, webRtc, onError)
webRtc.processOffer(sdpOffer, function(error, sdpAnswer){
if(error) return onError(error);
webRtcPeer.processAnswer(sdpAnswer, onError);
});
webRtc.gatherCandidates(onError);
webRtc.connect(webRtc, function(error){
if(error) return onError(error);
console.log("Loopback established");
});
});
pipeline.create("RtpEndpoint", function(error, rtp){
if(error) return onError(error);
//setIceCandidateCallbacks2(webRtcPeer, rtp, onError)
var cm_offer = "v=0\n" +
"o=- 3641290734 3641290734 IN IP4 127.0.0.1\n" +
"s=nginx\n" +
"c=IN IP4 127.0.0.1\n" +
"t=0 0\n" +
"m=audio 60820 RTP/AVP 0\n" +
"a=rtpmap:0 PCMU/8000\n" +
"a=recvonly\n" +
"m=video 59618 RTP/AVP 101\n" +
"a=rtpmap:101 H264/90000\n" +
"a=recvonly\n";
rtp.processOffer(cm_offer, function(error, cm_sdpAnswer){
if(error) return onError(error);
//webRtcPeer.processAnswer(cm_sdpAnswer, onError);
});
//rtp.gatherCandidates(onError);
webRtcEpt.connect(rtp, function(error){
if(error) return onError(error);
console.log("RTP endpoint connected to webRTC");
});
});
});
});
}
});
stopButton.addEventListener("click", stop);
function stop() {
if (webRtcPeer) {
webRtcPeer.dispose();
webRtcPeer = null;
}
if(pipeline){
pipeline.release();
pipeline = null;
}
hideSpinner(videoInput, videoOutput);
}
function onError(error) {
if(error)
{
console.error(error);
stop();
}
}
})
function showSpinner() {
for (var i = 0; i < arguments.length; i++) {
arguments[i].poster = 'img/transparent-1px.png';
arguments[i].style.background = "center transparent url('img/spinner.gif') no-repeat";
}
}
function hideSpinner() {
for (var i = 0; i < arguments.length; i++) {
arguments[i].src = '';
arguments[i].poster = 'img/webrtc.png';
arguments[i].style.background = '';
}
}
/**
* Lightbox utility (to display media pipeline image in a modal dialog)
*/
$(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
event.preventDefault();
$(this).ekkoLightbox();
}); -
Anomalie #4348 : php 7.4 alpha1
26 août 2019, par Franck DC’est déjà beaucoup plus lisible :)
Il y a pratiquement tout, j’ai pas fait l’ajout de csstidy car il y a une pr en cour, j’ai des log avec simplelog, mais comme il y a des chances que cela soit la même choses qu’avec les tests, je pense que le mieux est de faire par étape...
J’ai un warning si je change l’auteur d’un article
Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\prive\objets\liste\auteurs_fonctions.php on line 117Alors avec les tests unitaires, je trouves aussi ( a voir si ce ne sont pas "juste" les tests) :
introduction.html : erreur est rouge, mais je comprends pas pourquoi, j’ai un article avec un chapeau et article bidon, donc, il devrait être vertcache_sessions.php : erreur (j’ai pas plus d’info)
Echec Assertion inclure/A_session_wo assert_session=1 0.07surl_to_ascii.php : erreur
Deprecated : Array and string offset access syntax with curly braces is deprecated in C :\laragon\www\test3\ecrire\inc\idna_convert.class.php on line 426
Deprecated : Array and string offset access syntax with curly braces is deprecated in C :\laragon\www\test3\ecrire\inc\idna_convert.class.php on line 440
Deprecated : Array and string offset access syntax with curly braces is deprecated in C :\laragon\www\test3\ecrire\inc\idna_convert.class.php on line 867
Deprecated : Array and string offset access syntax with curly braces is deprecated in C :\laragon\www\test3\ecrire\inc\idna_convert.class.php on line 998valider_url_distante.php : erreur
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 113extraire_attribut.php : erreur
Warning : preg_match() : Empty regular expression in C :\laragon\www\test3\ecrire\inc\filtres.php on line 1845
Warning : preg_match() : Empty regular expression in C :\laragon\www\test3\ecrire\inc\filtres.php on line 1845
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 113extraire_balise.php : erreur
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 113form_hidden_arbo.php : erreur
Notice : Trying to access array offset on value of type bool in C :\laragon\www\test3\ecrire\req\mysql.php on line 246
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 113form_hidden_libres.php : erreur et form_hidden_propres.php : erreur et form_hidden_propres_qs.php : erreur
Notice : Trying to access array offset on value of type bool in C :\laragon\www\test3\ecrire\req\mysql.php on line 246spip_htmlentities.php : erreur et spip_htmlspecialchars.php : erreur et filtre_text_csv_dist.php : erreur
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 11300_sql_create_drop_view.php : erreur
Notice : Undefined index : field in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 36
Notice : Undefined index : key in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 37
Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\tests\test.inc on line 83
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 113
Lecture des structures de table en echec10_sql_insert_select.php : erreur
Champ maj sur update
Le champ ’maj’ () n’a vraisemblablement pas recu de timestamp à l’insertion
Le champ ’maj’ () n’a vraisemblablement pas été mis a jour lors de l’update
Le champ ’maj’ () n’a vraisemblablement pas été mis a jour lors de l’updateq
Selections
sql_multi [en] mal rendu : retour : Un debut de chaine : Vinassy, et [la fin], attendu :
sql_multi [de] mal rendu : retour : Un debut de chaine : Vinasse, et [la fin], attendu :
Selections multi tables
selection sur 2 tables avec where en echec : attendu 3 reponses, présentes :30_sql_alter.php : erreur
Notice : Undefined index : field in C :\laragon\www\test3\tests\unit\sql\30_sql_alter.php on line 54
Notice : Trying to access array offset on value of type null in C :\laragon\www\test3\tests\unit\sql\30_sql_alter.php on line 54
Alter : drop column
sql_alter rate DROP COLUMN (plus de table ou sql_showtable en erreur ?)
sql_alter rate DROP sans COLUMN (plus de table ou sql_showtable en erreur ?)
sql_alter rate CHANGE (plus de table ou sql_showtable en erreur ?)
sql_alter rate MODIFY varchar en text :
sql_alter rate ADD COLUMN houba (plus de table ou sql_showtable en erreur ?)
sql_alter rate ADD COLUMN hop AFTER (plus de table ou sql_showtable en erreur ?)
Alter : renomme table
sql_alter rate RENAME table
Alter : index
sql_alter rate DROP INDEX sons (plus de table ou sql_showtable en erreur ?)
sql_alter rate ADD INDEX (wouaf) (plus de table ou sql_showtable en erreur ?)
sql_alter rate ADD INDEX pluie (grrrr) (plus de table ou sql_showtable en erreur ?)
sql_alter rate DROP INDEX pluie (plus de table ou sql_showtable en erreur ?)
sql_alter rate ADD INDEX dring (grrrr, wouaf) (plus de table ou sql_showtable en erreur ?)
Alter : primary key
sql_alter rate DROP PRIMARY KEY (plus de table ou sql_showtable en erreur ?)
sql_alter rate ADD PRIMARY KEY (plus de table)
Alter : multiples
sql_alter rate DROP INDEX dring, DROP COLUMN wouaf, DROP COLUMN grrrr (plus de table ou sql_showtable en erreur ?)
sql_alter rate ADD COLUMN a INT, ADD COLUMN b INT, ADD COLUMN c INT, ADD INDEX abc (a,b,c) (plus de table ou sql_showtable en erreur ?)propre.php : erreur
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 113tw_propre.php : erreur et tw_propre_modeles_block.php : erreur et tw_propre_modeles_inline.php : erreur et tw_propre_typo.php : erreur
Deprecated : join() : Passing glue string after array is deprecated. Swap the parameters in C :\laragon\www\test3\tests\test.inc on line 113barre_outil_markitup.php : erreur
Fail : Test de la classe Barre_outils -> testCreerJson -> Pattern [,["name" :",] not detected in [String : barre_outils_spip = "nameSpace" : "spip", "previewAutoRefresh" : false, "markupSet" : [ "name" : "Transformer enintertitre
", "key" : "H", ...] at [C :\laragon\www\test3\plugins-dist\porte_plume\tests\barre_outil_markitup.php line 267]
Fail : Test de la classe Barre_outils -> testBoutonsDUneLangue -> Pattern [,"lang" :[,] not detected in [String : barre_outils_spip = "nameSpace" : "spip", "previewAutoRefresh" : false, "markupSet" : [ "name" : "test apparaissant si langue est le francais", "className...] at [C :\laragon\www\test3\plugins-dist\porte_plume\tests\barre_outil_markitup.php line 301]
Fail : Test de la classe Barre_outils -> testFonctionsJavacriptDansParametreNeDoitPasEtreEntreguillemetsDansJson -> Pattern [/:function\(/] not detected in [String : barre_outils_spip = "nameSpace" : "spip", "previewAutoRefresh" : false, "markupSet" : [ "name" : "Transformer enintertitre
", "key" : "H", ...] at [C :\laragon\www\test3\plugins-dist\porte_plume\tests\barre_outil_markitup.php line 318]
BOUM !!! - Passes : 68, Failures : 3, Exceptions : 0, Non Applicable : 0 -
Revision 29928 : On réutilise l’ancien code pour débuter notre branche
17 juillet 2009, par kent1@… — LogOn réutilise l’ancien code pour débuter notre branche