
Recherche avancée
Autres articles (36)
-
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
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" ; -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (4746)
-
Can't publish stream on Wowza Streaming engine. Server creates and immediately destroy stream
1er novembre 2016, par user2365252I have set up the Wowza Streaming Engine on the AWS with application name "live". I have opened all necessary ports for the Wowza on the AWS to receive and re transmit the video stream.
I am taking stream from NVR in the LAN and publishing the video stream from Ubuntu machine using FFMPEG with below command on to Wowza Server.
ffmpeg -v debug -i "rtsp://888888:888888@192.168.1.5:554/cam/realmonitor?channel=1&subtype=1" -acodec copy -vcodec copy -sn -f flv "rtmp://xx.xx.xx.xx:1935/live/channel1 live=true pubUser=un pubPasswd=pw"
It gives me following error after around 60 secs on the terminal.
Successfully parsed a group of options.
Opening an output file: rtmp://xx.xx.xx.xx:1935/live/channel1 live=true pubUser=un pubPasswd=pw.
Parsing...
Parsed protocol: 0
Parsed host : xx.xx.xx.xx
Parsed app : live
RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
rtmp://xx.xx.xx.xx:1935/live/channel1 live=true pubUser=un pubPasswd=pw: Unknown error occurredSo, I checked the Wowza server log for any clue and I found this.
2016-09-27 08:22:31 UTC comment server INFO 200 - MediaCasterStreamValidator.init[live/_definst_]: Started
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: AllowedEncoders: securityPublishValidEncoders:Wirecast/|FME/|FMLE/|Wowza GoCoder*|Lavf/|UA Teradek/|KulaByte/|VidBlaster/|XSplit/|PESA
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: block duplicate stream names : false
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: RTMP Authorization: password file:/usr/local/WowzaStreamingEngine/conf/publish.password
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Play: SecureConnection: securityPlayRequireSecureConnection:false
2016-09-27 08:22:31 UTC comment server INFO 200 - ModuleCoreSecurity.onAppStart[live/_definst_]: Play: securitySecureTokenVersion property is missing, using SecureToken Version 1, play security enabled for RTMP only
2016-09-27 08:22:31 UTC app-start application INFO 200 _definst_ live/_definst_
2016-09-27 08:22:31 UTC connect-pending session INFO 100 <incomming ip="ip"> - _defaultVHost_ live _definst_ 2.975 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming ip="ip">` rtmp - unknown 1873157588 3178 3073 - - - - - - - - - - - - - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:31 UTC connect session INFO 200 <incomming ip="ip"> - _defaultVHost_ live _definst_ 2.975 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming ip="ip"> rtmp - unknown 1873157588 3178 3073 - - - - - - - - - - - - - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:32 UTC create stream INFO 200 - - _defaultVHost_ live _definst_ 0.0 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming ip="ip"> rtmp - unknown 1873157588 3297 3565 1 0 0 0 - - - - - - rtmp://xx.xx.xx.xx:1935/live rtmp://xx.xx.xx.xx:1935/live - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:33 UTC destroy stream INFO 200 - - _defaultVHost_ live _definst_ 1.644 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming ip="ip"> rtmp - unknown 1873157588 3347 3796 1 0 0 0 - - - - - - rtmp://xx.xx.xx.xx:1935/live rtmp://xx.xx.xx.xx:1935/live - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:22:33 UTC disconnect session INFO 200 1873157588 - _defaultVHost_ live _definst_ 5.198 [any] 1935 rtmp://xx.xx.xx.xx:1935/live <incomming ip="ip"> rtmp - unknown 1873157588 3347 3796 - - - - - - - - - - - - - rtmp://xx.xx.xx.xx:1935/live -
2016-09-27 08:23:34 UTC app-stop application INFO 200 _definst_ live/_definst_
</incomming></incomming></incomming></incomming></incomming></incomming></incomming>So basically the server authentication is done correct but server starts the stream and stops immediately.
Can anyone please give me some pointer to look for this error ?
-
Cannot retrieve native file ffmpeg-amd64.exe
26 septembre 2016, par Sagor AhmedI am trying to convert video to audio . That is why , I am using the following code :
File source = new File("E:\\Shunno - Khachar Bhitor Ochin Pakhi.mp4");
File target = new File("E:\\output.mp3");
AudioAttributes audio = new AudioAttributes();
audio.setCodec("libmp3lame");
audio.setBitRate(new Integer(128000));
audio.setChannels(new Integer(2));
audio.setSamplingRate(new Integer(44100));
EncodingAttributes attrs = new EncodingAttributes();
attrs.setFormat("mp3");
attrs.setAudioAttributes(audio);
Encoder encoder = new Encoder();
try
{
encoder.encode(source, target, attrs);
}
catch (IllegalArgumentException | EncoderException e)
{
}But I am getting the following error :
Sep 26, 2016 11:28:29 AM it.sauronsoftware.jave.DefaultFFMPEGLocator copyFile
SEVERE: Could not get native library for ffmpeg-amd64.exe
Exception in thread "main" java.lang.RuntimeException: Cannot retrieve native file ffmpeg-amd64.exe
at it.sauronsoftware.jave.DefaultFFMPEGLocator.copyFile(DefaultFFMPEGLocator.java:139)
at it.sauronsoftware.jave.DefaultFFMPEGLocator.<init>(DefaultFFMPEGLocator.java:80)
at it.sauronsoftware.jave.Encoder.<init>(Encoder.java:105)
at Convert.main(Convert.java:29)
</init></init>How can I solve this error ? Please help me .
-
Nuxeo video conversion issue
14 septembre 2016, par pradeep gowdaI am new to nuxeo. Let me describe.
Description :
1. Nuxeo requires external service ffmpeg to convert video in to different formats[mp4,webm etc...]
2. ffmpeg is installed
3. Problem in Video conversionIf i start nuxeo as below
Path= $NUXEO_HOME/bin
./nuxeoctl startNo issues, Works fine.
But i am facing issue in video conversion when i start nuxeo as daemon service.
service nuxeo start
Below is my Bash Script :
#!/bin/sh
### BEGIN INIT INFO
# Provides: nuxeo
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/stop Nuxeo
# Description: Start/stop Nuxeo
### END INIT INFO
DESC="Nuxeo"
NUXEOCTL="/opt/cisco/nuxeo-cap-7.10-tomcat/bin/nuxeoctl"
NUXEO_CONF="/var/lib/nuxeo/conf/nuxeo.conf"
export NUXEO_CONF
function start() {
echo $$ > /var/run/nuxeo.pid
exec $NUXEOCTL --quiet startbg
}
function stop() {
$NUXEOCTL --quiet stop
/bin/rm /var/run/nuxeo.pid
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
$NUXEOCTL --quiet restart
;;
force-reload)
$NUXEOCTL --quiet restart
;;
status)
$NUXEOCTL --quiet status
;;
showconf)
$NUXEOCTL --xml showconf
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload|status|showconf}" >&2
exit 3
;;
esacI am getting following error. when i try to upload video.
2016 - 09 - 14 05: 49: 01, 943 ERROR[Nuxeo - Work - videoConversion - 2][org.nuxeo.ecm.core.work.AbstractWork] Exception during work: VideoConversionWork(9596ea87 - 43dd - 4ba8 - b691 - 6e519a7eccfb, /videoAutomaticConversions:138979904092822.1006934040, Progress(?%, ?/0), Transcoding)
org.nuxeo.ecm.core.convert.api.ConverterNotAvailable: Converter convertToWebM is not available
at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java: 178)
at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java: 175)
at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java: 100)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java: 340)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java: 301)
at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java: 272)
at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java: 52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 617)
at java.lang.Thread.run(Thread.java: 745)I don’t know why. I am behind this issue but still i am not able find solution for this .