Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (94)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les sons

    15 mai 2013, par
  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (8803)

  • ffmpeg : Convert a legally purchased video on Google

    24 avril 2020, par Heycava

    I've bought a video on the Google Play Store. I need to have it on my computer in order to edit it for a video montage. But Google says "Important : You cannot download movies and TV shows onto a PC, Mac, and other laptops or computers."

    



    The video has a YouTube link. As I paid for it, I can watch it. I've managed to get the video part and the audio thanks to some web tools.
The video is a .webm file and the audio a .m4a file.

    



    I can hear the audio with VLC but I can't watch the video. Even if VLC displays "21:42" for the timecode.

    



    Here are informations for the webm file (from MediaInfo) :

    



    General
Complete name                            : XXX\videoplayback.webm
Format                                   : WebM
Format version                           : Version 4 / Version 2
File size                                : 357 MiB
Duration                                 : 21 min 42 s
Overall bit rate                         : 2 301 kb/s
Writing application                      : google/video-file
Writing library                          : google/video-file

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 21 min 42 s
Bit rate                                 : 2 203 kb/s
Width                                    : 854 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Bits/(Pixel*Frame)                       : 0.224
Stream size                              : 342 MiB (96%)
Language                                 : English
Default                                  : Yes
Forced                                   : No


    



    It seems to be a good video file.

    



    I wanted to convert it with some video converters but none of them works. So I've tried to download ffmpeg, I renamed the video to "video.webm" and tried a lot of commands. But none of them worked.

    



    Here are informations from ffprobe command :

    



    C:\Users\XXX\Downloads\ffmpeg-20200424-a501947-win64-static\bin>ffprobe -i video.webm


    



    Results :

    



    ffprobe version git-2020-04-24-a501947 Copyright (c) 2007-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200328
  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. 42.102 / 56. 42.102
  libavcodec     58. 81.100 / 58. 81.100
  libavformat    58. 42.101 / 58. 42.101
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 79.100 /  7. 79.100
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[vp9 @ 00000284720d5f40] Invalid frame marker
    Last message repeated 111 times
[vp9 @ 00000284720d5f40] Profile 4 is not yet supported
[vp9 @ 00000284720d5f40] Invalid frame marker
    Last message repeated 6 times
[matroska,webm @ 00000284720cd840] decoding for stream 0 failed
[matroska,webm @ 00000284720cd840] Could not find codec parameters for stream 0 (Video: vp9 (Profile 0), none, 854x480): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'video.webm':
  Metadata:
    encoder         : google/video-file
  Duration: 00:21:42.05, start: 0.000000, bitrate: 2301 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 0), none, 854x480, SAR 1:1 DAR 427:240, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      enc_key_id      : [24 characters I prefer not to display]


    



    If ever I initiate a conversion, I get :

    



    [vp9 @ 0000019038a80980] Invalid frame marker
[vp9 @ 0000019038c0fe40] Invalid frame marker
[vp9 @ 0000019038c193c0] Invalid frame marker
[vp9 @ 0000019038c1e780] Invalid frame marker
[vp9 @ 0000019038c29100] Invalid frame marker
[vp9 @ 0000019038c324c0] Invalid frame marker
[vp9 @ 0000019038c3d480] Invalid frame marker
[vp9 @ 0000019038c47280] Invalid frame marker
Error while decoding stream #0:0: Invalid data found when processing input
[vp9 @ 0000019038c4c080] Invalid frame marker
Error while decoding stream #0:0: Invalid data found when processing input
[vp9 @ 0000019038a80980] Invalid frame marker


    



    etc.
Then :

    



    Error while decoding stream #0:0: Resource temporarily unavailable
    Last message repeated 243 times
Error while decoding stream #0:0: Resource temporarily unavailabletrate=  -0.0kbits/s speed=N/A
    Last message repeated 306 times
