
Recherche avancée
Autres articles (48)
-
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8205)
-
Stripping out non-English streams in ffmpeg
2 septembre 2021, par Dennis Q. WilsonI have many MKV files containing audio and subtitle streams in multiple languages, and I want to strip out the non-English ones. To the best of my understanding, the command below should achieve this, except it copies only the first English-language audio and subtitle stream it encounters, ignoring any subsequent streams containing audio commentary and the like. What am I doing wrong ?


ffmpeg.exe -i INPUT.mkv -map 0:v:0 -map -0:a -map 0:a:m:language:eng -map -0:s -map 0:a:s:language:eng -c copy OUTPUT.mkv


-
How to downloaded embedded videos on Instagram that have multiple media network requests ? (ffmpeg / curl)
21 octobre 2022, par flhuI was wondering whether it is still possible to download the stories on Instagram that have multiple media network requests nowadays. Previously, I could simply download them using the Firefox Media Page Info View. This is still possible for some content such as reels or by using ffmpeg / curl. I have posted the network behaviour when I load a story on Instagram and a Reel on Instagram. I could not figure out which of the network requests is the relevant one (assuming it is the request with the biggest size) and when downloading it, the VLC player does not recognise the video.


Instagram Reel Network Request


Instagram Stories Network Request


When using the Firefox Media Page Info View, it is possible to download the content from the reel directly whereas the mp4 media file is greyed out.


I tried to copy the URL from the network request using :


ffmpeg -i -c copy 



Copying the corresponding curl request but also only works for the Reel where the HTTP response status codes is 206 (Reel) instead of 200 (Story).


-
Problem in access "libavcodec/avcodec.h" in CPP [duplicate]
14 septembre 2021, par SujayNote : Not full working code but part of the code.
Problem is when trying to compile it shows the below output.
FFMPEG have installed.
No flag in VS code but error occurred on compile time.
Thanks in Advance.


#include<bits></bits>stdc++.h>
#include<opencv2></opencv2>opencv.hpp>

extern "C" {
 #include "libavcodec/avcodec.h"
 #include "libavformat/avformat.h"
 #include "libavutil/mathematics.h"
 #include "libavutil/pixfmt.h"
 #include "libswscale/swscale.h"
}

using namespace std;
using namespace cv;

int main(){



 AVPacket avpkt; int err, frame_decoded = 0;
 AVCodec *codec = avcodec_find_decoder ( AV_CODEC_ID_H264 );
 AVCodecContext *codecCtx = avcodec_alloc_context3 ( codec );
 avcodec_open2 ( codecCtx, codec, NULL );
 // Set avpkt data and size here
 // err = avcodec_decode_video2 ( codecCtx, avframe, &frame_decoded, &avpkt );
 return EXIT_SUCCESS;
}




Output :


h264.cpp:(.text+0x15): undefined reference to `avcodec_find_decoder'
h264.cpp:(.text+0x25): undefined reference to `avcodec_alloc_context3'
h264.cpp:(.text+0x41): undefined reference to `avcodec_open2'
collect2: error: ld returned 1 exit status