
Recherche avancée
Autres articles (88)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...)
Sur d’autres sites (6058)
-
FFMPEG : How should I deal with constant corrupt packets incoming from a remote stream ? [closed]
2 mai 2023, par 2x2I'll get downvoted madly fast ; I am new here, and, honestly, I'm weak at FFMPEG.


I am working to "record" a test HLS broadcast (colored bars) into a local mp4 file.


Trying to normally record it into the file, using a simple command, yields this result. It works fine at the start, due to the corrupt packets slowly accumulating and seemingly seamlessly getting spliced together. After, the recording simply continues, and begins to lag frequently.


I'll summarize the FFMPEG log below :


>! ```
>! 
>! Command input:
>! 
>! > ffmpeg -i http://IP_1:8080/udp/IP_2:1234 -c copy OUT/test1.mp4
>! 
>! ...
>! 
>! Initialization:
>! 
>! ffmpeg version 2023-04-26-git-e3143703e9-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
>! built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
>! configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
>! libavutil 58. 6.100 / 58. 6.100
>! libavcodec 60. 10.100 / 60. 10.100
>! libavformat 60. 5.100 / 60. 5.100
>! libavdevice 60. 2.100 / 60. 2.100
>! libavfilter 9. 5.100 / 9. 5.100
>! libswscale 7. 2.100 / 7. 2.100
>! libswresample 4. 11.100 / 4. 11.100
>! libpostproc 57. 2.100 / 57. 2.100
>! 
>! ...
>! 
>! Problems begin:
>! 
>! [mpeg2video @ 000001e3f88a60c0] Invalid frame dimensions 0x0.
>! Last message repeated 4 times
>! 
>! ...
>! 
>! Repetitive two errors - Packet errors:
>! 
>! [mpegts @ 000001e3f888b300] PES packet size mismatch
>! [mpegts @ 000001e3f888b300] Packet corrupt (stream = 0, dts = 4813344832).
>! 
>! ...
>! 
>! Information:
>! 
>! Input #0, mpegts, from 'http://IP_1:8080/udp/IP_2:1234':
>! Duration: N/A, start: 53478.855478, bitrate: 3428 kb/s
>! Program 10
>! Metadata:
>! service_name : SERVICE
>! service_provider: unknown
>! Stream #0:0[0x65]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], 3300 kb/s, 25 fps, 25 tbr, 90k tbn
>! Side data:
>! cpb: bitrate max/min/avg: 3300000/0/0 buffer size: 1638400 vbv_delay: N/A
>! Stream #0:1[0x66](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, mono, fltp, 128 kb/s
>! Output #0, mp4, to 'OUT/test1.mp4':
>! Metadata:
>! encoder : Lavf60.5.100
>! Stream #0:0: Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], q=2-31, 3300 kb/s, 25 fps, 25 tbr, 90k tbn
>! Side data:
>! cpb: bitrate max/min/avg: 3300000/0/0 buffer size: 1638400 vbv_delay: N/A
>! Stream #0:1(rus): Audio: mp2 (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 128 kb/s
>! Stream mapping:
>! Stream #0:0 -> #0:0 (copy)
>! Stream #0:1 -> #0:1 (copy)
>! Press [q] to stop, [?] for help
>! 
>! ```



I will also attach a video demonstration of the occurrence :


https://drive.google.com/file/d/13ndIpH3de3k8f3TMVGEbJUNVe-vD0vIW/view?usp=sharing


Download it ; the processed web version doesn't include any of the visual glitches that are visible in the original file.


I have been wanting to run FFMPEG with a minute-long delay (i.e. intentionally increasing the latency). Unfortunately, FFMPEG only has features to lower latency, not add more (I read the entire documentation trying to figure this out).


