
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (67)
-
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 -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9593)
-
How to configure rtsp relay from internal to external network ?
27 mars 2020, par MagiHow to correctly compose a command for relaying a video stream to rtsp from an ip camera from an internal network through a server with vlc.
Ip-camera -> ubuntu server -> client with vlc
Url video-stream from ip-camera rtsp ://admin:admin123@10.148.21.190:554/cam/realmonitor ?channel=1&subtype=0&unicast=true&proto=Onvif
Command on server :
cvlc -d rtsp://admin:admin@10.148.21.190:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif --loop --repeat --sout-keep "#rtp{sdp=rtsp://xxx.xxx.xxx.xxx:8080/test.sdp}";
xxx.xxx.xxx.xxx - external server ip.
On vlc enter rtsp ://xxx.xxx.xxx.xxx:8080/test.sdp - broadcast is not going. There are no errors, the log is empty.
With ffmpeg :
ffmpeg -i 'rtsp://onvif:admin2017@10.148.21.190:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif' -f rtsp -rtsp_transport tcp rtsp://xxx.xxx.xxx.xxx;
Input #0, rtsp, from 'rtsp://onvif:admin2017@10.148.21.190:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif':
Metadata:
title : Media Server
Duration: N/A, start: 0.320000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1: Data: none
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[swscaler @ 0x55ae26500a80] deprecated pixel format used, make sure you did set range correctly
[tcp @ 0x55ae26aa3ec0] Connection to tcp://xxx.xxx.xxx.xxx:554?timeout=0 failed: Connection refused
Could not write header for output file #0 (incorrect codec parameters ?): Connection refused
Error initializing output stream 0:0 --
Conversion failed!In /etc/ffserver.conf ACL allow localhost xxx.xxx.xxx.xxx
-
ffmpeg FLV to FLV conversion fails [closed]
8 décembre 2016, par leonI am using ClipBucket. I have set up ffmpeg, and I can convert AVI, WMV files to FLV video files without any problem, but now I am trying to convert a FLV video file to FLV video file with different video quality.
However, there is an error in the conversion. Can someone help me please ?
Logs :
Preparing file...
Unknown file details - Unable to get video details using FFMPEG
Converting Video
Conversion Command : /usr/local/bin/ffmpeg -i /home/myspace86/myspace86.com/files/conversion_queue/136667418894906.flv -f flv -vcodec libx264 -r 30 -vf 'movie=/home/myspace86/public_html/player_logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]' -ab 320000 /home/myspace86/myspace86.com/files/videos/136667418894906.flv 2> /home/myspace86/myspace86.com/files/temp/136667424191b8e.tmpConversion Details
ffmpeg version N-52385-g6d7ec4f Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 22 2013 16:08:27 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)
configuration: --prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libx264 --enable-libxvid
libavutil 52. 27.100 / 52. 27.100
libavcodec 55. 5.100 / 55. 5.100
libavformat 55. 3.100 / 55. 3.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 60.101 / 3. 60.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, flv, from '/home/myspace86/myspace86.com/files/conversion_queue/136667418894906.flv':
Metadata:
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : false
datasize : 40992128
videosize : 37546219
audiosize : 3247153
lasttimestamp : 728
lastkeyframetimestamp: 727
lastkeyframelocation: 40978250
Duration: 00:12:08.16, start: 0.000000, bitrate: 450 kb/s
Stream #0:0: Video: vp6f, yuv420p, 648x459, 409 kb/s, 29.97 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 32 kb/s
[libx264 @ 0x146d900] height not divisible by 2 (648x459)
Output #0, flv, to '/home/myspace86/myspace86.com/files/videos/136667418894906.flv':
Metadata:
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : false
datasize : 40992128
videosize : 37546219
audiosize : 3247153
lasttimestamp : 728
lastkeyframetimestamp: 727
lastkeyframelocation: 40978250
Stream #0:0: Video: h264, yuv420p, 648x459, q=-1--1, 90k tbn, 30 tbc
Stream #0:1: Audio: none, 22050 Hz, mono, s16p
Stream mapping:
Stream #0:0 -> #0:0 (vp6f -> libx264)
Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Unknown file details - Unable to get output video details using FFMPEG
Time Took : 0.3056 seconds
conversion_status : completed -
Why does my ffmpeg command fails from python subprocess ? [closed]
23 mars 2024, par haggi kreyI want to concat two movies with ffmpeg. In the shell I can execute this :

\\programs\2d\ffmpeg\inst\ffmpeg.bat -y -i "concat:C:/daten/movieA.ts1|C:/daten/movieB.ts2" -c copy -bsf:a aac_adtstoasc C:/daten/movieConcat.mov
and it works fine. If I try to call it from a python subprocess :

import subprocess
cmd = [r"\\programs\2d\ffmpeg\inst\ffmpeg.bat", "-i", '"concat:C:/daten/movieA.ts1|C:/daten/movieB.ts2"', "-c", "copy", "-bsf:a aac_adtstoasc", "C:/daten/movieConcat.mov"]
result = subprocess.run(cmd, shell=True, capture_output=True, text=True)
if result.returncode > 0:
 print("create concat failed")
print(result.stdout)
print(result.stderr)



I get this error :


Trailing option(s) found in the command: may be ignored.
[in#0 @ 00000222c056a1c0] Error opening input: Invalid argument
Error opening input file "concat:C:/daten/movieA.ts1|C:/daten/movieB.ts2".
Error opening input files: Invalid argument



I have no idea what's wrong with my call and I'd appreciate any hints.