Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (112)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • HTML5 audio and video support

    13 avril 2011, par

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (16302)

  • ffmpeg output separate channel from an input with multiple channels

    11 octobre 2017, par tiras muturi

    i run this command to be able to stream a udp live stream to a http live stream that is playable using a mobile application that am building.
    its just a stream with audio streams only.

    ffmpeg -i udp ://@localhost:1111 -map 0:a http://localhost:8090/feed1.ffm

    Input #0, mpegts, from 'udp://@localhost:1111':
     Duration: N/A, start: 54616.264622, bitrate: 768 kb/s
     Program 1
       Metadata:
     service_name    : Service 1
     service_provider: TLK
       Stream #0:0[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
     Program 2
    Metadata:
     service_name    : Service 2
     service_provider: TLK
    Stream #0:1[0x111]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 3
    Metadata:
     service_name    : Service 3
     service_provider: TLK
    Stream #0:2[0x121]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 4
    Metadata:
     service_name    : Service 4
     service_provider: TLK
    Stream #0:3[0x131]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
     Program 5
    Metadata:
     service_name    : Service 5
     service_provider: TLK
    Stream #0:4[0x141]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
     Program 6
    Metadata:
     service_name    : Service 6
     service_provider: TLK
    Stream #0:5[0x151]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
     Program 7
    Metadata:
     service_name    : Service 7
     service_provider: TLK
    Stream #0:6[0x161]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 8
    Metadata:
     service_name    : Service 1
     service_provider: TLK
    Stream #0:7[0x171]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s

    i get this output

    Stream mapping:
     Stream #0:0 -> #0:0 (mp2 (native) -> mp2 (native))
     Stream #0:0 -> #0:1 (mp2 (native) -> mp2 (native))
    Press [q] to stop, [?] for help
    size=     100kB time=00:00:07.19 bitrate= 113.8kbits/s speed=3.01x
    video:0kB audio:84kB subtitle:0kB other streams:0kB global headers:0kB  muxing overhead: 18.358242%

    i really want a way i can be able to map every input stream to have an output stream that can be accessed separately from the other like maybe if i need the first stream maybe i will just

    ffplay http://localhost:8090/feed1.ffm

    and if i need the 7th stream i will just

    ffplay http://localhost:8090/feed7.ffm

    Please can someone help me crack this issue. FFmpeg dont have complex examples for my current situation.

    this is my header information

    ubuntu@ip-localhost:~$ \
    ffmpeg -i udp://@localhost:4000 \
     -map 0:a:0     http://localhost:8090/feed1.ffm
     -map 0:a:1 http://localhost:8090/feed2.ffm
     -map 0:a:2 http://localhost:8090/feed3.ffm
     -map 0:a:3 http://localhost:8090/feed4.ffm
     -map 0:a:4 http://localhost:8090/feed5.ffm
     -map 0:a:5 http://localhost:8090/feed6.ffm
     -map 0:a:6 http://localhost:8090/feed7.ffm
     -map 0:a:7 http://localhost:8090/feed8.ffm

    ffmpeg version 3.2.4-1 16.04.york0 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.1 (Ubuntu 5.4.1-5ubuntu2 16.04.york1) 20170210
    configuration : —prefix=/usr —extra-version=’1 16.04.york0’ — toolchain=hardened —libdir=/usr/lib/x86_64-linux-gnu —incdir=/usr/include/x86_64-linux-gnu —enable-gpl —disable-stripping —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libebur128 —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-librubberband —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxvid —enable-libzmq —enable-libzvbi —enable-omx —enable-openal —enable-opengl —enable-sdl2 —enable-libdc1394 —enable-libiec61883 —enable-chromaprint —enable-frei0r —enable-libopencv —enable-libx264 —enable-shared
    libavutil 55. 34.101 / 55. 34.101
    libavcodec 57. 64.101 / 57. 64.101
    libavformat 57. 56.101 / 57. 56.101
    libavdevice 57. 1.100 / 57. 1.100
    libavfilter 6. 65.100 / 6. 65.100
    libavresample 3. 1. 0 / 3. 1. 0
    libswscale 4. 2.100 / 4. 2.100
    libswresample 2. 3.100 / 2. 3.100
    libpostproc 54. 1.100 / 54. 1.100

    Input #0, mpegts, from 'udp://@localhost:1111':
     Duration: N/A, start: 60047.944622, bitrate: 768 kb/s
     Program 1
       Metadata:
     service_name    : Service 1
     service_provider: TKL
    Stream #0:0[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 2
    Metadata:
     service_name    : Service 2
     service_provider: TKL
    Stream #0:1[0x111]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 3
    Metadata:
     service_name    : Service 3
     service_provider: TKL
    Stream #0:2[0x121]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 4
    Metadata:
     service_name    : Service 4
     service_provider: TKL
    Stream #0:3[0x131]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 5
    Metadata:
     service_name    : Service 5
     service_provider: TKL
    Stream #0:4[0x141]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 6
    Metadata:
     service_name    : Service 6
     service_provider: TKL
    Stream #0:5[0x151]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 7
    Metadata:
     service_name    : Service 7
     service_provider: TKL
    Stream #0:6[0x161]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Program 8
    Metadata:
     service_name    : Service 8
     service_provider: TKL
    Stream #0:7[0x171]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #0:0: Audio: mp2, 44100 Hz, mono, s16, 32 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Stream #0:1: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Output #1, ffm, to 'http://localhost:8090/feed2.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #1:0: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Output #2, ffm, to 'http://localhost:8090/feed3.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #2:0: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Output #3, ffm, to 'http://localhost:8090/feed4.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #3:0: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Output #4, ffm, to 'http://localhost:8090/feed5.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #4:0: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Output #5, ffm, to 'http://localhost:8090/feed6.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #5:0: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Output #6, ffm, to 'http://localhost:8090/feed7.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #6:0: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Output #7, ffm, to 'http://localhost:8090/feed8.ffm':
    Metadata:
    creation_time   : now
    encoder         : Lavf57.56.101
    Stream #7:0: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
     encoder         : Lavc57.64.101 mp2
    Stream mapping:
    Stream #0:0 -> #0:0 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #0:1 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #1:0 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #2:0 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #3:0 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #4:0 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #5:0 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #6:0 (mp2 (native) -> mp2 (native))
    Stream #0:0 -> #7:0 (mp2 (native) -> mp2 (native))
    Press [q] to stop, [?] for help

    thats my full console.

  • Replicate the format of a video to another

    10 octobre 2017, par Basj

    Let’s say I have :

    • video1.avi which is perfectly played (both sound and image) on my TV’s USB media input

    • video2.avi which is not recognized by the TV : "Imposible to read this format"

    I have tried lots of solutions, like :

    ffmpeg -i video2.avi -codec:a libmp3lame -q:a 0 -ac 2 -ar 48000 -joint_stereo 0^
          -codec:v libxvid -q:v 25 video2_reencoded.avi

    and when I compare video1.avi with video2_reencoded.avi with MediaInfo, they look similar in most aspects, but finally the TV won’t play video2_reencoded.avi.

    Is there a way with ffmpeg, to replicate all the specifications of video1.avi (sound encoding properties, video encoding properties, image size, container type, etc.) on video2.avi ?


    Appendix : output of MediaInfo for the three videos. In this specific example, video2.avi and video2_reencoded.avi are half-working : image ok but not the sound. In other video examples I tried, video2.avi and video2_reencoded.avi would be both totally "Impossible to read".

    video1.avi (i.e. working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 352 MiB
    Duration                                 : 51 min 22 s
    Overall bit rate                         : 959 kb/s
    Writing application                      : VirtualDubMod 1.5.10.3 | ... || (build 2550/release)
    Writing library                          : VirtualDubMod build 2550/release

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (MPEG)
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 51 min 22 s
    Bit rate                                 : 821 kb/s
    Width                                    : 720 pixels
    Height                                   : 400 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.114
    Stream size                              : 302 MiB (86%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Codec ID                                 : 55
    Codec ID/Hint                            : MP3
    Duration                                 : 51 min 22 s
    Bit rate mode                            : Constant
    Bit rate                                 : 128 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 47.0 MiB (13%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 40  ms (1.00 video frame)
    Interleave, preload duration             : 504  ms
    Writing library                          : LAME3.99r
    Encoding settings                        : -m s -V 4 -q 2 -lowpass 17 -b 128

    video2.avi (i.e. non-working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 1.37 GiB
    Duration                                 : 2 h 12 min
    Overall bit rate                         : 1 478 kb/s
    Writing application                      : VirtualDubMod 1.5.10.2 Fr | ... ||  (build 2540/release)
    Writing library                          : VirtualDubMod build 2540/release

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Muxing mode                              : Packed bitstream
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 2 h 12 min
    Bit rate                                 : 1 084 kb/s
    Width                                    : 624 pixels
    Height                                   : 368 pixels
    Display aspect ratio                     : 5:3
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.189
    Stream size                              : 1.00 GiB (73%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Codec ID                                 : 2000
    Duration                                 : 2 h 12 min
    Bit rate mode                            : Constant
    Bit rate                                 : 384 kb/s
    Channel(s)                               : 6 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 364 MiB (26%)
    Alignment                                : Split accross interleaves
    Interleave, duration                     : 40  ms (1.00 video frame)
    Interleave, preload duration             : 512  ms

    video2_reencoded.avi (i.e. non-working, reencoded, but still non-working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    Format profile                           : OpenDML
    File size                                : 1.13 GiB
    Duration                                 : 2 h 12 min
    Overall bit rate                         : 1 227 kb/s
    Writing application                      : Lavf57.26.100

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Muxing mode                              : Packed bitstream
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 2 h 12 min
    Bit rate                                 : 1 084 kb/s
    Width                                    : 624 pixels
    Height                                   : 368 pixels
    Display aspect ratio                     : 5:3
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.189
    Stream size                              : 1.00 GiB (88%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Codec ID                                 : 55
    Codec ID/Hint                            : MP3
    Duration                                 : 2 h 12 min
    Bit rate mode                            : Constant
    Bit rate                                 : 128 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 120 MiB (10%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 24  ms (0.60 video frame)
  • Transcoding Mp4 video on Android with FFMPEG

    18 octobre 2012, par geeknizer

    I've compiled FFMPEG binary from Bambuser project (refer question) and have pushed binary and .so files to application directory.

    But when I try running FFMPEG with input file, it always complains file not found.

    1|root@android:/data/data/com.bambuser.broadcaster # ls                        
    cache           libavcodec.so   libavfilter.so  libswscale.so
    ffmpeg          libavcore.so    libavformat.so  tutorial.mp4
    lib             libavdevice.so  libavutil.so
    1|root@android:/data/data/com.bambuser.broadcaster # ./ffmpeg -i tutorial.mp4 out.mp4                                                              
    FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers
     built on May  8 2012 10:11:37 with gcc 4.4.3
     configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/tarandeep/tools/android-ndk/platforms/android-3/arch-arm --soname-prefix=/data/data/com.bambuser.broadcaster/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-encoder=mpeg2video --enable-encoder=nellymoser --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags=
     libavutil     50.34. 0 / 50.34. 0
     libavcore      0.16. 0 /  0.16. 0
     libavcodec    52.99. 1 / 52.99. 1
     libavformat   52.88. 0 / 52.88. 0
     libavdevice   52. 2. 2 / 52. 2. 2
     libavfilter    1.69. 0 /  1.69. 0
     libswscale     0.12. 0 /  0.12. 0
    tutorial.mp4: No such file or directory

    I've tried placing file in /sdcard and other locations, I always get same output