
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (76)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (9425)
-
Pyinstaller exe works halfway on another computer
21 octobre 2022, par At BayI created an exe using pyinstaller. I did this by doing the following :


pyinstaller cliptranscript.py



When I run it on another computer, it's works partially. The code starts by asking the user for some arguments, after those inputs I get this error :


Enter directory of wav files: C:\Users\myname\Downloads\
Enter clip start (seconds): 0
Enter desired clip length (seconds): 5
Traceback (most recent call last):
 File "cliptranscript.py", line 134, in <module>
 File "cliptranscript.py", line 47, in ffmpeg
 File "subprocess.py", line 503, in run
 File "subprocess.py", line 971, in __init__
 File "subprocess.py", line 1440, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
[13304] Failed to execute script 'cliptranscript' due to unhandled exception!
</module>


I'm using ffmpeg and the libraries os, subprocess, datetime, speech_recognition, and xlsx writer.


-
Receive rtp (opus) stream from ffmpeg on other computer with VLC
27 juin 2015, par 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
-
%a and %%a suddenly don't work in Win 10 cmd and batch file respectively ?
14 janvier 2017, par cobaltB12I was trying to batch convert a folder of .flac to .mp3 using FFMPEG, but when i ran my batch file I got the "%F is unexpected at this time" error, even though i used "%%F" in the batch file. To test what was really the problem, i proceeded to type variations of %F into cmd directly, but could not get it to work either. Did something change in windows 10 regarding the use of variable names in the for loop ?
cmd commands I tried :
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%F" in (*.flac) echo %F
"%F" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for %F in (*.flac) echo %F
echo was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%%F" in (*.flac) echo %%F
"%%F" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%f" in (*.flac) echo %f
"%f" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%g" in (*.flac) echo %g
"%g" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%g" in ("*.*") echo %g
"%g" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%g" in ("*.*") do echo %g
"%g" was unexpected at this time.original batch file for FFMPEG
cd "\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy"
echo in directory "%cd%"
pause
for "%%F" in ("*.flac") do (
echo converting "%%F"
"C:\Users\yt\Downloads\OtherApps\FFMPEG\bin\ffmpeg.exe" -i "%%F" -codec:a libmp3lame -qscale:a 2 "%%~nF.mp3"
echo del "%%F"
)
cd "%~dp0"