
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (86)
-
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 -
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) (...)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (7604)
-
Is there a media server which just receives any rtsp streams and serves them ?
7 mai 2015, par Given92I have some rtmp streams served over nginx-rtmp-module and the number of them will be changed dynamically.
But for the limit of client, I have to serve them in rtsp protocol. Obviously, It’s not supported by nginx-rtmp-module. So I plan to run a rtsp server in the same device, and convert the rtmp stream into rtsp stream with ffmpeg, then send the rtsp stream to the rtsp server. So that client could play the stream from the rtsp server.
The trouble is that I could not found a stable server which just receive any rtsp streams and serve them.
There is an example that fits all my need but it’s a little unstable.
I run it in verbose mode and send stream with :
ffmpeg -i rtmp://localhost/<name> -codec copy -ar 44100 -ac 1 -f rtsp rtsp://localhost:5545/<name>
</name></name>and play the stream with :
gst-launch-0.10 playbin2 uri=rtsp://<server>/<name>
</name></server>The video does not appear and there are some repeated warnning like this :
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpVorbisDepay:rtpvorbisdepay0: Could not decode stream.
Additional debug info:
gstrtpvorbisdepay.c(633): gst_rtp_vorbis_depay_process (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstRtpVorbisDepay:rtpvorbisdepay0:When I try :
gst-launch-1.0 playbin uri=rtsp://<server>/<name>
</name></server>it is stuck and no video appear :
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://211.68.127.12/box
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY requestWhen I play with :
ffplay rtsp://<server>/<name>
</name></server>The video appears but the quality depress me.
Here is the output :
```ffplay version 2.6.2 Copyright (c) 2003-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC) 20150304 (prerelease)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 2 times
[h264 @ 0x7f97f4000cc0] ref 7 overflow
[h264 @ 0x7f97f4000cc0] error while decoding MB 19 23
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 615 DC, 615 AC, 615 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 370 DC, 370 AC, 370 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] ref 4 overflow
[h264 @ 0x7f97f4000cc0] error while decoding MB 37 23
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 597 DC, 597 AC, 597 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 3 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 473 DC, 473 AC, 473 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 564 DC, 564 AC, 564 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 605 DC, 605 AC, 605 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 17 packets0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] ref 4 overflow
[h264 @ 0x7f97f4000cc0] error while decoding MB 27 20
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 742 DC, 742 AC, 742 MV errors in P frame
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 23 packets0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] out of range intra chroma pred mode at 9 4
[h264 @ 0x7f97f4000cc0] error while decoding MB 9 4
[h264 @ 0x7f97f4000cc0] concealing 1480 DC, 1480 AC, 1480 MV errors in I frame
[h264 @ 0x7f97f4000cc0] RTP: missed 7 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] Cannot use next picture in error concealment
[h264 @ 0x7f97f4000cc0] concealing 278 DC, 278 AC, 278 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets 0KB sq= 0B f=0/0
Last message repeated 2 times
[mp3 @ 0x7f97f4009280] RTP: missed 2 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 1 times
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets 0KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 5 packets
Input #0, rtsp, from 'rtsp://211.68.127.12/box':B sq= 0B f=0/0
Metadata:
title :
Duration: N/A, start: 0.000033, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p(tv), 720x576 [SAR 1:1 DAR 5:4], 24 fps, 24 tbr, 90k tbn, 48 tbc
Stream #0:1: Audio: mp3, 44100 Hz, mono, s16p, 56 kb/s
[h264 @ 0x7f97f4263d40] ref 7 overflow vq= 226KB sq= 0B f=0/0
[h264 @ 0x7f97f4263d40] error while decoding MB 19 23
[h264 @ 0x7f97f4263d40] Cannot use next picture in error concealment
[h264 @ 0x7f97f4263d40] concealing 615 DC, 615 AC, 615 MV errors in P frame
[h264 @ 0x7f97f4264580] Cannot use next picture in error concealment
[h264 @ 0x7f97f4264580] concealing 370 DC, 370 AC, 370 MV errors in P frame
[h264 @ 0x7f97f41699a0] ref 4 overflow
[h264 @ 0x7f97f41699a0] error while decoding MB 37 23
[h264 @ 0x7f97f41699a0] Cannot use next picture in error concealment
[h264 @ 0x7f97f41699a0] concealing 597 DC, 597 AC, 597 MV errors in P frame
[h264 @ 0x7f97f4264580] Cannot use next picture in error concealment
[h264 @ 0x7f97f4264580] concealing 473 DC, 473 AC, 473 MV errors in P frame
[h264 @ 0x7f97f4264580] Cannot use next picture in error concealment
[h264 @ 0x7f97f4264580] concealing 564 DC, 564 AC, 564 MV errors in P frame
[h264 @ 0x7f97f41699a0] Cannot use next picture in error concealment
[h264 @ 0x7f97f41699a0] concealing 605 DC, 605 AC, 605 MV errors in P frame
[h264 @ 0x7f97f4264580] out of range intra chroma pred mode at 9 4
[h264 @ 0x7f97f4264580] error while decoding MB 9 4
[h264 @ 0x7f97f4264580] concealing 1480 DC, 1480 AC, 1480 MV errors in I frame
[h264 @ 0x7f97f416a200] ref 4 overflow
[h264 @ 0x7f97f416a200] error while decoding MB 27 20
[h264 @ 0x7f97f416a200] Cannot use next picture in error concealment
[h264 @ 0x7f97f416a200] concealing 742 DC, 742 AC, 742 MV errors in P frame
[h264 @ 0x7f97f416a200] Cannot use next picture in error concealment
[h264 @ 0x7f97f416a200] concealing 278 DC, 278 AC, 278 MV errors in P frame
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets53KB sq= 0B f=0/0
Last message repeated 1 times
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets 60KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 10 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 2 times
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -4 -4
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -1 -1
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -1 -1
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 3 times
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -5 -5
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -4 -4
Last message repeated 1 times
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -7 -7
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -5 -5
[mp3 @ 0x7f97f4009280] overread, skip -10 enddists: -6 -6
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 2 times
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -7 -7
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -6 -6
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -3 -3
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[h264 @ 0x7f97f416a200] Cannot use next picture in error concealment
[h264 @ 0x7f97f42630e0] Cannot use next picture in error concealment
[h264 @ 0x7f97f416a200] concealing 327 DC, 327 AC, 327 MV errors in P frame
[h264 @ 0x7f97f42630e0] concealing 327 DC, 327 AC, 327 MV errors in P frame
[h264 @ 0x7f97f4263d40] Cannot use next picture in error concealment
[h264 @ 0x7f97f4263d40] concealing 325 DC, 325 AC, 325 MV errors in P frame
[h264 @ 0x7f97f41699a0] Cannot use next picture in error concealment
[h264 @ 0x7f97f41699a0] concealing 371 DC, 371 AC, 371 MV errors in P frame
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -4 -4 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -2 -2
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -7 -7 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -2 -2
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets08KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets05KB sq= 0B f=0/0
[h264 @ 0x7f97f4263d40] ref 3 overflow vq= 207KB sq= 0B f=0/0
[h264 @ 0x7f97f4263d40] error while decoding MB 20 34
[h264 @ 0x7f97f4263d40] Cannot use next picture in error concealment
[h264 @ 0x7f97f4263d40] concealing 119 DC, 119 AC, 119 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 1 times
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -2 -2 0B f=0/0
[h264 @ 0x7f97f4263d40] out of range intra chroma pred mode at 37 23
[h264 @ 0x7f97f4263d40] error while decoding MB 37 23
[h264 @ 0x7f97f4263d40] Cannot use next picture in error concealment
[h264 @ 0x7f97f4263d40] concealing 597 DC, 597 AC, 597 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -2 -2 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -3 -3
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -4 -4
[h264 @ 0x7f97f4000cc0] RTP: missed 16 packets
[h264 @ 0x7f97f41699a0] Cannot use next picture in error concealment
[h264 @ 0x7f97f41699a0] concealing 435 DC, 435 AC, 435 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 1 times
[mp3 @ 0x7f97f4009280] RTP: missed 2 packets211KB sq= 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -2 -2
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -2 -2
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -6 -6
[h264 @ 0x7f97f42630e0] Cannot use next picture in error concealment
[h264 @ 0x7f97f42630e0] concealing 519 DC, 519 AC, 519 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 1 times
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets158KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 8 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets58KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets55KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets55KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets56KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets66KB sq= 0B f=0/0
[h264 @ 0x7f97f416a200] ref 11 overflowvq= 158KB sq= 0B f=0/0
[h264 @ 0x7f97f416a200] error while decoding MB 13 29
[h264 @ 0x7f97f416a200] Cannot use next picture in error concealment
[h264 @ 0x7f97f416a200] concealing 351 DC, 351 AC, 351 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets54KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets61KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 6 packets57KB sq= 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -2 -2 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -8 enddists: -5 -5
[h264 @ 0x7f97f416a200] out of range intra chroma pred mode at 34 8
[h264 @ 0x7f97f416a200] error while decoding MB 34 8
[h264 @ 0x7f97f416a200] concealing 1275 DC, 1275 AC, 1275 MV errors in I frame
[h264 @ 0x7f97f4264580] Cannot use next picture in error concealment
[h264 @ 0x7f97f4264580] concealing 327 DC, 327 AC, 327 MV errors in P frame
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets152KB sq= 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -5 -5 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -5 -5 0B f=0/0
[h264 @ 0x7f97f42630e0] P sub_mb_type 12 out of range at 9 26=0/0
[h264 @ 0x7f97f42630e0] error while decoding MB 9 26
[h264 @ 0x7f97f42630e0] Cannot use next picture in error concealment
[h264 @ 0x7f97f42630e0] concealing 490 DC, 490 AC, 490 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 3 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 10 packets3KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets29KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets16KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets21KB sq= 0B f=0/0
[h264 @ 0x7f97f42630e0] Cannot use next picture in error concealment
[h264 @ 0x7f97f42630e0] concealing 513 DC, 513 AC, 513 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets19KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets27KB sq= 0B f=0/0
Last message repeated 1 times
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets32KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 3 packets
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets135KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets
[mp3 @ 0x7f97f4009280] overread, skip -9 enddists: -2 -2
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -4 -4 0B f=0/0
[h264 @ 0x7f97f4264580] Cannot use next picture in error concealment
[h264 @ 0x7f97f4264580] concealing 230 DC, 230 AC, 230 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 4 packets21KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 3 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 2 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets05KB sq= 0B f=0/0
Last message repeated 3 times
[h264 @ 0x7f97f4000cc0] RTP: missed 7 packets16KB sq= 0B f=0/0
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets
[h264 @ 0x7f97f4263d40] ref 13 overflowvq= 110KB sq= 0B f=0/0
[h264 @ 0x7f97f4263d40] error while decoding MB 12 33
[h264 @ 0x7f97f4263d40] Cannot use next picture in error concealment
[h264 @ 0x7f97f4263d40] concealing 172 DC, 172 AC, 172 MV errors in P frame
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets12KB sq= 0B f=0/0
Last message repeated 2 times
[h264 @ 0x7f97f416a200] Cannot use next picture in error concealment
[h264 @ 0x7f97f416a200] concealing 414 DC, 414 AC, 414 MV errors in P frame
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets116KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
Last message repeated 1 times
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets12KB sq= 0B f=0/0
[h264 @ 0x7f97f4000cc0] RTP: missed 6 packets
[h264 @ 0x7f97f4000cc0] RTP: missed 1 packets
[mp3 @ 0x7f97f4009280] RTP: missed 1 packets126KB sq= 0B f=0/0
[h264 @ 0x7f97f4263d40] Cannot use next picture in error concealment
[h264 @ 0x7f97f4263d40] concealing 327 DC, 327 AC, 327 MV errors in P frame
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -1 -1 0B f=0/0
[mp3 @ 0x7f97f4009280] overread, skip -5 enddists: -4 -4
[mp3 @ 0x7f97f4009280] overread, skip -7 enddists: -6 -6
^C[h264 @ 0x7f97f4263d40] ref 7 overflowq= 107KB sq= 0B f=0/0
[h264 @ 0x7f97f4263d40] error while decoding MB 8 24
[h264 @ 0x7f97f4263d40] Cannot use next picture in error concealment
[h264 @ 0x7f97f4263d40] concealing 581 DC, 581 AC, 581 MV errors in P frameI’m not sure whether ffmpeg or rtsp-server is the problem, does anyone have some ideas ?
Thanks very much.
-
No such file or directory Error with FFMPEG screenshot and CarrierWave custom model method
9 juillet 2013, par dodgerogers747I am using AWS CORS to upload videos to my site, all of which works as planned.
I have the following model method which runs as an after_create callback (for speed) to take a screenshot from the video file on AWS. I plan to move this out into a delayed job but I don't think this will solve this particular issue. Please advise if mistaken.
I use FFMPEG to take a screenshot from the AWS self.file location, I then send the file to CarrierWave by saving the file to self.screenshot where it is uploaded to AWS.
Approx. 50% of the time it errors out with
Errno::ENOENT - No such file or directory
for the location of the screenshot image.How can I rectify my code to remove this error and how come it only occurs around 50% of the time ? If anyone needs more code just shout.
video.rb
after_create :take_screenshot
mount_uploader :screenshot, ImageUploader
def take_screenshot
location = "#{Rails.root}/public/uploads/tmp/screenshots/#{unique}_#{File.basename(file)}.jpg"
system `ffmpeg #{log_level} -i #{self.file} -ss 00:00:0#{time_frame} -vframes 1 #{location}`
logger.debug "Trying to take screenshot from #{self.file}"
#pass the actual file to CarrierWave to handle the image upload
self.screenshot = File.open(location)
self.save
logger.debug "Deleting tmp file: #{location}: #{File.delete(location)}" if self.screenshot.present?
end
def unique
(0..6).map{(65+rand(26)).chr}.join
end
def log_level
"-loglevel panic"
end
def time_frame
rand(0..3)
endStack trace :
Started POST "/videos" for 127.0.0.1 at 2013-07-10 03:58:49 +0800
Processing by VideosController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"6M1Ia+Ag2E3HVKH2PO/p7jewxSpMPdWeVHGA933Bzjw=", "video"=>{"file"=>"http://bucketname.s3.amazonaws.com/uploads/video/file/671a87fb-91de-4eaf-a38a-1b25c51798e5/Good_7iron.m4v"}}
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 9 LIMIT 1
(0.1ms) BEGIN
SQL (0.2ms) INSERT INTO `videos` (`created_at`, `file`, `question_id`, `screenshot`, `updated_at`, `user_id`) VALUES ('2013-07-09 19:58:49', 'http://bucketname.s3.amazonaws.com/uploads/video/file/671a87fb-91de-4eaf-a38a-1b25c51798e5/Good_7iron.m4v', NULL, NULL, '2013-07-09 19:58:49', 9)
Trying to take screenshot from http://bucketname.s3.amazonaws.com/uploads/video/file/671a87fb-91de-4eaf-a38a-1b25c51798e5/Good_7iron.m4v
(0.8ms) ROLLBACK
Completed 500 Internal Server Error in 3550ms
Errno::ENOENT - No such file or directory - /Users/me/rails/project/public/uploads/tmp/screenshots/WCACLIC_Good_7iron.m4v.jpg:
app/models/video.rb:24:in `initialize'
app/models/video.rb:24:in `open'
app/models/video.rb:24:in `take_screenshot' -
Get frame from live video stream
10 avril 2013, par ricksterI am streaming live video from my camera on my android phone to my computer using the MediaRecorder class.
recorder.setCamera(mCamera);
recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(uav_UDP_Client.pfd.getFileDescriptor());
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);That's the basic idea. So I would like to show this stream in real time. My plan is to use FFMpeg to turn the latest frame into a .bmp and show the .bmp on my C# program every time there is a new frame.
The problem is there is no header until I stop the recording. So I can not use FFMpeg unless there is a header. I've looked at spydroid and using RTP but I do not want to use this method for various reasons.
Any ideas on how I can do this easily ?