
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (58)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (6031)
-
FFMPEG HLS video can't play
4 mai 2019, par John DoeI’m using ffmpeg to convert mp4 video to HLS but just copy codec without re-encoding and a lot of video having problem when playing with JWPlayer
First i make a loop to find best segment duration from 15 down to 1, do it over again couple times (480p, 720p, 1080p)
ffmpeg -i in.mp4 -codec copy -bsf:v h264_mp4toannexb -f hls -hls_list_size 0 -hls_time $second out.m3u8
If largest segment length is smaller than 10MB then break loop and using single segment option
ffmpeg -i in.mp4 -f hls -hls_time $second_return_from_loop -hls_list_size 0 -hls_flags single_file -codec copy -bsf:v h264_mp4toannexb out.m3u8
Generate master playlist with info (bitrate, width x height) getting from ffprobe command
ffprobe -i in.mp4 -v quiet -print_format json -show_format -show_streams
Is there something wrong with my command because sometime video got freeze but sound still playing or break on seeking, this’s my first time working with ffmpeg, really appreciate your help
UPDATED : It was error on my proxy streaming source code not ffmpeg
-
FFMPEG gets in never ending condition while live streaming on YouTube
17 avril 2019, par Nayan KatkaniI have been working in AS3 to stream 1080P video on YouTube and video gets start uploading and almost 4-5 minutes of the video has been uploaded successfully and afterwards YouTube shows that stream has been ended, but FFMPEG will never hits on "Exit" or any other method even after waiting for next 10 minutes.
Below is the method I am using.
public var _nativeProcessStartupInfo:NativeProcessStartupInfo;
public var _processArgs:Vector.<string>;
public var _process:NativeProcess;
protected function StartVideo_clickHandler(event:MouseEvent):void
{
_nativeProcessStartupInfo.executable = File.applicationStorageDirectory.resolvePath("ffmpeg.exe Path");
_processArgs.push('-re');
_processArgs.push('-i');
_processArgs.push(VideoPath);
_processArgs.push('-vcodec');
_processArgs.push('copy');
_processArgs.push('-acodec');
_processArgs.push('copy');
_processArgs.push('-maxrate');
_processArgs.push('4500k');
_processArgs.push('-bufsize');
_processArgs.push('9000k');
_processArgs.push('-pix_fmt');
_processArgs.push('yuv422p');
_processArgs.push('-preset');
_processArgs.push('fast');
_processArgs.push('-ac');
_processArgs.push('2');
_processArgs.push('-r');
_processArgs.push('30');
_processArgs.push('-g');
_processArgs.push('60');
_processArgs.push('-ar');
_processArgs.push('44100');
_processArgs.push('-f');
_processArgs.push('flv');
_processArgs.push(streamurl+'/'+streamname);
_nativeProcessStartupInfo.arguments = _processArgs;
_process = new NativeProcess();
_process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
_process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA, progress);
_process.addEventListener(NativeProcessExitEvent.EXIT, onExit);
_process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR, onIOErrorNativeProcess);
_process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOErrorNativeProcess);
_process.start(_nativeProcessStartupInfo);
}
public function onIOErrorNativeProcess(event:IOErrorEvent):void
{
trace(event.toString());
}
public function onOutputData(event:ProgressEvent):void
{
trace("Got: ", _process.standardOutput.readUTFBytes(_process.standardOutput.bytesAvailable));
}
public function progress(e:ProgressEvent):void
{
trace(e);
}
public function onExit(e:NativeProcessExitEvent):void
{
trace(e);
}
</string>I have tried with 720P video too by changing bit rate from 4500k to 2500k which is as per YouTube and it is working fine but with 1080P something not went as per expectation.
Here are the video details :
Resolution : 1920*1080
Data Rate : 3220kbps
FrameRate : 20
Thanks in advance
-
Package not found - add libav to PKG_CONFIG_PATH environment variable
19 mars 2019, par Brayton LarsonI am attempting to build the Parrot SDK and when running the command it continuously fails due to multiple libav package variants not being found. Below is the error message.
user@TheMysteriousMachine : /WORKING_DIRECTORY$ ./build.sh -p arsdk-native -t build-sdk -j [I] Starting task 'build-sdk' [I] In '/home/user/WORKING_DIRECTORY' : ALCHEMY_TARGET_CONFIG_DIR="/home/user/WORKING_DIRECTORY/products/arsdk /native/config" ALCHEMY_TARGET_OUT="/home/user/WORKING_DIRECTORY/out/arsdk-native" ALCHEMY_TARGET_PRODUCT="arsdk" ALCHEMY_TARGET_PRODUCT_VARIANT="native" ALCHEMY_TARGET_SCAN_ADD_DIRS=" /home/user/WORKING_DIRECTORY/packages" ALCHEMY_TARGET_SCAN_PRUNE_DIRS=" /home/user/WORKING_DIRECTORY" ALCHEMY_USE_COLORS="1" ALCHEMY_WORKSPACE_DIR="/home/user/WORKING_DIRECTORY" PARROT_BUILD_PROP_GROUP="drones" PARROT_BUILD_PROP_PRODUCT="arsdk" PARROT_BUILD_PROP_PROJECT="arsdk" PARROT_BUILD_PROP_UID="arsdk-native-20190316-1404-0.0.0" PARROT_BUILD_PROP_VARIANT="native" PARROT_BUILD_PROP_VERSION="0.0.0" /home/user/WORKING_DIRECTORY/build/alchemy/scripts/alchemake -j 8 all ---------------------------------------------------------------------- + ALCHEMY_WORKSPACE_DIR = /home/user /WORKING_DIRECTORY + TARGET_PRODUCT = arsdk + TARGET_PRODUCT_VARIANT = native + TARGET_OS = linux + TARGET_OS_FLAVOUR = native + TARGET_LIBC = native + TARGET_ARCH = x64 + TARGET_CPU = + TARGET_OUT = /home/user/WORKING_DIRECTORY/out/arsdk-native + TARGET_CONFIG_DIR = /home/user/WORKING_DIRECTORY /products/arsdk/native/config + TARGET_CC_PATH = /usr/bin/cc + TARGET_CC_VERSION = 7 ---------------------------------------------------------------------- Scanning /home/user/WORKING_DIRECTORY/packages for makefiles... Found 44 makefiles Prebuilt module ncurses marked as overriden Prebuilt module ncurses marked as overriden Package libavcodec was not found in the pkg-config search path. Perhaps you should add the directory containing
libavcodec.pc&apos;
to the PKG_CONFIG_PATH environment variable
No package &apos;libavcodec&apos; found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containinglibavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libswscale was not found in the pkg-config search path.
Perhaps you should add the directory containinglibswscale.pc&apos;
to the PKG_CONFIG_PATH environment variable
No package &apos;libswscale&apos; found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containinglibavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containinglibavcodec.pc&apos;
to the PKG_CONFIG_PATH environment variable
No package &apos;libavcodec&apos; found
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containinglibavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
Package libswscale was not found in the pkg-config search path.
Perhaps you should add the directory containinglibswscale.pc&apos;
to the PKG_CONFIG_PATH environment variable
No package &apos;libswscale&apos; found
Package libavutil was not found in the pkg-config search path.
Perhaps you should add the directory containinglibavutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavutil' found
Found 96 modules
Computing modules dependencies...
Checking modules dependencies...
/home/user/WORKING_DIRECTORY/build/alchemy/main.mk:360 : *** /home/user /WORKING_DIRECTORY/packages/libARDiscovery : module 'libARDiscovery' depends on unknown module 'avahi'. Stop.
[E] Task 'build-sdk' failed (Command failed (returncode=2))As I understand it libav has been replaced by ffmpeg but the build should still be able to reference the packages as libav. I’ve tried adding different paths to PKG_CONFIG_PATH using `export PKG_CONFIG_PATH=...’ but with no success. It is possible I’m not adding the correct path, I used ’dpkg -L ffmpeg’ to locate the package. The output of that is :
user@TheMysteriousMachine : $ dpkg -L ffmpeg /. /etc /etc/ffserver.conf /usr /usr/bin /usr/bin/ffmpeg /usr/bin/ffplay /usr/bin/ffprobe /usr/bin/ffserver /usr/bin/qt-faststart /usr/share /usr/share/doc /usr/share/doc/ffmpeg /usr/share/doc/ffmpeg/RELEASE_NOTES /usr/share/doc/ffmpeg/copyright /usr/share/ffmpeg /usr/share/ffmpeg/libvpx-1080p.ffpreset /usr/share/ffmpeg/libvpx-1080p50_60.ffpreset /usr/share/ffmpeg/libvpx-360p.ffpreset /usr/share/ffmpeg/libvpx-720p.ffpreset /usr/share/ffmpeg/libvpx-720p50_60.ffpreset /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/ffmpeg /usr/share/man /usr/share/man/man1 /usr/share/man/man1/ffmpeg-all.1.gz /usr/share/man/man1/ffmpeg-bitstream-filters.1.gz /usr/share/man/man1/ffmpeg-codecs.1.gz /usr/share/man/man1/ffmpeg-devices.1.gz /usr/share/man/man1/ffmpeg-filters.1.gz /usr/share/man/man1/ffmpeg-formats.1.gz /usr/share/man/man1/ffmpeg-protocols.1.gz /usr/share/man/man1/ffmpeg-resampler.1.gz /usr/share/man/man1/ffmpeg-scaler.1.gz /usr/share/man/man1/ffmpeg-utils.1.gz /usr/share/man/man1/ffmpeg.1.gz /usr/share/man/man1/ffplay-all.1.gz /usr/share/man/man1/ffplay.1.gz /usr/share/man/man1/ffprobe-all.1.gz /usr/share/man/man1/ffprobe.1.gz /usr/share/man/man1/ffserver-all.1.gz /usr/share/man/man1/ffserver.1.gz /usr/share/man/man1/qt-faststart.1.gz /usr/share/doc/ffmpeg/changelog.Debian.gz
...of which I can assume the useful part is ’/usr/bin’ which i added to my PKG_CONFIG_PATH and still the same error when building. I am running Ubuntu 18.04 LTS. I’m at a loss and have been grinding at this for the past 2 days, any help would be GREATLY appreciated. Thank you and I’m happy to provide more needed information. As a small request, I am pretty new to Linux so if you could include as many details in command line operations as possible it would help alot.