
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (87)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (14422)
-
How to repair a raw H.264 stream using FFmpeg
13 janvier 2020, par Chris KennedyI apologize if I start rambling or seem incoherent.
Preface : My house caught on fire last week.
I have been trying to get the footage off my security camera system (Zmodo, don’t ever buy this crap) to share with the fire marshal and my insurance. I can’t get it off the "proper" way because the box doesn’t detect any drive or any file system I throw at it, and none of their viewing apps (for Android or Windows) allow video downloads.
I was able to get the files directly from the system’s hard drive, but they’re (of course) messed up in such a way that I can’t just open up VLC (or even Zmodo’s own viewing software !) and view them. I have spent several hours scouring the web for various ways to run it through FFmpeg to see if it can repair the file, but I’ve had no luck so far and my mind is already stretched thin with everything else.
This is the output from ffprobe :
ffprobe version 4.2.1 Copyright (c) 2007-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190807
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
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
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[h264 @ 000002479ee1c180] Format h264 detected only with low score of 1, misdetection possible!Then this repeats several dozen times :
Last message repeated 1 times
[h264 @ 000002479ee1de40] decode_slice_header error
[h264 @ 000002479ee1de40] no frame!
[h264 @ 000002479ee1de40] non-existing PPS 0 referencedAnd it finishes off with this :
[h264 @ 000002479ee1c180] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, h264, from '.\recfile_-200102-130000-135959-00001100.264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264, none, 25 fps, 25 tbr, 1200k tbn, 50 tbcI have tried several options with ffmpeg, including force_key_frames, setting the analyzeduration and probesize options to max_int, tried a -c copy, forcibly specified x264, tried to force a specific resolution (which it should all be standard HD video), and several others that I can’t recall at the moment.
The video files are also accompanied by a .IDX file, but I haven’t figured out how important they are if they are at all to the video file.
I can provide links to the smallest video and its associated IDX if needed, but if anyone can think of anything else to try on these files I’d greatly appreciate it.
-
Python Virtualenv & Youtube_dl : ffprobe or avprobe not found. Please install one
25 janvier 2020, par J. Diaz- My goal : Download podcast as MP3
- Used Python, Flask and Youtube_dl on Ubuntu 18.04 and Nginx
- I followed this tutorial to set up my server : Flask app with uSWGI and Nginx
Point 1 : Deployment was successful and running a simple flask app in the browser works.
Point 2 : I add the following code to my simple flask route to be rendered.@app.route('/video', methods=['POST'])
def videoland():
ydl_opts = {
'format': 'bestaudio/best',
'verbose': True,
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
'preferredquality': '192',
}],
'postprocessor_args': [
'-ar', '16000'
],
'prefer_ffmpeg': True,
}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])
return Response('Response test')Here is the problem : When I render this page, I receive 500 error and ’Response test’ is never shown.
However, the MP3 file gets to be downloaded in my project directory without problems (Sounds perfect)By checking ’journalctl’ of my project, I find the following :
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-1051-aws-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] BaW_jenozKc: Downloading webpage
[youtube] BaW_jenozKc: Downloading video info webpage
[debug] Invoking downloader on 'https://r3---sn-aigl6nl7.googlevideo.com/videoplayback?expire=1579853383&ei=51EqXpe4HZiuxgKiz4SYBw&ip=35.178.16.206&id=o-AP8Cssz7OHlOd6PRswoEVAAVY7kfgYf0ZV-jL_TE9HZH&itag=140&source=youtube&requiressl=yes&mm=31%2C29&mn=sn-aigl6nl7%2Csn-aigzrn7z&ms=au%2Crdu&mv=m&mvi=2&pl=15&initcwndbps=860000&vprv=1&mime=audio%2Fmp4&gir=yes&clen=157753&dur=9.891&lmt=1387961817989105&mt=1579831690&fvip=3&keepalive=yes&fexp=23842630&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ALgxI2wwRQIgI4XTN3uqTHc10HQcotiqwL8-hSqUwnop-mrrYaIwICsCIQCSeyXDEvxEVafgIOWkMloobolXXoWRYHqzPH3fh2OfOA%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIgZKbNf2W3csHWf1leFuPJHx07S8sRJLL0-luUuXb5BqACIQD7WbHSG0E17nyoq0yTB8udlgt0-1drPysUoYKp0V539w%3D%3D&ratebypass=yes'
[download] youtube-dl test video ''_ä↭T -
how to fix errors while converting yuv to mp4 using ffmpeg, with out compression
10 janvier 2020, par johannaI am trying to convert a yuv file to mp4, without further compression, using :
ffmpeg -f rawvideo -s 768x432 -r 50 -i test.yuv -c:a acc -strict experimental test.mp4
but I am getting the following error :ffmpeg version N-94000-g78e1d7f Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
configuration:
libavutil 56. 28.100 / 56. 28.100
libavcodec 58. 52.102 / 58. 52.102
libavformat 58. 27.103 / 58. 27.103
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 55.100 / 7. 55.100
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
[rawvideo @ 0x22f0700] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'test.yuv':
Duration: 00:00:00.38, start: 0.000000, bitrate: 198476 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 768x432, 199065 kb/s, 50 tbr, 50 tbn, 50 tbc
File 'test.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'test.mp4':
Metadata:
encoder : Lavf58.27.103
Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 768x432, q=2-31, 200 kb/s, 50 fps, 12800 tbn, 50 tbc
Metadata:
encoder : Lavc58.52.102 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
test.yuv: corrupt input packet in stream 0
[rawvideo @ 0x22fa780] Invalid buffer size, packet size 469698 < expected frame_size 497664
Error while decoding stream #0:0: Invalid argument
frame= 18 fps=0.0 q=24.8 Lsize= 3340kB time=00:00:00.34 bitrate=80445.8kbits/s speed=3.51x
video:3339kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.028110%I am also trying :
ffmpeg -f rawvideo -s 768x432 -r 50 -i test.yuv -c:a acc -strict experimental test.mp4
but I am getting the following error :ffmpeg version N-94000-g78e1d7f Copyright (c) 2000-2019 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36) configuration: libavutil 56. 28.100 / 56. 28.100 libavcodec 58. 52.102 / 58. 52.102 libavformat 58. 27.103 / 58. 27.103 libavdevice 58. 7.100 / 58. 7.100 libavfilter 7. 55.100 / 7. 55.100 libswscale 5. 4.101 / 5. 4.101 libswresample 3. 4.100 / 3. 4.100 [rawvideo @ 0x22f0700] Estimating duration from bitrate, this may be inaccurate Input #0, rawvideo, from 'test.yuv': Duration: 00:00:00.38, start: 0.000000, bitrate: 198476 kb/s Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 768x432, 199065 kb/s, 50 tbr, 50 tbn, 50 tbc File 'test.mp4' already exists. Overwrite ? [y/N] y Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native)) Press [q] to stop, [?] for help Output #0, mp4, to 'test.mp4': Metadata: encoder : Lavf58.27.103 Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 768x432, q=2-31, 200 kb/s, 50 fps, 12800 tbn, 50 tbc Metadata: encoder : Lavc58.52.102 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 pr_768x432_50_QP22.yuv: corrupt input packet in stream 0 [rawvideo @ 0x22fa780] Invalid buffer size, packet size 469698 < expected frame_size 497664 Error while decoding stream #0:0: Invalid argument frame= 18 fps=0.0 q=24.8 Lsize= 3340kB time=00:00:00.34 bitrate=80445.8kbits/s speed=3.51x video:3339kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.028110%
how can I solve these errors ?