Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (79)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (4304)

  • libavcodec/libx264 : fix reference frame computation based on level

    16 avril 2020, par Josh Brewster
    libavcodec/libx264 : fix reference frame computation based on level
    

    The current implementation allows passing levels to libavcodec as
    integers (such as "31" instead of "3.1").

    However, in this case, the maximum reference frame value per level was
    ignored because libavcodec converted the string to 310 instead of 31.

    Since libx264 has correctly parsed the level to int
    (x4->params.i_level_idc), we should rely on this value instead of
    attempting to parse the level string on our own.

    Signed-off-by : Josh Brewster <josh.brewster@protonmail.com>
    Signed-off-by : Josh de Kock <josh@itanimul.li>

    • [DH] libavcodec/libx264.c
  • Edit H264 video stream header information ("start_pts" and "start_time")

    27 juin 2020, par David

    I have a video clip that appears to be slightly corrupted. Does not play on VLC but works on Potplayer. I used FFprobe to get information on the video.

    &#xA;

    The problem appears to be with the start points of the video stream :

    &#xA;

    time_base=1/90000&#xA;start_pts=585050940&#xA;start_time=6500.566000&#xA;duration_ts=585050940&#xA;duration=6500.566000&#xA;bit_rate=3123218&#xA;

    &#xA;

    I'm just wondering whether it is possible to manually edit the "start_pts" and "start_time" to 0 ? Is there any specific software to do this ? Due to large size of video file, I couldn't load it in Notepad++.

    &#xA;

    Full ffprobe output shown below :

    &#xA;

    # ffprobe output&#xA;&#xA;[streams.stream.0]&#xA;index=0&#xA;codec_name=h264&#xA;codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10&#xA;profile=unknown&#xA;codec_type=video&#xA;codec_time_base=1/60&#xA;codec_tag_string=avc1&#xA;codec_tag=0x31637661&#xA;width=1920&#xA;height=1080&#xA;coded_width=1920&#xA;coded_height=1080&#xA;closed_captions=0&#xA;has_b_frames=0&#xA;sample_aspect_ratio=N/A&#xA;display_aspect_ratio=N/A&#xA;pix_fmt=unknown&#xA;level=-99&#xA;color_range=unknown&#xA;color_space=unknown&#xA;color_transfer=unknown&#xA;color_primaries=unknown&#xA;chroma_location=unspecified&#xA;field_order=unknown&#xA;timecode=N/A&#xA;refs=1&#xA;is_avc=true&#xA;nal_length_size=4&#xA;id=N/A&#xA;r_frame_rate=30/1&#xA;avg_frame_rate=30/1&#xA;time_base=1/90000&#xA;start_pts=585050940&#xA;start_time=6500.566000&#xA;duration_ts=585050940&#xA;duration=6500.566000&#xA;bit_rate=3123218&#xA;max_bit_rate=N/A&#xA;bits_per_raw_sample=N/A&#xA;nb_frames=195017&#xA;nb_read_frames=N/A&#xA;nb_read_packets=N/A&#xA;&#xA;[streams.stream.0.disposition]&#xA;default=1&#xA;dub=0&#xA;original=0&#xA;comment=0&#xA;lyrics=0&#xA;karaoke=0&#xA;forced=0&#xA;hearing_impaired=0&#xA;visual_impaired=0&#xA;clean_effects=0&#xA;attached_pic=0&#xA;timed_thumbnails=0&#xA;&#xA;[streams.stream.0.tags]&#xA;language=und&#xA;handler_name=VideoHandler&#xA;&#xA;[streams.stream.1]&#xA;index=1&#xA;codec_name=aac&#xA;codec_long_name=AAC (Advanced Audio Coding)&#xA;profile=LC&#xA;codec_type=audio&#xA;codec_time_base=1/48000&#xA;codec_tag_string=mp4a&#xA;codec_tag=0x6134706d&#xA;sample_fmt=fltp&#xA;sample_rate=48000&#xA;channels=2&#xA;channel_layout=stereo&#xA;bits_per_sample=0&#xA;id=N/A&#xA;r_frame_rate=0/0&#xA;avg_frame_rate=0/0&#xA;time_base=1/48000&#xA;start_pts=0&#xA;start_time=0.000000&#xA;duration_ts=312029184&#xA;duration=6500.608000&#xA;bit_rate=189376&#xA;max_bit_rate=189376&#xA;bits_per_raw_sample=N/A&#xA;nb_frames=304718&#xA;nb_read_frames=N/A&#xA;nb_read_packets=N/A&#xA;&#xA;[streams.stream.1.disposition]&#xA;default=1&#xA;dub=0&#xA;original=0&#xA;comment=0&#xA;lyrics=0&#xA;karaoke=0&#xA;forced=0&#xA;hearing_impaired=0&#xA;visual_impaired=0&#xA;clean_effects=0&#xA;attached_pic=0&#xA;timed_thumbnails=0&#xA;&#xA;[streams.stream.1.tags]&#xA;language=eng&#xA;handler_name=SoundHandler&#xA;&#xA;[format]&#xA;filename=D\:\\Start\\test.mp4&#xA;nb_streams=2&#xA;nb_programs=0&#xA;format_name=mov,mp4,m4a,3gp,3g2,mj2&#xA;format_long_name=QuickTime / MOV&#xA;start_time=0.000000&#xA;duration=6500.608000&#xA;size=2703218140&#xA;bit_rate=3326726&#xA;probe_score=100&#xA;&#xA;[format.tags]&#xA;major_brand=isom&#xA;minor_version=512&#xA;compatible_brands=isomiso2avc1mp41&#xA;

    &#xA;

  • How to use FFmpeg & "tee" to UDP video (only) stream to another computer while recording to computer with USB camera

    13 juillet 2020, par pomptondrive

    I'm trying to get "tee muxer" to work with FFmpeg, but I'm not having much luck. Basically I would like to stream a USB camera with UDP to another computer with an decent/acceptable result to monitor, while recording around 15 FPS in an economical (compressed) fashion that won't take up too much disk space. Honestly, I don't understand the entire syntax of using "tee"—I guess that's obvious. I have looked at some of the FFmpeg documentation, but it doesn't seem comprehensive enough in this instance.

    &#xA;

    So, currently, I have experimented a little and this works for streaming (picking up with VLC on the other computer) :

    &#xA;

    ffmpeg -f v4l2 -i /dev/video0 -profile:v high -pix_fmt yuvj420p -level:v 4.1 -preset ultrafast -tune zerolatency -vcodec libx264 -r 15 -b:v 512k -s 640x480 -f mpegts -flush_packets 0 udp://192.168.0.19:5000?pkt_size=1316&#xA;

    &#xA;

    I've also checked and this records OK (I do NOT actually want it to ffplay on this machine ; this was just some code I found to test.) :

    &#xA;

    ffmpeg -f v4l2 -i /dev/video0 -map 0 -c:v libx264 -f tee "Documents/video01.mkv|[f=nut]pipe:" | ffplay pipe:&#xA;

    &#xA;

    So the next objective is to combine the two with tee, and do a UDP stream to the other computer, while recording an mkv file to the computer with the camera. I've tried several ways to do this with no success ; results have been just one or the other, because my syntax is crap, or I'm just particularly inept at this particular task. ;-)

    &#xA;

    After that (icing on the cake) would be to create separate *.mkv files at 15-minute intervals, and have them self-destruct after a couple of days.

    &#xA;

    Any help with the tee business would be greatly appreciated.

    &#xA;