
Recherche avancée
Autres articles (23)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...)
Sur d’autres sites (3970)
-
Font setting for ffmpeg not working when adding subtitles from .srt file
29 septembre 2022, par asdfghI've been trying to use the ffmpeg-subtitles
option like this


ffmpeg -i demo.mp4 -vf "subtitles=demo.srt:fontsdir=/usr/share/fonts/truetype/dejavu:force_style='Fontsize=24px,PrimaryColour=&H000000FF,force_style=Fontname=DejaVuSerif'" out.mp4



but it seems to me that some default config file is overriding font argument from command line because it is ignored (the other things like generating video with subtitle and text coloring works fine), as per this line


fontselect: (Arial, 400, 0) -> /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf, 0, LiberationSans



no matter what I give as fontsdir or Fontname, ffmpeg always uses LiberationSans. Here is the full output of the command above :


ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 22.100 / 56. 22.100
 libavcodec 58. 35.100 / 58. 35.100
 libavformat 58. 20.100 / 58. 20.100
 libavdevice 58. 5.100 / 58. 5.100
 libavfilter 7. 40.101 / 7. 40.101
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 3.100 / 5. 3.100
 libswresample 3. 3.100 / 3. 3.100
 libpostproc 55. 3.100 / 55. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'demo.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Duration: 00:00:17.27, start: 0.000000, bitrate: 752 kb/s
 Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 410x358 [SAR 3529:3532 DAR 723445:632228], 751 kb/s, SAR 8234:8241 DAR 230:201, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
 Metadata:
 handler_name : VideoHandler
File 'out.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 2.3.1 (COMPLEX)
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Bold.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Oblique.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-BoldItalic.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuMathTeXGyre.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Italic.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSans-ExtraLight.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Bold.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Loading font file '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-BoldOblique.ttf'
[Parsed_subtitles_0 @ 0x5589d9ca5a40] Using font provider fontconfig
[Parsed_subtitles_0 @ 0x5589d9ca5a40] fontselect: (Arial, 400, 0) -> /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf, 0, LiberationSans
[libx264 @ 0x5589d9b4cb40] using SAR=3529/3532
[libx264 @ 0x5589d9b4cb40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x5589d9b4cb40] profile High, level 2.1
[libx264 @ 0x5589d9b4cb40] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.20.100
 Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 410x358 [SAR 8234:8241 DAR 230:201], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
 Metadata:
 handler_name : VideoHandler
 encoder : Lavc58.35.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 518 fps=216 q=-1.0 Lsize= 936kB time=00:00:17.16 bitrate= 446.7kbits/s speed=7.15x 
video:929kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.716306%
[libx264 @ 0x5589d9b4cb40] frame I:3 Avg QP:22.06 size: 9804
[libx264 @ 0x5589d9b4cb40] frame P:169 Avg QP:25.02 size: 3412
[libx264 @ 0x5589d9b4cb40] frame B:346 Avg QP:27.47 size: 997
[libx264 @ 0x5589d9b4cb40] consecutive B-frames: 7.7% 6.6% 9.3% 76.4%
[libx264 @ 0x5589d9b4cb40] mb I I16..4: 14.3% 63.4% 22.2%
[libx264 @ 0x5589d9b4cb40] mb P I16..4: 9.9% 16.4% 2.6% P16..4: 41.8% 17.3% 5.2% 0.0% 0.0% skip: 6.7%
[libx264 @ 0x5589d9b4cb40] mb B I16..4: 1.6% 2.3% 0.3% B16..8: 43.9% 5.7% 0.6% direct: 2.2% skip:43.4% L0:50.8% L1:44.1% BI: 5.0%
[libx264 @ 0x5589d9b4cb40] 8x8 transform intra:56.4% inter:82.5%
[libx264 @ 0x5589d9b4cb40] coded y,uvDC,uvAC intra: 41.7% 64.7% 6.3% inter: 14.9% 20.9% 0.0%
[libx264 @ 0x5589d9b4cb40] i16 v,h,dc,p: 15% 27% 9% 49%
[libx264 @ 0x5589d9b4cb40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 23% 17% 6% 7% 6% 8% 7% 6%
[libx264 @ 0x5589d9b4cb40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 27% 11% 5% 9% 8% 9% 5% 4%
[libx264 @ 0x5589d9b4cb40] i8c dc,h,v,p: 54% 22% 14% 9%
[libx264 @ 0x5589d9b4cb40] Weighted P-Frames: Y:18.9% UV:5.9%
[libx264 @ 0x5589d9b4cb40] ref P L0: 62.8% 16.2% 15.4% 4.9% 0.8%
[libx264 @ 0x5589d9b4cb40] ref B L0: 91.0% 7.4% 1.6%
[libx264 @ 0x5589d9b4cb40] ref B L1: 97.4% 2.6%
[libx264 @ 0x5589d9b4cb40] kb/s:440.62



-
Homepage Design : Best Practices & Examples
5 octobre 2022, par Erin -
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