
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (3)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (1850)
-
GStreamer qtdemux issue when start time is set
17 décembre 2019, par user3157892I am using GStreamer to stream videos to RTSP and have problems with many of the videos I was given. I have thousands of videos that were recorded with FFMPEG to mp4. I can’t play any of the videos back as qtdemux reports the following error :
qtdemux qtdemux.c:9129:qtdemux_parse_segments:<qtdemux0> Segment 0 extends to 4:57:00.937000000 past the end of the file duration 0:00:59.544000000 it will be truncated
qtdemux qtdemux.c:9129:qtdemux_parse_segments:<qtdemux0> Segment 1 extends to 4:58:00.481000000 past the end of the file duration 4:57:00.937000000 it will be truncated</qtdemux0></qtdemux0>From what I can tell this is related to the start_pts of the video. Here is the output of ffprobe for the same video :
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : libRtspServer
encoder : Lavf58.20.100
Duration: 00:00:59.07, start: 5461.268000, bitrate: 2749 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2748 kb/s, 15.02 fps, 15 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=Main
codec_type=video
codec_time_base=29533/887000
codec_tag_string=avc1
codec_tag=0x31637661
width=1920
height=1080
coded_width=1920
coded_height=1080
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuvj420p
level=41
color_range=pc
color_space=bt709
color_transfer=bt709
color_primaries=bt709
chroma_location=center
field_order=unknown
timecode=N/A
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=15/1
avg_frame_rate=443500/29533
time_base=1/90000
start_pts=491514120
start_time=5461.268000
duration_ts=496830060
duration=5520.334000
bit_rate=2748339
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=887
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:language=und
TAG:handler_name=VideoHandler
[/STREAM]Note the start time - start_time=5461.268000
One possible solution is to remux all of the videos to have a start time of 0.00. This doesn’t really seem like the ideal solution.
Is there a way to manipulate GStreamer into playing the video from time 0 instead of trying to seek to the start time ? It could be possible that the videos are just not written correctly.
-
Why is FFProbe (using fluent-ffmpeg) returning incomplete and inaccurate metadata ?
18 avril 2024, par volume oneI am returning metadata about a file using ffprobe. The file can be found here.


I am using
fluent-ffmpeg
in Node.js which shouldn't make any difference. Its just nicer to use than a command-line.

The code goes like this :


ffmpeg.ffprobe('https://devxxx001.s3.amazonaws.com/vertical-hd_720_1280_30fps.mp4'), function (err, metadata) {
 console.log(JSON.stringify(metadata));
});



The
metadata
output I receive is this :

{
 "streams": [
 {
 "index": 0,
 "codec_name": "h264",
 "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
 "profile": "High",
 "codec_type": "video",
 "codec_tag_string": "avc1",
 "codec_tag": "0x31637661",
 "width": 720,
 "height": 1280,
 "coded_width": 720,
 "coded_height": 1280,
 "closed_captions": 0,
 "film_grain": 0,
 "has_b_frames": 2,
 "sample_aspect_ratio": "N/A",
 "display_aspect_ratio": "N/A",
 "pix_fmt": "yuv420p",
 "level": 32,
 "color_range": "tv",
 "color_space": "bt709",
 "color_transfer": "bt709",
 "color_primaries": "bt709",
 "chroma_location": "left",
 "field_order": "progressive",
 "refs": 1,
 "is_avc": "true",
 "nal_length_size": 4,
 "id": "0x1",
 "r_frame_rate": "30/1",
 "avg_frame_rate": "30/1",
 "time_base": "1/30",
 "start_pts": 0,
 "start_time": 0,
 "duration_ts": 267,
 "duration": 8.9,
 "bit_rate": 2382497,
 "max_bit_rate": "N/A",
 "bits_per_raw_sample": 8,
 "nb_frames": 267,
 "nb_read_frames": "N/A",
 "nb_read_packets": "N/A",
 "extradata_size": 47,
 "tags": {
 "creation_time": "2020-05-19T10:09:46.000000Z",
 "language": "und",
 "handler_name": "L-SMASH Video Handler",
 "vendor_id": "[0][0][0][0]",
 "encoder": "AVC Coding"
 },
 "disposition": {
 "default": 1,
 "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
 }
 }
 ],
 "format": {
 "filename": "https:/devxxx001.s3.amazonaws.com/vertical-hd_720_1280_30fps.mp4",
 "nb_streams": 1,
 "nb_programs": 0,
 "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
 "format_long_name": "QuickTime / MOV",
 "start_time": 0,
 "duration": 8.9,
 "size": 2654719,
 "bit_rate": 2386264,
 "probe_score": 100,
 "tags": {
 "major_brand": "mp42",
 "minor_version": "0",
 "compatible_brands": "mp42mp41isomavc1",
 "creation_time": "2020-05-19T10:09:46.000000Z"
 }
 },
 "chapters": []
}



I need to know the aspect ratio of the video so that I can display it properly but
ffprobe
is returning "N/A" :

"sample_aspect_ratio": "N/A",
 "display_aspect_ratio": "N/A",



In addition, if I want to know the video container format (mp4 in this case), it is showing multiple formats instead of just one :


"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
 "format_long_name": "QuickTime / MOV",



I believe it may be an issue with the
ffprobe
command but I am unable to pass it options like on the command-line. Even then I don't know what options need to be passed to get the correct metadata.

-
recording live stream video from tv card using ffmpeg at window [on hold]
6 décembre 2013, par user2688423I want to record live stream every 1 second from tv card(tv signal) using ffmpeg in window.
first of all, to record live video from tv card, I tried below.
- First I tried this.
ffmpeg -list_devices true -f dshow -i dummy
then the result is
" [dshow @ 000000000024e6fe0] DirectShow video devices
[dshow @000000000024e6fe0] "SKYTV HD USB Maxx Video Capture"
[dshow @
000000000024e6fe0] DirectShow audio devices
[dshow @
000000000024e6fe0] "Analog Audio In(SKYTV HD USB Ma" "so I tried
ffmpeg -f dshow -i video="SKYTV HD USB Maxx Video Capture" -r 20
-threads 0 D ://test.mkvBut it didn't work. the Error message is
"[dshow@000000000034d920] Could not run filter
video=SKYTV HD USB
Maxx Video Capture : Input/output error"I use the device called 'SKYTV HD USB Maxx Video Capture' for getting tv signal(TV card).
- The First way deosn't work, I tried different way.
ffmpeg -y -f vfwcap -i list
then the result is
"[dshow @ 00000000003fd760] Driver 0
[dshow @ 00000000003fd760] Microsoft WDM Image Capture (Win32)
[dshow @ 00000000003fd760] Version : 6.1.7601.17514 list : Input/output error"
so I tried
ffmpeg -y -f vfwcap -r 25 -i 0 D ://out.mp4
then, there is some out.mp4 file in D drive but the file is nothing.
(I think it is not TV signal)what should i do to record live video every 1 second from tv card(tv signal) using ffmpeg in window ? And How can I set channel at tvcard(Because I want to get tv signal, there are many channels).
Please help..!