
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (81)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (11023)
-
how to remux/fix video file saved with testdisk that reports error "Invalid NAL unit size"
18 août 2022, par LukaI have deleted a video file from an SD card and then 'undeleted' it with tool called testdisk for Linux. It saved complete file (6Gb), but video seems broken (can't be played by any video players) and ffprobe reports :


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] Found duplicated MOOV Atom. Skipped it
[aac @ 0x55c613bb6dc0] channel element 3.6 is not allocated
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-2119335523 > 644375).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1846222201 > 61596).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-864346179 > 57764).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (822755552 > 161099).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (188456672 > 131075).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-2009136561 > 113517).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-821906870 > 228207).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-516947408 > 120554).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (268246533 > 115897).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1483463928 > 238451).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1693450506 > 114421).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1048922816 > 114846).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-600883429 > 357422).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1612859848 > 93601).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-600474974 > 111975).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (321873764 > 211226).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-665491613 > 92183).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (258461639 > 95290).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (713914840 > 195792).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-556556768 > 93998).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1864278243 > 94783).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-333442404 > 203732).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1836887686 > 95706).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (125657193 > 96573).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-2049008956 > 342294).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (650110420 > 98067).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (694115932 > 100359).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (955742608 > 204098).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1004021052 > 100944).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-885264782 > 100557).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1074298568 > 209804).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none(pc, bt709), 1920x1080, 29593 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_1399.MP4':
 Metadata:
 creation_time : 2022-08-17T17:13:19.000000Z
 major_brand : mp42
 minor_version : 1
 make : 
 make-eng : 
 model : 
 model-eng : 
 compatible_brands: mp42avc1CAEP
 Duration: 00:29:59.08, start: 0.000000, bitrate: 29879 kb/s
 Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), none(pc, bt709), 1920x1080, 29593 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
 Metadata:
 creation_time : 2022-08-17T17:13:19.000000Z
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
 Metadata:
 creation_time : 2022-08-17T17:13:19.000000Z



I'm no programmer, but have used ffmpeg a lot. How can I remux (or even re-encode) such file to fix this and make the file usable for further work ?


I have created a 10seconds snippet with
ffmpeg -i MVI_1399.MP4 -t 00:00:10 -c copy MVI_1399_10sec.mp4
for anyone to check. I also created a ten second snippet from a functioning clip from the same camera (I presume same codec parameters etc) :

https://cb.emanat.si/s/WzTCxHDkzGw3gM3


-
ffmpeg - Can't stably save rtsp stream to file
20 août 2022, par André LuísI'm trying to save the RTSP stream of this camera to file. However, at some point I'll get the following errors, which will stop the process.




video:331639kB audio:5199kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead : unknown




And a bunch of these, before the previous one :




Non-monotonous DTS in output stream 0:1 ; previous : 5439375, current :
5439283 ; changing to 5439376. This may result in incorrect timestamps
in the output file.




Here is the command I'm running :


ffmpeg "rtsp://192.168.0.100:554/cam/realmonitor?channel=1&subtype=0" -c copy -f segment -segment_time 00:01:00 -reset_timestamps 1 -segment_format mkv -strftime 1 /home/user/.camera/recordings/2022/8/19/%H_%M_%S.mkv



I've tried adding each of these parameters and they all together :


-fflags +autobsf+genpts -y -threads 1 -use_wallclock_as_timestamps 1 -dts_delta_threshold 0 -rtsp_transport tcp -i



ffprobe :