Error while decoding stream #0:0: Resource temporarily unavailabletrate=  -0.0kbits/s speed=N/A
    Last message repeated 190 times


    



    I've already checked on the Internet solutions for the raised issues :

    



      

    • Invalid frame marker
    • 


    • unspecified pixel format
    • 


    • Consider increasing the value for the 'analyzeduration' and 'probesize' options
    • 


    



    But it didn't work in my case.

    



    Obviously, I can watch the video on YouTube when I'm logged into my purchase account. I presume they have a high level security algorithm, that's why I can't do nothing. Mayve there is something with the "enc_key_id" in the metadata, they get it and the video can only be read with it. I don't know.

    



    I find it unacceptable not to be able to use freely my purchased videos.

    



    Would anyone have an idea ?

    


  • FFMpeg Input link in1:v0 parameters (size > 640x352, SAR 0:1) do not match the corresponding output link in0:v0 > parameters [duplicate]

    25 avril 2020, par Android Developer

    I am using below command to concatenate videos-

    



    String command[] = {"-i",inputFile1AbsolutePath,"-i",inputFile2AbsolutePath .....,"-i",inputFileNAbsolutePath,"-filter_complex","[0:v0] [0:a0] [1:v1] [1:a1]...[N:vN] concat=n=N:v=1:a=1 [v] [a],"-map","[v]","-map","[a]", outputFileAbsolutePath};


    



    and got below error-

    



    


    FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the
 FFmpeg developers
 built with gcc 4.8 (GCC)
 configuration : —target-os=linux
 —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
 —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
 —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' —extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
 -Wl,-z,relro -Wl,-z,now -pie' —extra-libs='-lpng -lexpat -lm' —extra-cxxflags=
 libavutil 55. 17.103 / 55. 17.103
 libavcodec 57. 24.102 / 57. 24.102
 libavformat 57. 25.100 / 57. 25.100
 libavdevice 57. 0.101 / 57. 0.101
 libavfilter 6. 31.100 / 6. 31.100
 libswscale 4. 0.100 / 4. 0.100
 libswresample 2. 0.101 / 2. 0.101
 libpostproc 54. 0.100 / 54. 0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/storage/emulated/0/Download/g3cm1tt7qtd41.mp4' :
 Metadata :
 major_brand : iso6
 minor_version : 1
 compatible_brands : mp42iso6avc1isom
 creation_time : 2020-01-30 11:13:07
 Duration : 00:00:00.00, start : 0.042667, bitrate : N/A
 Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p,
 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360
 tbn, 60 tbc (default)
 Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 128 kb/s (default)
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from
 '/storage/emulated/0/WhatsApp/Media/WhatsApp
 Video/VID-20200404-WA0000.mp4' :
 Metadata :
 major_brand : mp42
 minor_version : 0
 compatible_brands : mp42isom
 Duration : 00:03:43.14, start : 0.000000, bitrate : 774 kb/s
 Stream #1:0(und) : Video : h264 (Baseline) (avc1 / 0x31637661), yuv420p,
 640x352, 675 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
 Stream #1:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 96 kb/s (default)
 [Parsed_concat_0 @ 0xb4529400] Input link in1:v0 parameters (size
 640x352, SAR 0:1) do not match the corresponding output link in0:v0
 parameters (854x480, SAR 2136:2135)
 [Parsed_concat_0 @ 0xb4529400] Failed to configure output pad on
 Parsed_concat_0
 Error configuring complex filters.
 Invalid argument

    


    



    Seeing this answer i tried using-

    



    [0:v]setsar=1[v0]; [0:a0] [1:v]setsar=1[v1]; [1:a1]


    



    but did not worked !

    



    How can i resolve this ?

    


  • How to Write ffmpeg code according to video data

    26 avril 2020, par Tevfik
    Format                      : MPEG-4
Format profile              : Base Media / Version 2
Codec ID                    : mp42 (isom/mp42)
File size                   : 337 MiB
Duration                    : 1 h 23 min
Overall bit rate mode       : Variable
Overall bit rate            : 562 kb/s
Encoded date                : UTC 2020-04-23 00:22:37
Tagged date                 : UTC 2020-04-23 00:22:37
gsst                        : 0
gstd                        : 5034271

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : Main@L3.1
Format settings             : CABAC / 3 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 3 frames
Codec ID                    : avc1
Codec ID/Info               : Advanced Video Coding
Duration                    : 1 h 23 min
Bit rate                    : 431 kb/s
Width                       : 1 280 pixels
Height                      : 720 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.019
Stream size                 : 258 MiB (77%)
Title                       : ISO Media file produced by Google Inc. Created on: 04/22/2020.
Writing library             : x264 core 155 r2901 7d0ff22
Encoded date                : UTC 2020-04-23 00:22:37
Tagged date                 : UTC 2020-04-23 00:22:37
Color range                 : Limited
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709
Codec configuration box     : avcC

Audio
ID                          : 2
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : mp4a-40-2
Duration                    : 1 h 23 min
Bit rate mode               : Variable
Bit rate                    : 128 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 44.1 kHz
Frame rate                  : 43.066 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                 : 76.8 MiB (23%)
Title                       : ISO Media file produced by Google Inc. Created on: 04/22/2020.
Encoded date                : UTC 2020-04-23 00:22:37
Tagged date                 : UTC 2020-04-23 00:22:37


    



    I have these information and I want to get same results with ffmpeg. What should I do ? What codes do I have to use ?

    



    Thanks in advance...