
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 (29)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (6200)
-
How to completely hide the timestamp from recording/image from FFMPEG ? [migrated]
3 septembre 2021, par LakshayI tried multiple commands from similar questions, but none is working for me.


-timecode 00:00:00:00
gives error "timestamp is out of range for mov/mp4 format"

-vf
ordatetext
doesn't work !

Full command :
ffmpeg -i "rtsp://192.168.0.100:554/user=admin&password=&channel=3&stream=0.sdp?real_stream--rtp-caching=100" -vcodec copy -r 60 -t 3540 -timecode 00:00:00:00 -y 3.mp4


Output log :


ffmpeg version 2021-04-07-git-c06465a70b-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 56. 72.100 / 56. 72.100
 libavcodec 58.135.100 / 58.135.100
 libavformat 58. 77.100 / 58. 77.100
 libavdevice 58. 14.100 / 58. 14.100
 libavfilter 7.111.100 / 7.111.100
 libswscale 5. 10.100 / 5. 10.100
 libswresample 3. 10.100 / 3. 10.100
 libpostproc 55. 10.100 / 55. 10.100
Input #0, rtsp, from 'rtsp://192.168.0.100:554/user=admin&password=&channel=3&stream=0.sdp?real_stream--rtp-caching=100':
 Metadata:
 title : RTSP Session
 Duration: N/A, start: 0.083333, bitrate: N/A
 Stream #0:0: Video: h264 (High), yuv420p(progressive), 944x1080, 12 fps, 12 tbr, 90k tbn, 180k tbc
[mp4 @ 00000211ca19f940] Application provided duration: -9223372036854775808 / timestamp: -9223372036854775808 is out of range for mov/mp4 format
[mp4 @ 00000211ca19f940] pts has no value
Output #0, mp4, to '6.mp4':
 Metadata:
 title : RTSP Session
 timecode : 00:00:00:00
 encoder : Lavf58.77.100
 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 944x1080, q=2-31, 0.02 fps, 12 tbr, 15360 tbn, 60 tbc 
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 00000211ca19f940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mp4 @ 00000211ca19f940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect 
timestamps in the output file.
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1170.6kbits/s speed=2.59x 
[rtsp @ 00000211c9bdf080] RTP: missed 18 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1082.4kbits/s speed=1.42x 
[rtsp @ 00000211c9bdf080] RTP: missed 11 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1094.2kbits/s speed=1.31x 
[rtsp @ 00000211c9bdf080] RTP: missed 7 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1212.8kbits/s speed= 1.2x 
[rtsp @ 00000211c9bdf080] RTP: missed 16 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet
[rtsp @ 00000211c9bdf080] RTP: missed 2 packets
frame= 205 fps= 14 q=-1.0 size= 2560kB time=00:00:17.16 bitrate=1221.7kbits/s speed=1.15x



-
How to generate a gif image from a video with laravel-ffmpeg ?
27 août 2021, par Jeannot21I am working on a project with laravel 7 and ffmpeg my problem is that I would like to generate a gif image from a video uploader but its not working.


I created a job named ConvertImageGifFromVideo here is its code :


class ConvertImageGifFromVideo implements ShouldQueue
{
 use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

/**
 * Create a new job instance.
 *
 * @return void
 */
public $video;
public function __construct(Video $video)
{
 $this->video = $video;
}

/**
 * Execute the job.
 *
 * @return void
 */
public function handle()
{

 $destination = '/'.$this->video->uid . '/'.$this->video->uid. '.gif';
 $result = Storage::disk('video-temp/'.$this->video->path);
 $ffmpeg = FFMpeg::create();
 $video = $ffmpeg->open($result);
 $video->gif(TimeCode::fromSeconds(2), new Dimension(640, 480), 3)->save($destination);

 $this->video->update([
 "image_gif" => $this->video->uid. '.gif',
 ]);
 
 }



}


and here is the error message [2021-08-27 12:47:33] [87] Failed : App \ Jobs \ ConvertImageGifFromVideo
And I would like to know if anyone has already encountered this kind of problem or if there is another way to write this code ?


-
grabbing hevc h265 stream using ffmpeg
26 août 2021, par hendymanI have a problem when I try to grab h265 encoded video from ip camera using rtsp protocol.
I want to save stream from camera and i use
https://github.com/sahilchaddha/node-rtsp-recorder/
to do this. Almost all works perfectly but output video has green bars and I don't know why.

These are my parameters


ChildProcess {
 _events: [Object: null prototype] {},
 _eventsCount: 0,
 _maxListeners: undefined,
 _closesNeeded: 1,
 _closesGot: 0,
 connected: false,
 signalCode: null,
 exitCode: null,
 killed: false,
 spawnfile: 'ffmpeg',
 _handle: Process {
 onexit: [Function],
 pid: 96408,
 [Symbol(owner_symbol)]: [Circular]
 },
 spawnargs: [
 'ffmpeg',
 '-i',
 'rtsp://[...]',
 '-vcodec',
 'copy',
 'videos/cam1/Aug-26th-21/video/2021-8-26-5-51-13.mp4'
 ],
 pid: 96408,
 stdin: null,
 stdout: null,
 stderr: null,
 stdio: [ null, null, null ],
 [Symbol(kCapture)]: false
}



and result
image