{
 "streams": [
 {
 "index": 0,
 "codec_name": "h264",
 "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
 "profile": "Main",
 "codec_type": "video",
 "codec_tag_string": "[0][0][0][0]",
 "codec_tag": "0x0000",
 "width": 1920,
 "height": 1080,
 "coded_width": 1920,
 "coded_height": 1080,
 "closed_captions": 0,
 "film_grain": 0,
 "has_b_frames": 0,
 "pix_fmt": "yuvj420p",
 "level": 40,
 "color_range": "pc",
 "chroma_location": "left",
 "field_order": "progressive",
 "refs": 1,
 "is_avc": "false",
 "nal_length_size": "0",
 "r_frame_rate": "100/1",
 "avg_frame_rate": "0/0",
 "time_base": "1/90000",
 "start_pts": 9000,
 "start_time": "0.100000",
 "bits_per_raw_sample": "8",
 "extradata_size": 27,
 "disposition": {
 "default": 0,
 "dub": 0,
 "original": 0,
 "comment": 0,
 "lyrics": 0,
 "karaoke": 0,
 "forced": 0,
 "hearing_impaired": 0,
 "visual_impaired": 0,
 "clean_effects": 0,
 "attached_pic": 0,
 "timed_thumbnails": 0,
 "captions": 0,
 "descriptions": 0,
 "metadata": 0,
 "dependent": 0,
 "still_image": 0
 }
 },
 {
 "index": 1,
 "codec_name": "aac",
 "codec_long_name": "AAC (Advanced Audio Coding)",
 "profile": "LC",
 "codec_type": "audio",
 "codec_tag_string": "[0][0][0][0]",
 "codec_tag": "0x0000",
 "sample_fmt": "fltp",
 "sample_rate": "16000",
 "channels": 1,
 "channel_layout": "mono",
 "bits_per_sample": 0,
 "r_frame_rate": "0/0",
 "avg_frame_rate": "0/0",
 "time_base": "1/16000",
 "start_pts": 0,
 "start_time": "0.000000",
 "extradata_size": 2,
 "disposition": {
 "default": 0,
 "dub": 0,
 "original": 0,
 "comment": 0,
 "lyrics": 0,
 "karaoke": 0,
 "forced": 0,
 "hearing_impaired": 0,
 "visual_impaired": 0,
 "clean_effects": 0,
 "attached_pic": 0,
 "timed_thumbnails": 0,
 "captions": 0,
 "descriptions": 0,
 "metadata": 0,
 "dependent": 0,
 "still_image": 0
 }
 }
 ]
}



I honestly don't know what else to do.


-
ffmpeg save video in segments, time does not match
22 août 2022, par YohannI use ffmpeg to save the rtsp live stream to the local, specify the fragment size of 2 seconds and use the current time to name the video file


But the length of the returned video is not equal to 2 seconds and the interval between file names is not 2 seconds


I have tried several command line arguments


ffmpeg -i rtsp://192.168.18.119/live/test -f segment -strftime 1 -segment_time 2 -segment_atclocktime 1 -reset_timestamps 1 -an -vcodec copy ./%Y-%m-%d-%H.%M.%S.mp4

# execute result
2022-08-22-17.20.16.mp4 duration:00:03
2022-08-22-17.20.17.mp4 duration:00:03
2022-08-22-17.20.18.mp4 duration:00:07
2022-08-22-17.20.19.mp4 duration:00:03
2022-08-22-17.20.20.mp4 duration:00:03
# file names are not time aligned



ffmpeg -i rtsp://192.168.18.119/live/test -f segment -strftime 1 -segment_time 2 -reset_timestamps 1 -an -vcodec copy ./%Y-%m-%d-%H.%M.%S.mp4

# execute result
2022-08-22-17.42.36.mp4 duration:00:03
2022-08-22-17.42.37.mp4 duration:00:03
2022-08-22-17.42.41.mD4 duration:00:03
2022-08-22-17.42.44.mp4 duration:00:03
2022-08-22-17.42.48.mp4 duration:00:03
2022-08-22-17.42.51.mp4 duration:00:03
# file names are not time aligned



Expect to generate video


2022-08-22-17.50.00.mp4 时长:00:02
2022-08-22-17.50.02.mp4 时长:00:02
2022-08-22-17.50.04.mD4 时长:00:02
2022-08-22-17.50.06.mp4 时长:00:02
2022-08-22-17.50.08.mp4 时长:00:02
2022-08-22-17.50.10.mp4 时长:00:02
...