
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (74)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Submit bugs and patches
13 avril 2011Unfortunately 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 (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6619)
-
File (mp3) concatenation issues using FFmpeg
17 novembre 2020, par Giorgio RobinoI want to concatenate some MP3 files using the FFmpeg concatenation protocol.


Here is a successful try :


$ ffmpeg -loglevel panic -i "concat:audio/it/ci.mp3|audio/it/èsse.mp3|audio/it/cu.mp3|audio/it/u.mp3|audio/it/tre.mp3|audio/it/zero.mp3|audio/it/cinque.mp3|audio/it/quattro.mp3|audio/it/tre.mp3|audio/it/otto.mp3|audio/it/tre.mp3" -c copy audio/it/CSQU3054383.mp3 -y

$ ll audio/it/CSQU3054383.mp3
-rw-rw-r-- 1 giorgio 26K Nov 9 16:16 audio/it/CSQU3054383.mp3



So far, all is OK !


BTW, all (Mp3) files have the same codecs, so MP3 FFmpeg concatenation protocol runs as expected !



Now, I want to insert a pause file
audio/it/PAUSE_2.mp3
, between each previous files :

$ ffmpeg -loglevel panic -i "concat:audio/it/ci.mp3|audio/it/PAUSE_2.mp3|audio/it/èsse.mp3|audio/it/PAUSE_2.mp3|audio/it/cu.mp3|audio/it/PAUSE_2.mp3|audio/it/u.mp3|audio/it/PAUSE_2.mp3|audio/it/tre.mp3|audio/it/PAUSE_2.mp3|audio/it/zero.mp3|audio/it/PAUSE_2.mp3|audio/it/cinque.mp3|audio/it/PAUSE_2.mp3|audio/it/quattro.mp3|audio/it/PAUSE_2.mp3|audio/it/tre.mp3|audio/it/PAUSE_2.mp3|audio/it/otto.mp3|audio/it/PAUSE_2.mp3|audio/it/tre.mp3" -c copy audio/it/CSQU3054383.mp3 -y
$



This command run apparently without any error, but the output file (
audio/it/CSQU3054383.mp3
) is not generated at all.

**Question 1 (minor) :


Why doesn't FFmpeg report any error and doesn't generate the expected output ?**


