Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (106)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

Sur d’autres sites (9767)

  • avdevice/alldevices : Mark devices as hidden

    13 mars 2024, par Andreas Rheinhardt
    avdevice/alldevices : Mark devices as hidden
    

    Both GCC and Clang create code that inlines the loops in
    next_input() and next_output() at high optimization
    levels (presumably when there are not too many devices)
    and this code leads to the creation of .got entries :
    e7 : 48 3b 3d 00 00 00 00 cmp 0x0(%rip),%rdi # ee <av_input_video_device_next+0xe>
    ea : R_X86_64_REX_GOTPCRELX ff_alsa_demuxer-0x4
    ee : 74 43 je 133 <av_input_video_device_next+0x53>
    f0 : 48 3b 3d 00 00 00 00 cmp 0x0(%rip),%rdi # f7 <av_input_video_device_next+0x17>
    f3 : R_X86_64_REX_GOTPCRELX ff_fbdev_demuxer-0x4
    f7 : 74 41 je 13a <av_input_video_device_next+0x5a>

    These relocations can't be fixed up lateron when it is known
    that the symbols exist in the same DSO.

    This commit therefore marks these symbols as hidden, leading
    to code like this :
    f7 : 48 8d 05 00 00 00 00 lea 0x0(%rip),%rax # fe <av_input_video_device_next+0xe>
    fa : R_X86_64_PC32 ff_alsa_demuxer-0x4
    fe : 48 39 c7 cmp %rax,%rdi
    101 : 74 55 je 158 <av_input_video_device_next+0x68>
    103 : 48 8d 05 00 00 00 00 lea 0x0(%rip),%rax # 10a <av_input_video_device_next+0x1a>
    106 : R_X86_64_PC32 ff_fbdev_demuxer-0x4
    10a : 48 39 c7 cmp %rax,%rdi
    10d : 74 50 je 15f <av_input_video_device_next+0x6f>

    (Note : It is actually strange that the compiler creates code
    that tries to read the addresses from the .got given that the
    addresses can be read directly from indev_list/outdev_list.)

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavdevice/alldevices.c
  • can't stream rtsp with ffmpeg

    7 novembre 2017, par xswxw222

    I want to stream rtsp with ffmpeg and ffserver

    I use on this config

    <feed>


    File /tmp/feed1.ffm
    FileMaxSize 200K

    # You could specify
    # ReadOnlyFile /saved/specialvideo.ffm
    # This marks the file as readonly and it will not be deleted or updated.

    # Specify launch in order to start ffmpeg automatically.
    # First ffmpeg must be defined with an appropriate path if needed,
    # after that options can follow, but avoid adding the http:// field
    #Launch ffmpeg

    # Only allow connections from localhost to the feed.
    ACL allow 127.0.0.1

    </feed>
    #<stream>
    #Format rtp
    #Feed feed1.ffm
    #VideoCodec libx264
    #VideoFrameRate 24
    #VideoBitRate 100
    #VideoSize 480x272
    #AVPresetVideo default
    #AVPresetVideo baseline
    #AVOptionVideo flags +global_header
    #
    #AudioCodec libfaac
    #AudioBitRate 32
    #AudioChannels 2
    #AudioSampleRate 22050
    #AVOptionAudio flags +global_header
    #</stream>

    and run ffserver.
    Now i run the ffmpeg like ffmpeg -i input.mp4 http://x.x.x.x:8090/out.h264.

    When i tried to watch on this url with ffplayer i got 2 error :

    1 : On ffplay terminal I see stream ends prematurely al 0 should be (SOME NUMBER) .

    2 : On ffserver terminal I see max packet size 0 too low   Error writing output header for stream live.h264

    I tried to add -packetsize 9999 but it stil show me those errors

    What can I do to fix that ?

  • Modify code so each snippets start from begin instead end

    13 décembre 2022, par Ohiowizard

    source : https://davidwalsh.name/video-preview#comment-515168
    &#xA;the part of code that trim videos into snippets :

    &#xA;

     # Loop and generate video snippets&#xA;    mkdir $tempdir&#xA;    interval=$(($length/$desiredsnippets-$starttimeseconds))&#xA;    for i in $(seq 1 $desiredsnippets)&#xA;    do&#xA;        # Format the second marks into hh:mm:ss format&#xA;        start=$(($(($i*$interval))&#x2B;$starttimeseconds))&#xA;        formattedstart=$(printf "%02d:%02d:%02d\n" $(($start/3600)) $(($start%3600/60)) $(($start%60)))&#xA;        echo &#x27;Generating preview part &#x27; $i $formattedstart&#xA;        # Generate the snippet at calculated time&#xA;        ffmpeg -i $sourcefile -vf scale=$dimensions -preset fast -qmin 1 -qmax 1 -ss $formattedstart -t $snippetlengthinseconds -threads $(nproc) $tempdir/$i.mp4&#xA;    done&#xA;

    &#xA;

    `

    &#xA;

    Video length is 3600 (60mins)
    &#xA;Desired snippets = 30, that mean 2mins each
    &#xA;It always start at 0:02:00 to 0:04:00 -> and so on
    &#xA;but i want it start at 0:00:00 (1st snippet) -> 0:02:00 (2nd snippet) -> (this put in code because it said invalid code format)

    &#xA;

      &#xA;
    • I want to make it trim from start of each snippets instead end of each snippets.
    • &#xA;

    • This code trim video into multiple parts(snippets) that set by user, and then merged all snippets into one video.
    • &#xA;

    &#xA;