[FFmpeg-user] how ffmpeg computes(find)canvas_size for subtitles

2023-01-03 Thread cavelier
Hi.
I record broadcast from French TNT (1920:1080i and subtitles dvbsub)
If i want to change the container to mp4 i must transform dvbsub to
dvdsub.
For example:
ffmpeg -y -fix_sub_duration -i '/home/cavelier2/Videos/Irma la douce
 (VM).ts' -map 0:s -c:s dvdsub -f matroska sub.mkv or mp4.
I get the message: canvas_size(0:0) is too small(659:543) for render.
With french tnt i got some differents canvas according to differents
channels with the same code line:
canvas = 659:543 || canvas = 381:549 || canvas = 711:549 .
Question: how ffmpeg computes this canvas ?
Thanks.
-- 
cordialement jean-jacques. 
Ce message a été écrit sur un système libre mageia
"Tant que l'homme sera mortel, il ne pourra pas être totalement
décontracté..." Woody Allen.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] [ffmpeg-user]ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2021-05-09 Thread cavelier
Le Sun, 9 May 2021 19:20:52 +0200,
cavelier  a écrit :

> Hi, 
> Problem in compilation with ffmpeg ver N-102461-g8649f5dca6 (git).
> ./configure fails with ERROR: cuda requested, not
> all dependencies are satisfied: ffnvcodec
> The command was:
> ./configure  --prefix=/usr/local --enable-linux-perf
> --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl
> --enable-libtheora --enable-zlib --enable-libx264 --enable-nonfree
> --enable-version3 --enable-avfilter --enable-libspeex
> --enable-libopenjpeg --enable-libgsm --enable-postproc
> --enable-pthreads --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-ffplay --enable-nonfree
> --enable-runtime-cpudetect --enable-bzlib --enable-libdc1394
> --enable-libvpx --enable-libx264 --enable-libx265 --enable-vdpau
> --enable-libass --enable-libfribidi --enable-libfreetype
> --enable-libfontconfig --enable-nvenc --enable-cuda --enable-cuvid
> --enable-gray --enable-libbluray --enable-libfdk-aac --enable-libvpx
> --enable-libkvazaar 
> 
> But: i have ffnvcodec
>  [root@tux nv-codec-headers-master]# make install
> sed 's#@@PREFIX@@#/usr/local#' ffnvcodec.pc.in > ffnvcodec.pc
> install -m 0755 -d '/usr/local/include/ffnvcodec'
> install -m 0644 include/ffnvcodec/*.h '/usr/local/include/ffnvcodec'
> install -m 0755 -d '/usr/local/lib/pkgconfig'
> install -m 0644 ffnvcodec.pc '/usr/local/lib/pkgconfig'
> Then
> [cavelier2@tux ffmpeg]$ ls /usr/local/include/ffnvcodec/
> dynlink_cuda.h  dynlink_cuviddec.h  dynlink_loader.h
> dynlink_nvcuvid.h nvEncodeAPI.h
> and 
> [cavelier2@tux ffmpeg]$ find /usr -name '*ffnvcodec*.*'
> /usr/local/lib/pkgconfig/ffnvcodec.pc
> 
> The problem stays the same after 
> ]$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/$PKG_CONFIG_PATH
> followed by ./configure/ of course.
> 
> No problem with ffmpeg version 4.2.3 
> 
Found the answer
Requested 'ffnvcodec >= 9.0.18.3' but version of ffnvcodec is 9.0.18.1
Sorry.

-- 
cordialement jean-jacques. 
Ce message a été écrit sur un système libre mageia
"Tant que l'homme sera mortel, il ne pourra pas être totalement
décontracté..." Woody Allen.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] [ffmpeg-user]ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2021-05-09 Thread cavelier
Hi, 
Problem in compilation with ffmpeg ver N-102461-g8649f5dca6 (git).
./configure fails with ERROR: cuda requested, not
all dependencies are satisfied: ffnvcodec
The command was:
./configure  --prefix=/usr/local --enable-linux-perf
--enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl
--enable-libtheora --enable-zlib --enable-libx264 --enable-nonfree
--enable-version3 --enable-avfilter --enable-libspeex
--enable-libopenjpeg --enable-libgsm --enable-postproc
--enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-ffplay --enable-nonfree --enable-runtime-cpudetect
--enable-bzlib --enable-libdc1394 --enable-libvpx --enable-libx264
--enable-libx265 --enable-vdpau --enable-libass --enable-libfribidi
--enable-libfreetype --enable-libfontconfig --enable-nvenc
--enable-cuda --enable-cuvid --enable-gray --enable-libbluray
--enable-libfdk-aac --enable-libvpx --enable-libkvazaar 

But: i have ffnvcodec
 [root@tux nv-codec-headers-master]# make install
sed 's#@@PREFIX@@#/usr/local#' ffnvcodec.pc.in > ffnvcodec.pc
install -m 0755 -d '/usr/local/include/ffnvcodec'
install -m 0644 include/ffnvcodec/*.h '/usr/local/include/ffnvcodec'
install -m 0755 -d '/usr/local/lib/pkgconfig'
install -m 0644 ffnvcodec.pc '/usr/local/lib/pkgconfig'
Then
[cavelier2@tux ffmpeg]$ ls /usr/local/include/ffnvcodec/
dynlink_cuda.h  dynlink_cuviddec.h  dynlink_loader.h  dynlink_nvcuvid.h
 nvEncodeAPI.h
and 
[cavelier2@tux ffmpeg]$ find /usr -name '*ffnvcodec*.*'
/usr/local/lib/pkgconfig/ffnvcodec.pc

The problem stays the same after 
]$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/$PKG_CONFIG_PATH
followed by ./configure/ of course.

No problem with ffmpeg version 4.2.3 

-- 
cordialement jean-jacques. 
Ce message a été écrit sur un système libre mageia
"Tant que l'homme sera mortel, il ne pourra pas être totalement
décontracté..." Woody Allen.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".