Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (44)

  • Les formats acceptés

    28 janvier 2010, par

    Les 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 (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (7248)

  • FFMPEG error while receiving rtsp stream

    8 avril 2014, par Pawel Rutka

    I got error with receiving rtsp stream from IPCam Edimax IC-3030 and I don't know what to do. Can anyone help me or show me a way to solution ?

    /home/prog12# ffplay "rtsp://192.168.1.7/ipcam_h264.sdp"
    ffplay version 2.1.4 Copyright (c) 2003-2014 the FFmpeg developers
    built on Mar 22 2014 18:16:53 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-      libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable- libxvid --enable-x11grab --enable-libvpx --enable-libmp3lame

    ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

    [rtsp @ 0xb0c006c0] UDP timeout, retrying with TCPsq=    0B f=0/0  
    [rtsp @ 0xb0c006c0] method PAUSE failed: 501 Not Implemented
    [rtsp @ 0xb0c006c0] Could not find codec parameters for stream 0 (Video: h264): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, rtsp, from 'rtsp://192.168.1.7/ipcam_h264.sdp':
    Metadata:
    title           : IPCam
    Duration: N/A, bitrate: 64 kb/s
    Stream #0:0: Video: h264, 90k tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s
    SDL_OpenAudio (1 channels):
    No more channel combinations to try, audio open failed
    [rtsp @ 0xb0c006c0] UDP timeout, retrying with TCPsq=    0B f=0/0  
    [rtsp @ 0xb0c006c0] method PAUSE failed: 501 Not Implemented
    [rtsp @ 0xb0c006c0] UDP timeout, retrying with TCPsq=    0B f=0/0  
    [rtsp @ 0xb0c006c0] method PAUSE failed: 501 Not Implementedf=0/0  
    [rtsp @ 0xb0c006c0] UDP timeout, retrying with TCPsq=    0B f=0/0  
    [rtsp @ 0xb0c006c0] method PAUSE failed: 501 Not Implemented
    nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
    nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
    nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
    nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
    nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  

    Thats the output.

    EDIT

    ps ax| grep -i pulse
    8904 ?        S<l></l>usr/bin/pulseaudio --start --log-target=syslog
    10369 pts/1    S+     0:00 grep --color=auto -i pulse

    And for new command :

    sudo ffplay -video_size 640x480 "rtsp://192.168.1.7/ipcam_h264.sdp"
    ffplay version 2.1.4 Copyright (c) 2003-2014 the FFmpeg developers
    built on Mar 22 2014 18:16:53 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx --enable-libmp3lame

    Option video_size not found.aq=    0KB vq=    0KB sq=    0B f=0/0  
  • FFMPEG incorrect image extension fails coding [closed]

    14 novembre 2016, par G.T.

    I have a problem using ffmpeg on images. My problem is that quite a lot of images on the internet has incorrect extension ( png files names .jpg and jpg files named .png) which makes the ffmpeg fail.

    I couldn’t find any documentation on the internet how can this be fixed ? Can I force somehow ffmpeg to try to look in other codec types too not just the ones the extension suggests ?

    To reproduce this you just need to download a png from the internet and rename it’s extension to .jpg

    And even if you use the simplest command like ffmpeg -i image.jpg it fails with :

    ffprobe.exe -i tux.jpg -report
    ffprobe version N-61663-g19139d8 Copyright (c) 2007-2014 the FFmpeg developers
     built on Mar 20 2014 22:06:17 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 67.100 / 52. 67.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 34.101 / 55. 34.101
     libavdevice    55. 11.100 / 55. 11.100
     libavfilter     4.  3.100 /  4.  3.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    [AVIOContext @ 00000000041614e0] Statistics: 41236 bytes read, 0 seeks
    [mjpeg @ 0000000004160d60] marker=db avail_size_in_buf=41068
    [mjpeg @ 0000000004160d60] dqt: invalid precision
    [mjpeg @ 0000000004160d60] marker parser used 3 bytes (20 bits)
    [mjpeg @ 0000000004160d60] marker=fe avail_size_in_buf=40036
    [mjpeg @ 0000000004160d60] marker parser used 2 bytes (16 bits)
    [mjpeg @ 0000000004160d60] marker=cf avail_size_in_buf=39899
    [mjpeg @ 0000000004160d60] mjpeg: unsupported coding type (cf)
    [mjpeg @ 0000000004160d60] marker parser used 0 bytes (0 bits)
    [mjpeg @ 0000000004160d60] marker=c3 avail_size_in_buf=39465
    [mjpeg @ 0000000004160d60] sof0: picture: 4697x50895
    [image2 @ 000000000415fee0] decoding for stream 0 failed
    [image2 @ 000000000415fee0] Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    tux.jpg: End of file

    PS : I tried to increase analyzeduration and probsize if that’s not obvious but same thing happens.

  • running multiple FFmpeg instances to encode udp stream gives error

    24 mars 2014, par user2854116

    Please someone help me to fix the problem below

    I am trying to encode multiple udp streams in HLS format. I run one by one instance (process) of encoding on the system. The application is working fine and I was able to encode, receive and play the streams using a player running on a STB (Set Top Box). The encoding was OK till running the 5 th instance. When I started running the 6th encoding instance on the system, the stream output starts freezing in all the 6 encoded outputs.

    I am using a Intel Xeon based Server with 24 cores and 32GB of RAM.

    Here is my ffmpeg build info.

    ffmpeg
    ffmpeg version N-61057-gec6d043 Copyright (c) 2000-2014 the FFmpeg developers
    built on Mar 4 2014 05:33:48 with gcc 4.6 (Debian 4.6.3-1)
    configuration : —prefix=/root/ffmpeg-static/64bit —extra-cflags='-I/root/ffmpeg-static/64bit/include -static' —extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' —extra-libs='-lxml2 -lexpat -lfreetype' —enable-static —disable-shared —disable-ffserver —disable-doc —enable-bzlib —enable-zlib —enable-postproc —enable-runtime-cpudetect —enable-libx264 —enable-gpl —enable-libtheora —enable-libvorbis —enable-libmp3lame —enable-gray —enable-libass —enable-libfreetype —enable-libopenjpeg —enable-libspeex —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-version3 —enable-libvpx

    I am using the below command to encode one channel :

    ffmpeg -loglevel info -i "udp://@239.1.1.9:1009?fifo_size=1000000&amp;overrun_nonfatal=1" -map 0:p:1:0 -map 0:p:1:1 -vcodec h264 -acodec aac -profile main -preset fast -g 12 -r 23.98 -s 256x144 -aspect 16:9 -b:v 166k -minrate 166k -maxrate 166k -bufsize 166k -vol 512 -b:a 128k -ac 2 -ar 48000 -strict experimental -flags -global_header -f ssegment -segment_time 10 -segment_wrap 30000 -segment_list Food_256x144_main_394.m3u8 -segment_list_flags +live -segment_list_size 6 -segment_format mpegts Food_256x144_main_394-%05d.ts -map 0:p:2:0 -map 0:p:2:1 -vcodec h264 -acodec aac -profile main -preset fast -g 12 -r 23.98 -s 640x360 -aspect 16:9 -b:v 722k -minrate 722k -maxrate 722k -bufsize 722k -vol 512 -b:a 128k -ac 2 -ar 48000 -strict experimental -flags -global_header -f ssegment -segment_time 10 -segment_wrap 30000 -segment_list Food_640x360_main_950.m3u8 -segment_list_flags +live -segment_list_size 6 -segment_format mpegts Food_640x360_main_950-%05d.ts -map 0:p:2:0 -map 0:p:2:1 -vcodec h264 -acodec aac -profile main -preset fast -g 12 -r 23.98 -s 960x540 -aspect 16:9 -b:v 1472k -minrate 1472k -maxrate 1472k -bufsize 1472k -vol 512 -b:a 128k -ac 2 -ar 48000 -strict experimental -flags -global_header -f ssegment -segment_time 10 -segment_wrap 30000 -segment_list Food_960x540_main_1700.m3u8 -segment_list_flags +live -segment_list_size 6 -segment_format mpegts Food_960x540_main_1700-%05d.ts -map 0:p:2:0 -map 0:p:2:1 -vcodec h264 -acodec aac -profile main -preset fast -g 12 -r 23.98 -s 1280x720 -aspect 16:9 -b:v 2772k -minrate 2772k -maxrate 2772k -bufsize 2772k -vol 512 -b:a 128k -ac 2 -ar 48000 -strict experimental -flags -global_header -f ssegment -segment_time 10 -segment_wrap 30000 -segment_list Food_1280x720_main_3000.m3u8 -segment_list_flags +live -segment_list_size 6 -segment_format mpegts Food_1280x720_main_3000-%05d.ts

    The sample error messages I am getting after adding the 6 th encoding instance is as below ( I have pasted only few lines of error message for reference as the log message is too long )

    • [list=]
      2563489 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 1 5
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 10 6
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 33 7
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] ac-tex damaged at 37 8
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] slice mismatch
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] ac-tex damaged at 10 10
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 5 11
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 2 12
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 1 13
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 16 14
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 4 15
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 13 16
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 6 17
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 24 18
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 25 19
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 4 20
      2563490 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 28 21
      2563491 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] slice mismatch
      2563491 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] ac-tex damaged at 38 23
      2563491 [main] DEBUG com.ivz.streamer.FFmpegStreamer - Stream from process : [mpeg2video @ 0x24d2100] 00 motion_type at 14 24