
Recherche avancée
Autres articles (18)
-
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (4869)
-
tests/fate/hevc : add a test for selecting view by position
13 septembre 2024, par Anton Khirnov -
Pack ffmpeg executable insde myProject's executable to run
8 décembre 2023, par zurTLDR ;


I would like to pack the
ffmpeg
executable inside my own executable. Currently I am getting

FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
Skipping ./testFile202312061352.mp4 due to FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'



Details :


I am creating executable file using following command :


pyinstaller cli.py \
 --onefile \
 --add-binary /Users/<machineuser>/anaconda3/envs/my_env/bin/ffmpeg:bin
</machineuser>


The code that uses
ffmpeg
is not authored by me. And I would like to keep that part the same. I hope that when I run from command line whileconda
environment is active I can successfully run it aspython
(or perhapsanaconda
) knows where the binaries are. May be there is some environment variable that is pointing to/Users/<machineuser>/anaconda3/envs/my_env/bin/</machineuser>
I have a pretty emptycli.py
. That seems to be the entry point and I hope if it is possible I can set thebin
directory's path there ...

I am able to successfully run the application like following :


(my_env) machineUser folder % "dist/cli_mac_001202312051431" ./testFile202312061352.mp4



I would like to run like following :


(base) machineUser folder % "dist/cli_mac_001202312051431" ./testFile202312061352.mp4



I would like to keep the world out side my executable's tmp folder the same. I would not want to change something that will be "left behind" after the exec is terminated.


Question :


Can some one please mention how to modify the
pyinstaller
command or what to change incli.py
to achieve it successfully ?

-
Live streaming multiple bitrates with FFmpeg and node.js
14 juillet 2014, par user2757842I am looking for an efficient way of transcoding a live stream and breaking it up into different bit rates, I have it working as of now but I have to state each time which video I would like to address as well as each different bit rate, example below :
var spawn = require('child_process').spawn;
/*
var ffmpeg = spawn('C:\\Users\\Jay\\Documents\\FFMPEG\\bin\\ffmpeg.exe', [
'-i',
'rtmp://192.168.201.8/livepkgr/livestream2 live=1',
'-movflags',
'isml+frag_keyframe',
'-f',
'ismv',
'http://192.168.201.237/LiveSmoothStreaming.isml/Streams(video2)'
]);
*/
var ffmpeg = spawn('C:\\Users\\Jay\\Documents\\FFMPEG\\bin\\ffmpeg.exe', [
'-i',
'rtmp://192.168.201.8/livepkgr/livestream live=1',
'-ac',
'2',
'-b:a',
'64k',
'-c:v',
'libx264',
'-b:v:0',
'150k' /* first bit rate i want */ ,
'-movflags',
'isml+frag_keyframe',
'-f',
'ismv',
'http://192.168.201.237/LiveSmoothStreaming2.isml/Streams(video1)',
'-c:v',
'libx264',
'-b:v:0',
'500k' /* second bit rate i want */ ,
'-movflags',
'isml+frag_keyframe',
'-f',
'ismv',
'http://192.168.201.237/LiveSmoothStreaming2.isml/Streams(video3)'
]);As you can see, this is not a very efficient way of doing it as this is only for 2 bit rates, I have to give a video name (video1, video 3 etc) each time I want a new bit rate and then I have to give it it’s bit rate (150k, 500k etc). If I wanted anymore bitrates, the code lines would go on and on and it would quickly become messy.
Has anyone worked within the world of Node.js and FFmpeg that could maybe point me in the direction of managing this more efficiently ? Or even link me to a page which would help me out ?
Cheers