Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (104)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (9164)

  • Concatenating on Windows throws "Invalid data found when processing input" while it works on Mac and Linux

    15 février 2020, par miguelmorin

    I need to run a command with a nightly build of FFMPEG to report a bug on the concat protocol. I found it difficult to compile from source with libx264 support on Linux, and I want to spare my Mac computer, so I use the nightly build on Windows from Zeranoe.

    I call this command to concatenate the files :

    ffmpeg -safe 0 concat -i files_to_combine -vcodec libx264 show.mp4

    where files_to_combine is :

    file ./short_DSC_0013.MOV
    file ./short_DSC_0014.MOV
    file ./short_DSC_0015.MOV
    file ./short_DSC_0016.MOV
    file ./short_DSC_0017.MOV
    file ./short_DSC_0018.MOV
    file ./short_DSC_0019.MOV

    I call this command from the directory containing the video files and files_to_combine.

    On Windows with a nightly build, I get the error :

    files_to_combine : Invalid data found when processing input
    

    I changed file ./DSC_0013.MOV to these options, all with the same error :

    file 'short_DSC_0013.MOV'
    file '.\short_DSC_0013.MOV'
    file 'F:\short_DSC_0013.MOV'

    How can I debug this error, or what is the syntax for concatenating on Windows with a nightly build ?

    Update with log-level 48

    I ran the same command with -v 48 and got :

    F :\brain squids>C :\Users\migue\Desktop\ffmpeg-20200211-f15007a-win64-static\bin\ffmpeg.exe -v 48 -i files_to_combine -vcodec libx264 show.mp4
    ffmpeg version git-2020-02-11-f15007a Copyright (c) 2000-2020 the FFmpeg developers
      built with gcc 9.2.1 (GCC) 20200122
      configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf
      libavutil      56. 39.100 / 56. 39.100
      libavcodec     58. 68.102 / 58. 68.102
      libavformat    58. 38.100 / 58. 38.100
      libavdevice    58.  9.103 / 58.  9.103
      libavfilter     7. 75.100 /  7. 75.100
      libswscale      5.  6.100 /  5.  6.100
      libswresample   3.  6.100 /  3.  6.100
      libpostproc    55.  6.100 / 55.  6.100
    Splitting the commandline.
    Reading option ’-v’ ... matched as option ’v’ (set logging level) with argument ’48’.
    Reading option ’-i’ ... matched as input url with argument ’files_to_combine’.
    Reading option ’-vcodec’ ... matched as option ’vcodec’ (force video codec (’copy’ to copy stream)) with argument ’libx264’.
    Reading option ’show.mp4’ ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options : global .
    Applying option v (set logging level) with argument 48.
    Successfully parsed a group of options.
    Parsing a group of options : input url files_to_combine.
    Successfully parsed a group of options.
    Opening an input file : files_to_combine.
    [NULL @ 0000021c781784c0] Opening ’files_to_combine’ for reading
    [file @ 0000021c78179580] Setting default whitelist ’file,crypto,data’
    [AVIOContext @ 0000021c781817c0] Statistics : 182 bytes read, 0 seeks
    files_to_combine : Invalid data found when processing input
    

    The contents of files_to_combine is :

    file ’short_DSC_0013.MOV’
    file ’short_DSC_0014.MOV’
    file ’short_DSC_0015.MOV’
    file ’short_DSC_0016.MOV’
    file ’short_DSC_0017.MOV’
    file ’short_DSC_0018.MOV’
    file ’short_DSC_0019.MOV’
    

    Update because of wrong command

    I had mistyped the command. The right command has a -f in front of concat, which I found because the accepted answer was able to make the command work in a similar environment :

    ffmpeg -safe 0 -f concat -i files_to_combine -vcodec libx264 show.mp4
  • 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;