
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (73)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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. -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (11011)
-
Having problems compiling ffmpeg for Android
25 mars 2013, par BudiusI'm trying to compile ffmpeg for Android using this guy script (https://github.com/guardianproject/android-ffmpeg) because it looked like the simplest and the whole NDK is really not my area of expertise.
So let's see what I've done so far :
- Downloaded and installed a fresh Ubuntu 12.04 LTS from : http://www.ubuntu.com/download/desktop in a VirtualBox. (had some little problems with video but a few updates later in the terminal ubuntu is up and running)
- installed the Android SDk and downloded/unzipped the NDK into
/Documents/ndk
- I used those commands to install the compiler :
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ gcc -v
$ make -v
- then
sudo install git
(or something like that to install git) - then
git clone https://github.com/guardianproject/android-ffmpeg.git
- then copied from the guys page
building
section cd android-ffmpeg
git submodule init
git submodule update
NDK_BASE=/path/to/android-ndk ./configure_make_everything.sh
it mostly goes well until it says :
arm-linux-androideabi-gcc is unable to create an executable file C
compiler test failedIf you think configure made a mistake,.. blaah blahh blaah
I'm not sure what it means or where to go from here.
from this I did somechmod 777
on the folders to make sure stuff can be execute.also from this I tried his script but without any luck.
help ?
-
Windows - FFmpeg - How to map a jpg file to video stream 0:0 and include only audio stream 0:2 and not stream 0:1 and 0:2 together
21 juin 2020, par slyfox1186I am trying to write a batch script that begins by extracting a thumbnail "Cover.jpg" from an mkv video. My end goal is to have this script recursively loop a folder full of videos to encode them all in one go.



:: create cover art jpg
for %%G in (*.mkv) do (
%FF% -hide_banner -ss 30 -y -i "%%G" -vframes 1 -an Cover.jpg
)




Then I am trying to encode the 4K mkv video that I got the jpg thumbnail from to 1920x1080 resolution instead of it's native 4K to make it easier to play back on my home plex server.



I have surround sound 6 channel speaker system so I want to take audio stream 0:2 which is Dolby DTS 6 channel and save some HDD space by converting it to
-c:a ac3 -b:a 640k -ac 6
.


I have gotten stuck because I can achieve everything I want except I keep encoding 2 of the 4 audio streams available in the end. I only want to keep 1 audio stream to maximize my space savings.



Here is the entire script so far.



@echo off
setlocal enabledelayedexpansion
prompt $g
color 0a

pushd "%~dp0"

set FF=C:\MAB\local64\bin-video\ffmpeg.exe
set TITLE=MOVIETITLE

:: create cover art jpg file
for %%G in (*.mkv) do (
%FF% -hide_banner -ss 30 -y -i "%%G" -vframes 1 -an Cover.jpg
)

:: run ffmpeg x265
for %%I in (*.mkv) do (
set fname="%%~nxI"
set fout="%%~nI-temp.mkv"
call :runff !fname! !fout!
del /s /q *.jpg
pause
goto:eof
)

:runff
%FF% -ss 0 ^
-y ^
-i "%~1" ^
-attach "Cover.jpg" ^
-map_metadata 0 ^
-map_chapters 0 ^
-metadata title="%TITLE%" ^
-map 0:0 -metadata:s:v:0 language=eng ^
-map 0:2 -metadata:s:a:0 language=eng -metadata:s:a:0 title="Surround 5.1 (DTS)" ^
-map 0:3 -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" -metadata:s:t:0 filename="Cover.jpg" -metadata:s:t:0 mimetype="image/jpeg" ^
-c:v libx265 -preset medium ^
-x265-params crf=18:qcomp=0.8:aq-mode=1:aq_strength=1.0:qg-size=16:psy-rd=0.7:psy-rdoq=5.0:rdoq-level=1:merange=44 ^
-c:a ac3 -b:a 640k -ac 6 ^
-t 3 ^
"%~2"
exit /b




Here are the output logs.
https://pastebin.com/hVMy3VJW



You can see towards the bottom that it is encoding both audio streams.



Any ideas guys ?


-
Not able to do live video streaming in golang iris web framework and Html
31 janvier 2017, par Avinash LakheraI am trying to create live streaming functionality using golang iris web framework, Html ffmpeg and rtmp. The user will stream from the webcamera and in golang it should create the live streaming.
socket.On("start", func(m string) {
if ffmpegProcess != nil || feedStream == true {
socket.Emit("fatal", "stream already started.")
return
}
if rtmpDestination == "" {
socket.Emit("fatal", "no destination given.")
return
}
ffmpegProcess = exec.Command("ffmpeg", "-vcodec", vcodec, "-i", "-",
"-c:v", "libx264", "-preset", "veryfast", "-tune", "zerolatency",
"-an",
"-bufsize", "1000",
"-f", "flv", rtmpDestination)
ffmpegIn, _ = ffmpegProcess.StdinPipe()
ffmpegOut, _ = ffmpegProcess.StdoutPipe()
// ffmpegProcess.Start()
})
socket.On("binarystream", func(m interface{}) {
log.Info("binarystream")
f := m.(map[string]interface{})
var buf bytes.Buffer
enc := gob.NewEncoder(&buf)
err := enc.Encode(f)
if err != nil {
log.Error("Error")
}
bytedata := buf.Bytes()
go func() {
log.Info("Started")
ffmpegProcess.Stdin.Read(bytedata)
ffmpegProcess.Stdout.Write(bytedata)
log.Info("Completed")
}()
})Above is my golang code
function onSuccess(stream) {
video_show(stream);//only show locally, not remotely
socket.Emit("config_rtmpDestination", url);
socket.Emit("start", 'start');
mediaRecorder = new MediaRecorder(stream);
mediaRecorder.start(2000);
mediaRecorder.onstop = function (e) {
stream.stop();
}
mediaRecorder.ondataavailable = function (e) {
socket.Emit("binarystream", e.data);
//chunks.push(e.data);
}
}above javascript method is my client side code. "binarystream" is emitting the webcamera data to server but in server I think I have written some wrong as I am new to golang can you guys help me out
Thanks