Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (57)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (6023)

  • Remove black bars from DV video using ffmpeg [closed]

    2 juillet 2020, par AustinMaxi1750

    I have copied all my Panasonic DV videos (PAL) from the 1990s to my PC as 'dv avi' using Windows movie maker in the original quality (approx 13GB per hour of video).

    


    At the time the recordings were made I set the Panasonic camera to 16:9. However searching various forums indicates it was an illusion of 16:9 and black bars were superimposed on the 4:3 picture to give a cinematic feel. I have read also that the DV pixels are not square.

    


    As a result all my 16:9 recordings have black bars at the top and bottom when viewed on a 16:9 monitor. The file properties are as follows :

    


    Frame width : 720
Frame height : 576

    


    Is there a code in ffmpeg to remove the black bars ?

    


    I attach an example of what I have :
image with black bars

    


    and an example of what I want to achieve :
image without black bars

    


    I also want to convert the format without loss of quality so I can watch the videos without the black bars on a modern smart TV. My TV cannot play back DV AVI.

    


  • FFmpeg black screen using mpeg2video

    16 juin 2020, par Konata

    I have a proprietary piece of hardware for broadcasting, that accepts extremely specific video format.
The software that we use for it is extremely slow and outdated.

    



    I was looking at adapting FFmpeg to convert .avi/.mp4/etc to the specific format which in our case is

    



    


    .mpg ( 720*576 16:9, 25FPS, MPEG Video PAL v.2 (Main@High) BVOP)
 acceptable bitrate is 9000k - 15000k.

    


    



    So I have constructed this FFmpeg command :

    



    -i input.avi -codec:a mp2 -b:a 384k -c:v mpeg2video -aspect 16:9 -bf 2 -b:v 10000k -maxrate 10000k -minrate 10000k -bufsize 5000k  -profile:v main -level:v 4.0 output.mpg

    



    The audio is working fine, but instead of video I get a black screen, this is the conversion log

    



    "E:\auto_video\ffmpeg\bin\ffmpeg.exe" -i input.avi -codec:a mp2 -b:a 384k -c:v mpeg2video -aspect 16:9 -bf 2 -b:v 10000k -maxrate 10000k -minrate 10000k -bufsize 5000k -r 25  -profile:v main -level:v 4.0 output.mpg
ffmpeg version git-2020-06-12-38737b3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200523
  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-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 54.100 / 56. 54.100
  libavcodec     58. 92.100 / 58. 92.100
  libavformat    58. 46.101 / 58. 46.101
  libavdevice    58. 11.100 / 58. 11.100
  libavfilter     7. 86.100 /  7. 86.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'input.avi':
  Metadata:
    date            : 2020-06-04T14:11:03+06:00
  Duration: 00:00:10.00, start: 0.000000, bitrate: 30465 kb/s
    Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28915 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
File 'output.mpg' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> mp2 (native))
Press [q] to stop, [?] for help
Output #0, mpeg, to 'output.mpg':
  Metadata:
    date            : 2020-06-04T14:11:03+06:00
    encoder         : Lavf58.46.101
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 10000 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.92.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 10000000/10000000/10000000 buffer size: 5000000 vbv_delay: N/A
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
    Metadata:
      encoder         : Lavc58.92.100 mp2
frame=  250 fps=0.0 q=2.5 Lsize=   12574kB time=00:00:09.99 bitrate=10302.7kbits/s speed=16.8x
video:12054kB audio:469kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.402694%"E:\auto_video\ffmpeg\bin\ffmpeg.exe" -i input.avi -codec:a mp2 -b:a 384k -c:v mpeg2video -aspect 16:9 -bf 2 -b:v 10000k -maxrate 10000k -minrate 10000k -bufsize 5000k -r 25  -profile:v main -level:v 4.0 output.mpg
ffmpeg version git-2020-06-12-38737b3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200523
  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-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 54.100 / 56. 54.100
  libavcodec     58. 92.100 / 58. 92.100
  libavformat    58. 46.101 / 58. 46.101
  libavdevice    58. 11.100 / 58. 11.100
  libavfilter     7. 86.100 /  7. 86.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'input.avi':
  Metadata:
    date            : 2020-06-04T14:11:03+06:00
  Duration: 00:00:10.00, start: 0.000000, bitrate: 30465 kb/s
    Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28915 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
File 'output.mpg' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> mp2 (native))
Press [q] to stop, [?] for help
Output #0, mpeg, to 'output.mpg':
  Metadata:
    date            : 2020-06-04T14:11:03+06:00
    encoder         : Lavf58.46.101
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 10000 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.92.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 10000000/10000000/10000000 buffer size: 5000000 vbv_delay: N/A
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
    Metadata:
      encoder         : Lavc58.92.100 mp2
frame=  250 fps=0.0 q=2.5 Lsize=   12574kB time=00:00:09.99 bitrate=10302.7kbits/s speed=16.8x
video:12054kB audio:469kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.402694%


    



    Additional info that might help, I get black screen in MPC-HC, Windows Media Player, and the actual hardware that I converted it for. But it plays fine in VLC

    


  • Cutting HEVC video results in parts stating with no video (black image) but correct audio for a few seconds

    8 juin 2020, par Oliver

    i have large HEVC video files and want to cut out parts of them. I use ffmpeg for that with the following command :

    



    ffmpeg -i input.mp4 -ss 01:18:47.040 -c:v copy -c:a copy -to 01:18:42.640 output.mp4


    



    i know that there can be problems when copy is used and no re-encoding, that is why i checked before that the frames specified in the -ss and -to parameters where keyframes (i-frames).

    



    So iam expecting to get a clean cut at the beginning and at the end. But what i get is 10 seconds of black image with normal audio in the beginning until the video starts. To make this clear : 10 seconds of video are missing in the beginning but the audio is fine.

    



    Btw : when moving the -ss part before the -i there seem to be no problems with the video (at least in the beginning). I know about the differences of putting -ss before and after the -i, but i also know, that using -ss after the -i should be slower (and was more accurate in the past) but should not make any differences in the final result. That is why I am so irritated.