In fact, I already experienced that FFmpeg, in some circumstances, fails without saying why :(



I suspect the problem happens because the file
audio/it/PAUSE_2.mp3
doesn't have a constant bit rate (CBR), as other files, e.g. :

$ mediainfo audio/it/ci.mp3
General
Complete name : audio/it/ci.mp3
Format : MPEG Audio
File size : 2.06 KiB
Duration : 528 ms
Overall bit rate mode : Constant
Overall bit rate : 32.0 kb/s

Audio
Format : MPEG Audio
Format version : Version 2
Format profile : Layer 3
Duration : 528 ms
Bit rate mode : Constant
Bit rate : 32.0 kb/s
Channel(s) : 1 channel
Sampling rate : 24.0 kHz
Frame rate : 41.667 FPS (576 SPF)
Compression mode : Lossy
Stream size : 2.06 KiB (100%)

$ ffprobe audio/it/ci.mp3
ffprobe version 3.4.8-0ubuntu0.2 Copyright (c) 2007-2020 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
 configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
[mp3 @ 0x564491288080] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'audio/it/ci.mp3':
 Duration: 00:00:00.53, start: 0.000000, bitrate: 32 kb/s
 Stream #0:0: Audio: mp3, 24000 Hz, mono, s16p, 32 kb/s




Instead, the inserted pause file has a variable bit rate, as mediainfo states :


$ mediainfo audio/it/PAUSE_2.mp3
General
Complete name : audio/it/PAUSE_2.mp3
Format : MPEG Audio
File size : 8.29 KiB
Overall bit rate mode : Variable
Writing library : LAME3.100

Audio
Format : MPEG Audio
Format version : Version 2
Format profile : Layer 3
Bit rate mode : Variable
Channel(s) : 1 channel
Sampling rate : 24.0 kHz
Compression mode : Lossy
Stream size : 8.06 KiB (97%)
Writing library : LAME3.100



Here my Bash script I used to generate the pause :


$ cat com/pause
#!/bin/bash

# https://ffmpeg.org/ffmpeg-filters.html#toc-anullsrc
# https://ffmpeg.org/ffmpeg-utils.html#toc-Examples-1

if [ $# -eq 0 ]
 then
 echo
 echo "create a pause, a silence audio file (MP3) of specified number of milliseconds"
 echo
 echo "usage: $0 <time duration="duration"> <directory path="path">"
 echo
 echo "example: $0 2"
 echo "example: $0 0.5 tmp/"
 echo
 exit
fi

timeDuration=$1
directoryPath=$2

suffix=mp3

# https://trac.ffmpeg.org/wiki/Limiting%20the%20output%20bitrate
#https://trac.ffmpeg.org/wiki/Encode/MP3
bitrate=32k
samplingRate=24000
outputFile="${directoryPath}PAUSE_${timeDuration}.${suffix}"

 #-b:a $bitrate -minrate $bitrate -maxrate $bitrate -bufsize $bitrate \
ffmpeg \
 -f lavfi \
 -i anullsrc=r=$samplingRate:cl=mono \
 -t $timeDuration \
 -b:a $bitrate -minrate $bitrate -maxrate $bitrate \
 -codec:a libmp3lame \
 $outputFile -y

echo
echo "created file: $outputFile"
echo

</directory></time>


Unfortunately, the created file seems with a variable bit rate and not with a constant bit rate (CBR), as expected ( -b:a ... ) :


$ com/pause 2
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
 configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Input #0, lavfi, from 'anullsrc=r=24000:cl=mono':
 Duration: N/A, start: 0.000000, bitrate: 192 kb/s
 Stream #0:0: Audio: pcm_u8, 24000 Hz, mono, u8, 192 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (pcm_u8 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to 'PAUSE_2.mp3':
 Metadata:
 TSSE : Lavf57.83.100
 Stream #0:0: Audio: mp3 (libmp3lame), 24000 Hz, mono, s16p, 32 kb/s
 Metadata:
 encoder : Lavc57.107.100 libmp3lame
size= 8kB time=00:00:02.01 bitrate= 33.7kbits/s speed= 192x
video:0kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.870640%

created file: PAUSE_2.mp3



Question 2 :


What's wrong in my Bash script (why doesn't it generate a CBR file ?
How can I generate an silence pause file (silence of N milliseconds) with the exact settings of previous files ?


-
ffmpeg / avconv Unrecognized option 'target=vcd'
2 février 2023, par Paul NeuwirthI get following error


Unrecognized option 'target=vcd'.
Error splitting the argument list: Option not found



running


ffmpeg -i input.ts -target=vcd output.mpg



or


avconv -i input.ts -target=vcd output.mpg



(or any other target like "pal-dvd", like stated in the man-file)


version info ffmpeg :




ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —enable-version3 —disable-openssl —enable-avresample —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcelt —enable-libcdio —enable-libdav1d —enable-libdc1394 —enable-libdrm —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgsm —enable-libjack —enable-libmp3lame —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvmaf —enable-libvorbis —enable-libv4l2 —enable-libvpx —enable-libwebp —enable-libxml2 —enable-libzimg —enable-libzvbi —enable-libmfx —enable-vaapi —enable-vdpau —enable-version3 —enable-libfdk-aac-dlopen —enable-nonfree —enable-libvo-amrwbenc —enable-libx264 —enable-libx265 —enable-librtmp —enable-libxvid
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100




version info avconv




avconv version 12.3, Copyright (c) 2000-2018 the Libav developers

built on Mar 26 2018 12:39 with gcc 7 (SUSE Linux) configuration :
—prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —incdir=/usr/include/libav —enable-pic —disable-yasm WARNING : library configuration mismatch avutil configuration :
—prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —disable-openssl —enable-avresample —enable-libcdio —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcelt —enable-libcdio —enable-libdc1394 —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libzimg —enable-libzvbi —enable-vaapi —enable-vdpau —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-version3 —enable-libx264 —enable-libx265 —enable-libxvid avcodec configuration : —prefix=/usr —libdir=/usr/lib64
—shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —disable-openssl —enable-avresample —enable-libcdio —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcelt —enable-libcdio —enable-libdc1394 —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libzimg —enable-libzvbi —enable-vaapi —enable-vdpau —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-version3 —enable-libx264 —enable-libx265 —enable-libxvid avformat configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —disable-openssl —enable-avresample —enable-libcdio —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcelt —enable-libcdio —enable-libdc1394 —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libzimg —enable-libzvbi —enable-vaapi —enable-vdpau —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-version3 —enable-libx264 —enable-libx265 —enable-libxvid avdevice configuration : —prefix=/usr —libdir=/usr/lib64
—shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —disable-openssl —enable-avresample —enable-libcdio —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcelt —enable-libcdio —enable-libdc1394 —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libzimg —enable-libzvbi —enable-vaapi —enable-vdpau —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-version3 —enable-libx264 —enable-libx265 —enable-libxvid avfilter configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —disable-openssl —enable-avresample —enable-libcdio —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcelt —enable-libcdio —enable-libdc1394 —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libzimg —enable-libzvbi —enable-vaapi —enable-vdpau —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-version3 —enable-libx264 —enable-libx265 —enable-libxvid avresample configuration : —prefix=/usr —libdir=/usr/lib64
—shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —disable-openssl —enable-avresample —enable-libcdio —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcelt —enable-libcdio —enable-libdc1394 —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libzimg —enable-libzvbi —enable-vaapi —enable-vdpau —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-version3 —enable-libx264 —enable-libx265 —enable-libxvid swscale configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —incdir=/usr/include/ffmpeg —extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' —disable-htmlpages —enable-pic —disable-stripping —enable-shared —disable-static —enable-gpl —disable-openssl —enable-avresample —enable-libcdio —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libcelt —enable-libcdio —enable-libdc1394 —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libzimg —enable-libzvbi —enable-vaapi —enable-vdpau —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-version3 —enable-libx264 —enable-libx265 —enable-libxvid libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 /
57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4.
8.100



despite solving the problem, I'd be happy with any other solution to compress video to pal-dvd or pal-vcd standard


I tried re-encoding a mpeg-2 video using avconv and/or ffmpeg to target pal-dvd or pal-vcd or even just vcd or dvd.
manpage states option -target as main option :




-target type (output)



Specify target file type ("vcd", "svcd", "dvd", "dv", "dv50"). type may be prefixed with "pal-", "ntsc-" or "film-" to use the corresponding standard. All the format options
(bitrate, codecs, buffer sizes) are then set automatically. You can just type :


avconv -i myfile.avi -target vcd /tmp/vcd.mpg


Nevertheless you can specify additional options as long as you know they do not conflict with the standard, as in :


avconv -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg




-
Data Privacy in Business : A Risk Leading to Major Opportunities
9 août 2022, par Erin — Privacy