Another of my ideas was to try FFPLAY (afaik it's FFMPEG but with output to a window). Didn't work, got the same errors.


None of the other parameters listed in the documentation seemed to have any use to help me out ; I tried a bunch, to no avail.


What will you suggest ? I would like to hear some ideas on how I could fix this.


-
Issue with Batch File for FFmpeg Video Frame Extraction
30 septembre 2023, par Claudio MartiniIssue


[swscaler @ 0000019531bb00c0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'temp_frames/frame%08d.jpg':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: mp42mp41
 encoder : Lavf60.11.100
 Stream #0:0(eng): Video: mjpeg, yuvj420p(pc, progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn (default)
 Metadata:
 creation_time : 2023-09-29T13:37:07.000000Z
 handler_name : ?Mainconcept Video Media Handler
 vendor_id : [0][0][0][0]
 encoder : Lavc60.26.100 mjpeg
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[image2 @ 000001951c61b980] Could not open file : temp_frames/frame00000001.jpg
[vost#0:0/mjpeg @ 000001951c603e80] Error submitting a packet to the muxer: I/O error
[out#0/image2 @ 000001951cb8ee80] Error muxing a packet
[out#0/image2 @ 000001951cb8ee80] video:389kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
frame= 1 fps=0.0 q=1.0 Lsize=N/A time=00:00:00.24 bitrate=N/A speed=1.03x
Conversion failed!



I've noticed that using an escape code '%%' for the '%' character, as suggested for similar issues, resolves the problem :


ffmpeg -i video.mp4 -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 tmp_frames/frame%%08d.jpg



However, the same issue occurs even when the command is used within a drag&drop batch file :


setlocal enabledelayedexpansion

REM Check if an MP4 file was dragged onto the script
if "%~1"=="" (
 echo Drag an MP4 file onto this script to begin frame extraction.
 pause
 exit /b
)

REM Extract frames from the MP4 file
ffmpeg -i "%~1" -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 temp_frames/frame%%08d.jpg

echo Extraction complete.
pause



This is essentially the same code, but it doesn't work as expected within the batch file. Can anyone provide insight into why this issue is occurring and how to resolve it within the batch file context ?


-
hey i need to download my coaching classes but they are using hls aes 128 bit encrypted streams. i downloaded m3u8 and all .ts files and found enc key
19 mars 2023, par tinu oneI downloaded all the .ts files using a python script but it is encrypted with aes 128.i found a encryption key (supposedly) under the network tab in developer options. I ran it through ffmpeg but got an error( invalid data found while processing ). I need these classes because they are going to remove it in may 2023. i am a noob to this and may have done step wrong. Please forgive me. I would deeply appreciate anyone who will help me find a solution to this problem. Thankyou.


I downloaded all the .ts files and m3u8 file and put it inside a folder. I hosted the key file in localhost that I found under the preview tab of the network tab in developer options( it was named key/ after all and had characters which was not human readable. it also had the request URL similar to that inside the m3u8 file)because ffmpeg did not want to read the key file from my local pc. I edited the m3u8 file to access the key stored in local host and it read successfully. but it shows error( invalid data found while processing).


encryption key from preview tab I found : Ø®¢Ù¦Aä [u
request url of the key : https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/


unedited m3u8 file :


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:19
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="https://classes.brilliantpala.org/api/v2.4/encryption_key/40cd559c70c241699cfcda9072c4fb42/",IV=0x00000000000000000000000000000000
#EXTINF:11.680000,
video_0.ts
#EXTINF:10.000000,
video_1.ts
#EXTINF:10.000000,
etc etc..



fetch("https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/", {
 "headers": {
 "accept": "*/*",
 "accept-language": "en-US,en;q=0.9",
 "sec-ch-ua": "\"Microsoft Edge\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"",
 "sec-ch-ua-mobile": "?0",
 "sec-ch-ua-platform": "\"Windows\"",
 "sec-fetch-dest": "empty",
 "sec-fetch-mode": "cors",
 "sec-fetch-site": "same-origin",
 "x-key": "5e5d8c5d0486a678ccd4935ecb9fa8a01b1db7327396184ab00b50573119e947"
 },
 "referrer": "https://classes.brilliantpala.org/courses/535/contents/42475/",
 "referrerPolicy": "strict-origin-when-cross-origin",
 "body": null,
 "method": "GET",
 "mode": "cors",
 "credentials": "include"
});```