Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (64)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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 2011

    Contrairement à 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) (...)

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

Sur d’autres sites (8894)

  • FFMPEG muxing overhead unknown creating HLS Live stream from mp4 files

    9 juillet 2021, par user72261

    I am using FFMPEG Concatenate to combine a number of mp4 files into a live HLS stream after around 40 seconds FFMPEG stops with error.

    


    I am working in PHP launching the FFMPEG command from there using exec as this project relies on users input from there own control panels.

    


    This is the error i am getting.

    


    ffmpeg version N-57204-gc7c138e411-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  0.100 / 59.  0.100
  libavformat    59.  0.100 / 59.  0.100
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.101 /  8.  0.101
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x72fdcc0] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from '/storage/($username)/hls/playlist.txt':
  Duration: N/A, start: 0.000000, bitrate: 1404 kb/s
  Stream #0:0(und): Video: h264 (Main) (avc3 / 0x33637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 1183 kb/s, 25 fps, 25 tbr, 180k tbn
    Metadata:
      handler_name    : Edgeware Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:1(swe): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 221 kb/s
    Metadata:
      handler_name    : Edgeware Audio Media Handler
      vendor_id       : [0][0][0][0]
Output #0, hls, to '/storage/($username)/hls/playlist.m3u8':
  Metadata:
    encoder         : Lavf59.0.100
  Stream #0:0(und): Video: h264 (Main) (avc3 / 0x33637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=2-31, 1183 kb/s, 25 fps, 25 tbr, 90k tbn
    Metadata:
      handler_name    : Edgeware Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:1(swe): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 221 kb/s
    Metadata:
      handler_name    : Edgeware Audio Media Handler
      vendor_id       : [0][0][0][0]
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-1.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7314640] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_0.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7300740] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_1.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7313e40] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_2.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7313e40] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_3.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7313e40] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_4.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7313e40] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_5.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7313e40] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_6.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7313e40] Auto-inserting h264_mp4toannexb bitstream filter
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_7.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_8.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/69426_9.ts' for writing
[hls @ 0x7303800] Opening '/storage/($username)/hls/playlist.m3u8.tmp' for writing
frame=  900 fps=0.0 q=-1.0 Lsize=N/A time=00:00:36.03 bitrate=N/A speed= 268x    
video:7232kB audio:973kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown


    


    This is the FFMPEG command i am running

    


    exec('ffmpeg -y -nostdin -hide_banner -re -f concat -safe 0 -i "' . $CONCAT_FILE . '" -c copy -f hls -start_number 0 -hls_init_time 4 -hls_time 4 -hls_list_size 8 -hls_segment_type mpegts -hls_allow_cache 0 -hls_flags delete_segments+discont_start -hls_segment_filename "' . $SEGMENT_FORMAT . '" "' . $PLAYLIST_NAME . '" );


    


    All mp4 files are encoded to h264 with the same specifications and if the video has audio it is encoded to aac.

    


    I am also using the latest version of the FFMPEG binary for linux.

    


    Has anyone else faced this issue ?

    


  • Video overlay of several network streams using ffmpeg

    24 avril 2018, par Hristo Ivanov

    I am writing my first program using the FFMPEG libraries, unfortunately it is not a simple one.

    What I need is to :

    • capture several network inputs(udp).
    • demux the inputs.
    • overlay the video streams.
    • mix the audio(or some other logic).
    • encode the resulting streams.
    • remux the streams and write the result to file.

    For now I am playing with the ffmpeg.exe tool trying achieve this functionality. The command I have looks like this :

    .\ffmpeg.exe -threads auto -y -i input0 -i input1 \
       -filter_complex "[0:v]scale=1920x1080[v0];[1:v]scale=480x270[v1];[v0][v1]overlay=1440:810[v2]" \
       -map [v2] -map 0:a -c:v libx264 -preset ultrafast -c:a copy output.mp4

    When input0 and input1 are files the resulting output is correct, on the other hand, when the inputs are udp streams the resulting output is not correct, the video freezes most of the time.

    The file inputs are generated from the udp streams, using the following command :

    .\ffmpe_Last.exe -threads auto -y -i "udp://@ip:port" -c copy -f mpegts input1.mpg

    Question 1.
    Why is the above command not producing good ouput for upd streams ? What are the differences between the original stream and the dump of that stream for ffmpeg.exe.

    Question 2.
    Is there some argument/s that can fix the command ?

    Question 3.
    What logic/algorithm is needed to correctly overlay two network streams.

  • How to set the rotation angle of jpeg with ffmpeg

    20 avril 2022, par Feng Nier

    I have figured out how to get the rotation of the jpeg,

    


    auto m = av_dict_get(frame->metadata, "orientation", nullptr, AV_DICT_IGNORE_SUFFIX); 


    


    but I am not able to set it by ffmpeg.