
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 (64)
-
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 à (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (15424)
-
ffmpeg to Youtube Live stops working. ffmpeg continues to run
10 février 2020, par Robert PringleI’m streaming a mobotix camera to Youtube Live.
This works correctly for a period of time. Youtube then reports the stream as "noData".
ffmpeg continues to run, but no video is being received by Youtube.The problem is intermittant.
Restarting the ffmpeg process makes Youtube start receiving the stream again.
ffmpeg is being run as a systemd service.
ffmpeg is run with the following command :
ffmpeg -nostdin -f lavfi -i anullsrc -rtsp_transport tcp -thread_queue_size 512 -i "rtsp://@192.168.1.1:554/mobotix.h264" -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/
Logs only show :
ffmpeg[47357]: [48.0K blob data]
Any ideas on how to solve this ? Or improve the logging.
Edit :
Logs from starting ffmpeg :Feb 07 17:57:00 localhost.localdomain ffmpeg[49525]: [48.0K blob data]
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: encoder : Lavc58.54.100 aac
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Metadata:
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Stream #0:1: Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Stream #0:0: Video: h264 (Constrained Baseline) ([7][0][0][0] / 0x0007), yuv420p(progressive), 1024x768, q=2-31, 12.50 tbr, 1k tbn, 90k tbc
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: encoder : Lavf58.29.100
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Metadata:
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Output #0, flv, to 'rtmp://a.rtmp.youtube.com/live2/':
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Stream #0:0 -> #0:1 (pcm_u8 (native) -> aac (native))
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Stream #1:0 -> #0:0 (copy)
Feb 07 17:52:47 localhost.localdomain ffmpeg[49525]: Stream mapping:
Feb 07 17:52:46 localhost.localdomain ffmpeg[49525]: Stream #1:0: Video: h264 (Constrained Baseline), yuv420p(progressive), 1024x768, 12.50 tbr, 90k tbn, 180k tbc
Feb 07 17:52:46 localhost.localdomain ffmpeg[49525]: Duration: N/A, start: 136.139322, bitrate: N/A
Feb 07 17:52:46 localhost.localdomain ffmpeg[49525]: comment : mobotix.h264
Feb 07 17:52:46 localhost.localdomain ffmpeg[49525]: title : Mobotix IP-Camera (H.264, unicast)
Feb 07 17:52:46 localhost.localdomain ffmpeg[49525]: Metadata:
Feb 07 17:52:46 localhost.localdomain ffmpeg[49525]: Input #1, rtsp, from 'rtsp://@192.168.1.1:554/mobotix.h264':
Feb 07 17:52:44 localhost.localdomain ffmpeg[49525]: [h264 @ 0x559ee7857940] concealing 2400 DC, 2400 AC, 2400 MV errors in P frame
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: Stream #0:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: Duration: N/A, start: 0.000000, bitrate: 705 kb/s
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: Input #0, lavfi, from 'anullsrc':
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libpostproc 55. 5.100 / 55. 5.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libswresample 3. 5.100 / 3. 5.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libswscale 5. 5.100 / 5. 5.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libavresample 4. 0. 0 / 4. 0. 0
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libavfilter 7. 57.100 / 7. 57.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libavdevice 58. 8.100 / 58. 8.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libavformat 58. 29.100 / 58. 29.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libavcodec 58. 54.100 / 58. 54.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: libavutil 56. 31.100 / 56. 31.100
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 >
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: built with gcc 8 (GCC)
Feb 07 17:52:43 localhost.localdomain ffmpeg[49525]: ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developersRunning the command manually gave me logs and exited, whereas the systemd service keeps running.
[flv @ 0x560541a8b3c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
av_interleaved_write_frame(): Broken pipekB time=03:35:18.84 bitrate=3131.8kbits/s speed=0.999x
Last message repeated 1 times
[flv @ 0x560541a8b3c0] Failed to update header with correct duration.
[flv @ 0x560541a8b3c0] Failed to update header with correct filesize.
Error writing trailer of rtmp://a.rtmp.youtube.com/live2/: Broken pipe
frame=134427 fps= 10 q=-1.0 Lsize= 4938869kB time=03:35:18.96 bitrate=3131.8kbits/s speed=0.997x
video:4923745kB audio:3296kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.240068%
[aac @ 0x560541a6d680] Qavg: 65536.000
Conversion failed! -
Burn subtitles in a stop motion video, with hardware acceleration
9 février 2020, par BelindeI’m trying to make a year long stop motion video with the images taken from a webcam. I’ve created a
input.txt
file with this format inside :ffconcat version 1.0
file 'amianthe201909031230.jpg'
duration 0.093034825870647
file 'amianthe201909031330.jpg'
duration 0.093034825870647The command I’ve crafted (mostly taken from the example in the official ffmpeg documentation) is :
ffmpeg \
-y \
-hwaccel vaapi \
-hwaccel_device /dev/dri/renderD128 \
-hwaccel_output_format vaapi \
-f concat \
-i input.txt \
-vf 'hwmap=mode=read+write+direct,format=nv12,ass=subtitles.ass,hwmap' \
-c:v h264_vaapi \
~/amianthe.mp4But it badly fails with this output :
ffmpeg version 4.1.4-1build2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9 (Ubuntu 9.2.1-4ubuntu1)
configuration: --prefix=/usr --extra-version=1build2 --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-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, concat, from 'input.txt':
Duration: 00:00:18.70, start: 0.000000, bitrate: 5 kb/s
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (h264_vaapi))
Press [q] to stop, [?] for help
[Parsed_ass_2 @ 0x5557f4ec4ac0] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 2.6.1 (COMPLEX)
[Parsed_ass_2 @ 0x5557f4ec4ac0] Using font provider fontconfig
[Parsed_ass_2 @ 0x5557f4ec4ac0] Added subtitle file: 'subtitles.ass' (4 styles, 2 events)
[Parsed_hwmap_3 @ 0x5557f5381ec0] Unsupported formats for hwmap: from nv12 (vaapi_vld) to vaapi_vld.
[Parsed_hwmap_3 @ 0x5557f5381ec0] Failed to configure output pad on Parsed_hwmap_3
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!I’m honestly lost : from my understanding, all the elaboration should be done directly in the video card memory, so I don’t understand why it’s converting the surface format. Is there some other parameter I must put in
format
? What am I missing ? -
What difference does it make which version of Mozilla, MacOS and Safari we specify for using ffmpeg ?
3 mars 2020, par Kaizer SozayI came across this snippet of code for downloading m3u8 playlists and concatenating them into an mkv file :
$ ffmpeg -user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7" -i https://devstreaming-cdn.apple.com/videos/wwdc/2019/901myoscpux9y7nry55/901/hls_vod_mvp.m3u8 -c copy pd.mkv
My question is about the section of the script :
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7"
These seem like very old numbers. For example, Catalina is 10.15.3. No idea which is the latest Mozilla but Safari is now on 13.0.5
Was just wondering if it makes any difference if the version is old, or if we should update to the code to specify newer versions of Mac OS, Mozilla, Webkit and Safari.
Can someone explain the significance ?