
Recherche avancée
Autres articles (70)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
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 (...) -
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 (7495)
-
ffmpeg TCP connection refused trying to download m3u8 file
21 mai 2021, par CyeoleI'm trying to download a .m3u8 stream and convert it to mp4. The code I'm using is :


ffmpeg -i "http://v030.url/s/1/6/8/168192d4db9f6a2d0247784d11bd3aaa/stream/480p/index.m3u8?h=f676f54bc54d0a97a591fb5122c85cfb&e=1621581127" -c copy -bsf:a aac_adtstoasc outputname.mp4



However, I'm getting this error :


[tcp @ 0x7fbdda504900] Connection to tcp://v030.url:80 failed: Connection refused
http://v030.url/s/1/6/8/168192d4db9f6a2d0247784d11bd3aaa/stream/480p/index.m3u8?h=f676f54bc54d0a97a591fb5122c85cfb&e=1621581127: Connection refused



If I directly go to the link, it downloads the .m3u8 file without any problems and I've tried to convert this but it fails to read segments from the site. If I remove the "h=" and "e=" the link doesn't allow me to access the file.


Can someone please guide me on how to download this file in ffmpeg ? It seems like it's protected. Cheers !


I'm using ffmpeg on Mac OS X.


-
Can not download a streamable m3u8 link with IDM and ffmpeg
15 juillet 2021, par longThis is the link : https://v13.phephim.xyz/vod/v2/packaged:mp4/6005b3591918ee01c9ef67e4/playlist.m3u8


It's ok to play the link with play-hls-m3u8 chrome extension or by the site https://www.hlsplayer.net/ but I got errors when trying to download it by ffmpeg :


ffmpeg -i https://v13.phephim.xyz/vod/v2/packaged:mp4/6005b3591918ee01c9ef67e4/playlist.m3u8 -c copy OUTPUT.MP4



Full log :


ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
 configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
[hls @ 0x561c95a74c40] Skip ('#EXT-X-VERSION:3')
[hls @ 0x561c95a74c40] Opening 'https://v13.phephim.xyz/vod/v2/packaged:mp4/6005b3591918ee01c9ef67e4/0.ts?e=ad32a6dc7559f830a29b88ca30b975d90daef6578a563b09e97c798063c39de9fc124d470f75ad0220b9f440b7bd6767' for reading
[hls @ 0x561c95a74c40] Opening 'https://v13.phephim.xyz/vod/v2/packaged:mp4/6005b3591918ee01c9ef67e4/1.ts?e=e9b0a737f46906cdb4d67aed95e65ae4ab8eb401100eebce4e711ffdaf43c68fc2d8a49add4295587b38fe90c9d4cf86' for reading
[hls @ 0x561c95a74c40] Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, hls, from 'https://v13.phephim.xyz/vod/v2/packaged:mp4/6005b3591918ee01c9ef67e4/playlist.m3u8':
 Duration: 01:02:06.42, bitrate: 0 kb/s
 Program 0 
 Metadata:
 variant_bitrate : 0
 Stream #0:0: Video: png, none(pc), 25 tbr, 25 tbn, 25 tbc
 Metadata:
 variant_bitrate : 0
Output #0, mp4, to 'OUTPUT.MP4':
Output file #0 does not contain any stream



I have tried to add some other command options but still got the same errors.


Doing devtools inspect, I found
the .ts segment link redirected to another link that has the response header :


content-disposition: inline;filename="unnamed.png"
content-type: image/png



Is it normal ?


Image : response header


Pls help me to download the video. Thanks !


p/s : sorry for my bad english :)


-
Download a part of youtube video using a powershell script
26 octobre 2024, par Nguyễn Đức MinhI'm writing this Powershell script :


$URL = "https://www.youtube.com/watch?v=KbuwueqEJL0"
$from = 00:06:15
$to = 00:09:17

$cmdOutput = (youtube-dl --get-url $URL) 

ffmpeg -ss $from -to $to -i -ss $from -to $to -i output.mkv



This script's purpose is to download a part of a Youtube video. I've set the variable $URL to specify the Youtube URL, while
$from
and$to
is the start and end time of the part I want to download.

$cmdOutput
is used to output the stream URL. The output would have two lines : the first one is the URL for the video stream, while the second one is the audio stream URL.

Currently, I don't know how to use the output as a variable and specify the line number of $cmdOutput to put it into the correct stream. I guess
and
would be replaced by something like
$cmdOutput[line 1]
, and$cmdOutput[line 2]
, though I know that those are incorrect.

I've consulted this answer, and it is handy for me to write this script. I've also read Boris Lipschitz's answer on how to do the same thing with Python, but his answer does not work.


In that script, the
-ss
flag inputs the seeking point, and the-t <duration></duration>
flag tells FFmpeg to stop encoding after the specified duration. For example, if the start time is 00:02:00 and the duration is 00:03:00, FFmpeg would download from 00:02:00 to 00:05:00, which is not the expected outcome. For some reason, his Python script skips the first 5 seconds of output, even if I replace the-t
flag with-to
. I've tried to edit his script, but it does not work unless you explicitly specify the time for both video and audio stream, as well as their respective stream URL.