
Recherche avancée
Autres articles (47)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (7766)
-
no access to m3u8 when using ffmpeg [closed]
7 octobre 2023, par asdI have a code that allows me to download videos from
.m3u8
, but for some reason it hasn't worked since yesterday

ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" -headers "Referer: https://upstream.to/" -i "https://s92.upstreamcdn.co/hls2/01/03509/wc3i5yhdfgyk_o/master.m3u8?t=M9p8oTpo_LgYLnh2Ay4UEOT6Szltp5vGepiZ09ZjnFo&s=1696668614&e=10800&f=17548793&i=169.150&sp=0" -c copy -bsf:a aac_adtstoasc "name.mp4"



what can I do to make it similar to the upstream task which looks like this


Request URL:https://s92.upstreamcdn.co/hls2/01/03509/wc3i5yhdfgyk_o/master.m3u8?t=M9p8oTpo_LgYLnh2Ay4UEOT6Szltp5vGepiZ09ZjnFo&s=1696668614&e=10800&f=17548793&i=169.150&sp=0
Request Method: GET
Status Code: 200 OK
Remote Address: 164.132.163.19:443
Referrer Policy: strict-origin-when-cross-origin
Access-Control-Allow-Origin: *
Cache-Control: max-age=8640000
Cache-Control: public, no-transform
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/vnd.apple.mpegurl
Date: Sat, 07 Oct 2023 08:50:16 GMT
Expires: Mon, 15 Jan 2024 08:50:16 GMT
Last-Modified: Sat, 07 Oct 2023 08:50:16 GMT
Server: nginx

Transfer-Encoding:chunked
Accept:*/*
Accept-Encoding:gzip, deflate, br
Accept-Language:pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7
Connection:keep-alive
Host:s92.upstreamcdn.co
Origin:https://upstream.to
Referer:https://upstream.to/
Sec-Ch-Ua:"Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"
Sec-Ch-Ua-Mobile:?0
Sec-Ch-Ua-Platform:"Windows"
Sec-Fetch-Dest:empty
Sec-Fetch-Mode:cors
Sec-Fetch-Site:cross-site
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36



-
Use data to develop impactful video content
28 septembre 2021, par Ben Erskine — Analytics Tips, Plugins -
Why does my code get a segmentation fault [on hold]
29 août 2019, par BrettIm learning c++ and for the first time im trying to use the ffmpeg libraries. I have finally linked the libraries with and executable but not matter what I’ve tried i’m getting the same results. im brand new to this and have missed something obvious, maybe. so here firstly is my results.
when i stepped through i saw this firstly
A soon as it reaches the first if statment it has a segmentation falt.
Im using visual studio in a linux machine.
Here is the code.#include
#include <iostream>
extern "C"
{
#include <libavformat></libavformat>avformat.h>
#include <libavcodec></libavcodec>avcodec.h>
#include <libavutil></libavutil>dict.h>
}
using namespace std;
int main()
{
char filename[] = "superstition.mp4";
AVCodec *codec;
AVFormatContext *fmt_ctx;
AVCodecContext *codec_ctx;
int ret;
int VideoStreamIndex = -1;
if ((ret = avformat_open_input(&fmt_ctx, filename, NULL, NULL))){
av_log(NULL, AV_LOG_ERROR, "Cannot open input file\n");
// cout << ret << endl;
goto end;
}
if (ret = avformat_find_stream_info(fmt_ctx, NULL) < 0){
av_log(NULL, AV_LOG_ERROR, "Cannot get stream info\n");
goto end;
}
for (int i = 0; i < fmt_ctx->nb_streams; i++)
{
if (fmt_ctx->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)
{
VideoStreamIndex = i;
break;
}
}
if (VideoStreamIndex < 0)
{
av_log(NULL, AV_LOG_ERROR, "No strean found\n");
goto end;
}
av_dump_format(fmt_ctx, VideoStreamIndex, filename, false);
if (ret != avcodec_parameters_to_context(codec_ctx, fmt_ctx->streams[VideoStreamIndex]->codecpar) < 0)
{
av_log(NULL, AV_LOG_ERROR, "Cannot get codec params\n");
goto end;
}
avcodec_find_decoder(codec_ctx->codec_id);
if (codec == NULL)
{
av_log(NULL, AV_LOG_ERROR, "Cannot find decoder\n");
goto end;
}
if (ret = avcodec_open2(codec_ctx, codec, NULL) < 0)
{
av_log(NULL, AV_LOG_ERROR, "Cannot open decoder\n");
goto end;
}
fprintf(stderr, "\nDecoding codec is: %s \n", codec->name);
end:
if (codec_ctx)
{
avcodec_close(codec_ctx);
}
if (fmt_ctx)
{
avformat_close_input(&fmt_ctx);
}
std::cout << "Press \'Return or Enter\' to end." << std::endl;
std::cin.ignore();
return 0;
}
</iostream>I hope someone can point me in the right direction, because im very lost right now.