
Recherche avancée
Autres articles (70)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (5191)
-
ffmpeg strftime no effect on windows
18 mai 2020, par BenI'm trying to auto mark the output file with timestamps with ffmpeg. Here's my test cmd :



.\ffmpeg.exe -y -loglevel 99 -i test.mp3 -strftime 1 %Y.ogg




I expected a file named
2020.ogg
, however only got%Y.ogg
. In another word, output filename is not processed bystrftime()
. I'm using powershell so there should be no relation with cmd's%%
escaping.


Here's the output : https://pastebin.com/LUVh2kFA I'm using static builds from https://ffmpeg.zeranoe.com (Thanks Zeranoe !) I confirmed that the problem exists in v4.2.2 and git-20200515. Is there any chance to fix it or am I doing it wrong ?


-
ffmpeg conversion from MOV to mp4 - how to conserve creation date
13 juin 2020, par jacobacciWindows 10 1909, latest updates.



I am helping a friend move his photos and videos from one Apple ID to another.
I have downloaded all items to my PC using iCloud for PC. I then proceeded to re-upload all the photos to the new Apple ID.
2'000 of the videos are MOV, which I cannot upload to iCloud. I seem to need to convert them to mp4 in order to upload them.



I have converted all of the MOVs to mp4 using the following batch



FOR /F "tokens=*" %%G IN ('dir /b *.MOV') DO ffmpeg -i "%%G" -f mp4 -vcodec copy -acodec mp3 "%%~nG.mp4"




This worked fine and I managed to upload the (now) mp4's to iCloud. Unfortunately all the mp4's now carry yesterday's date as creation date. In iCloud (and on the iPad) all the videos are now displayed with a creation date of 12.6.2020 and it is impossible to find a particular video. Also the context to the photos is lost.



Question :



- 

- Is there any way to (batch) convert 2'000 MOV to mp4 while preserving the creation date ?
- alternatively : is there any way to upload the original MOV files to iCloud ?






-
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.