
Recherche avancée
Autres articles (42)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (7465)
-
FFmpeg : Apple ProRes 422 (LT) to mp4
23 juin 2016, par premunkI am trying to convert from Apple ProRes 422 (LT) to mp4. My input file info is :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’1. 1introduction. Mov’ :
metadata :
major_brand : qt
minor_version : 537199360
compatible_brands : qt
creation_time : 2015-10-19 23:24:05
duration : 00:03:27. 00, start : 0. 000000, bitrate : 48703 kb/s
stream #0:0(eng) : video : prores (apcs / 0x73637061), yuv422p10le(bt709), 1920x1080, 47126 kb/s, sar 1:1 dar 16:9, 23. 98 fps, 23. 98 tbr, 24k tbn, 24k tbc (default)
metadata :
creation_time : 2015-10-19 23:24:05
handler_name : apple alias data handler
encoder : apple prores 422 (lt)
timecode : 00:03:21:05
stream #0:1(eng) : audio : pcm_s16le (sowt / 0x74776f73), 48000 hz, stereo, s16, 1536 kb/s (default)
metadata :
creation_time : 2015-10-19 23:24:05
handler_name : apple alias data handler
timecode : 00:03:21:05
stream #0:2(eng) : data : none (tmcd / 0x64636d74) (default)
metadata :
creation_time : 2015-10-19 23:24:05
handler_name : apple alias data handler
timecode : 00:03:21:05Any help is appreciated. I can’t seem to find any relevant article.
-
opencv cannot read MP4 file from sony camcorder
7 juin 2016, par JundongThe sony camcorder recorded video in MP4 format. I am reading the file by
import cv2
vid = cv2.VideoCapture('sample.MP4')my OpenCV version is 2.4.8, as a Python module.
The codec of the ’sample.MP4’ is H.264, Linear PCM.
ffprobe sample.MP4
returns :
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C0004.mp4': Metadata:
> major_brand : XAVC
> minor_version : 16785407
> compatible_brands: XAVCmp42iso2
> creation_time : 2016-06-06 13:41:51 Duration: 00:00:15.02, start: 0.000000, bitrate: 50439 kb/s
> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/iec61966-2-4), 1920x1080 [SAR 1:1 DAR 16:9],
> 48655 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
> Metadata:
> creation_time : 2016-06-06 13:41:51
> handler_name : Video Media Handler
> encoder : AVC Coding
> Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
> Metadata:
> creation_time : 2016-06-06 13:41:51
> handler_name : Sound Media Handler
> Stream #0:2(und): Data: none (rtmd / 0x646D7472), 245 kb/s (default)
> Metadata:
> creation_time : 2016-06-06 13:41:51
> handler_name : Timed Metadata Media Handler
> Unsupported codec with id 0 for input stream 2It seems that the codec for
h.264
is missing. The version of myFFmpeg
is3.0
.I tried
avconv -i sample.MP4 -c:a copy -c:v copy sample_converted.mp4
to convert the sample.MP4 to sample_converted.mp4, this command line did not work. The commandffmpeg -i sample.mp4 sample_converted.mp4
worked ; however, it compromised the video quality badly.I used an online video converter : http://www.online-convert.com/ (which output nice quality video in mp4 format, but it has size limitation for free users)
to convert the MP4 to mp4, the command in Terminal as below :ffprobe 'sample_converted.mp4'
returns
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C0001_converted.mp4':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf57.36.100 Duration: 00:00:02.02, start: 0.000000, bitrate: 16777 kb/s
> Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 16801 kb/s, 59.94
> fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
> Metadata:
> handler_name : VideoHandler
> Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
> Metadata:
> handler_name : SoundHandlerObviously, the encoders, handler_names etc. of the sample.MP4 and sample_converted.mp4 are different. Any idea using FFmpeg or OpenCV to convert this raw video from camcorder to the readable format without compromising the video quality ?
-
How to disable printing video info in ffmpeg library ?
19 mai 2016, par KindermannEach time when I run my c code written with ffmpeg library, there is always some lengthy video info output in my console as follows :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_9359.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2012-12-11 19:55:15
Duration: 00:00:53.40, start: 0.000000, bitrate: 47283 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/bt709), 1920x1080, 45744 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
Metadata:
creation_time : 2012-12-11 19:55:15
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
creation_time : 2012-12-11 19:55:15How can I disable this output ? I don’t need it !