Recherche avancée

Médias (91)

Autres articles (41)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (7860)

  • Android : Show quick preview (live) before exporting FFmpeg Video

    1er mai 2023, par akash varlani

    Basically, I am developing a video editing app that lets the user choose some of their images and create a video slide show with music.

    



    I am using FFMPEG to generate video slide show from images but the problem is I can only show the preview of the video after executing FFMPEG command.

    



    Is googled so many blogs and all and I know there is a possible way available to display the preview of the output.

    



    Check below image from reference app. I am developing something similar to this app. There is an option to replace the image in the video. This app displays instant preview once I change the image.

    



    enter image description here

    



    Here is the link of the reference app if anyone wants to check :

    



    Clicking an EXPORT button this app lets you generate a video output. I can do that as I know FFMPEG and how to generate OUTPUT FILE using FFMPEG but what I don't know is how to display a quick preview of OUTPUT VIDEO before generating actual VIDEO FILE.

    



    On my UBUNTU device, I can view the output of FFMPEG command using FFPLAY tool but how to do the same on android device.

    



    Some useful link :
http://androidwarzone.blogspot.com/2011/12/ffmpeg4android.html

    


  • About Ffmpeg,Console show 'frame=0 fps=0.0 q=0.0 Lsize=0kB time=00:00:00.00' No data pull&push

    9 janvier 2019, par Lus

    I want to use Ffmpeg to pull&push video stream from HLS to RTMP.at first it’s normal,but when I open more,it’s run normally ,but no video data pull&push

    Environment:Windows64+Ngg-§rtmp-static+Ffmpeg-static+Java1.8

    It’s useless,even if I restart rtmp-server.

    ffmpeg -i xxx/live.m3u8 -vcodec h264-s 720*480 -an -f flv -y rtmp://xxx

    The first few video streams is normal,but when I open more streams (5+),
    it run normally,but no data pull.like this.

    2019-01-08 10:58:15.658  INFO ->frame=0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=0 drop=720 speed=   0x
    2019-01-08 10:58:16.598  INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
    2019-01-08 10:58:16.984  INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik30.ts' for reading
    2019-01-08 10:58:17.083  INFO ->frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=0 drop=744 speed=   0x    
    2019-01-08 10:58:18.033  INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
    2019-01-08 10:58:18.146  INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik31.ts' for reading
    2019-01-08 10:58:18.267  INFO ->frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=0 drop=770 speed=   0x    
    2019-01-08 10:58:19.220  INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
    2019-01-08 10:58:19.317  INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik32.ts' for reading
    2019-01-08 10:58:19.415  INFO ->[http @ 0000015efb138600] Opening 'xxx/1/seghik33.ts' for reading
    2019-01-08 10:58:19.494  INFO ->frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=0 drop=795 speed=   0x    
    2019-01-08 10:58:20.375  INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
    2019-01-08 10:58:20.486  INFO ->[http @ 0000015efb138600] Opening 'xxx/1/seghik34.ts' for reading
  • How can I change slice_type which is show in Elecard stream analyzer using ffmpeg ?

    10 octobre 2018, par Tooraj Jam

    I’m not ffmpeg and encodding expert and am trying to encode a MP4 file to MPEG-4 h264 .ts file.

    When Elecard stream analyzer is analyzing my result .ts file, it shows slice_type = 7 for all of i-frames as you can see in the attached screenshot.

    How can I change all these to slice_type = 2 ?

    My ffmpeg command :

    -i Source.mp4 \
    -filter:v 'setpts=0+PTQ-STARTPTS' -metadata:s:v:0 start_time=0 \
    -f adts -c:a libfdk_aac  -profile:a aac_he  -strict -2 -ar 48000 -b:a 48k \
    -f mpegts -c:v libx264  -vbsf h264_mp4toannexb -strict experimental -    profile:v main -level:v 3.0 -preset:v slow -movflags faststart -pat_period 100 \
    -x264opts nal-hrd=cbr:force-cfr=1 -crf 25 -vf scale=w=640:h=360 -aspect 16:9 \
    -bf 1  -sc_threshold 0 -keyint_min 2*25 -g 2*25 \
    -force_key_frames "expr:gte(t,n_forced*50)" -max_muxing_queue_size 1500k \
    -coder 1  -refs 2 \
    -b:v 750k -minrate 750k -maxrate 750k -bufsize 1500k \
    -vsync 1 -framerate 25000/1001 \
    -x264opts "bitrate=750:vbv-maxrate=750:vbv-bufsize=1500"\
    -pix_fmt yuv420p  -r 25 -x264opts force-cfr \
    -mbs_per_slice 1 -y dest.ts

    enter image description here