Re: [FFmpeg-user] Needed: 10 minute, p24 test video
Hi, Michael, On 04/21/2020 02:16 AM, Michael Koch wrote: Am 21.04.2020 um 01:39 schrieb Mark Filipak: To submit a trac ticket on the 'pp' filter, I need a p24 video that's over 10 minutes, I need to test using that video, and then upload the file and update the ticket to 'reopen'. It has to be non-copyrighted material. Any ideas? ffmpeg -f lavfi -i testsrc2=r=24:d=601 test.mp4 Michael Yeah, pdr0 at trac.ffmpeg.org turned me on to that and I made 30 minute videos at various resolutions. With them, I could not replicate errors that happen with the "2001, A Space Odessey" BD or the "Patton" BD. One error occurs with "telecine=pattern=5,pp=linblenddeint", the other occurs with just "telecine=pattern=5". Both look like memory leaks as ffmpeg process memory climbs steadily from the normal 500 to 700 MB range to 29 GB. I think that a memory leak is probable, but how to proceed is unknown to me. ___ 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] Glossary? [was: Re: Keyframe]
On 04/21/2020 02:12 AM, Jim DeLaHunt wrote: On 2020-04-20 22:55, Michael Koch wrote: Am 21.04.2020 um 04:09 schrieb Mark Filipak: I've seen where some use the term "keyframe" but I've never seen a definition.… I think this is correct, see also here: https://en.wikipedia.org/wiki/Key_frame One kind of documentation that I haven't seen around ffmpeg which I think might be very helpful is a glossary. doG bless you, Jim. The ffmpeg documentation uses many technical terms without defining them, or even pointing to an conceptual overview that helps a new user understands the abstractions and terminology used in ffmpeg code and docs. My first nominations for a glossary: "PTS", "timebase", "muxer", "demuxer". Also "frame" and "field", per recent threads here. And "GOP", "I-frames", and "B-frames". I've written a glossary. Should I post it? ...Warning: It's bound to be controversial. ___ 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] Keyframe
Hey, Michael, On 04/21/2020 01:55 AM, Michael Koch wrote: Am 21.04.2020 um 04:09 schrieb Mark Filipak: Hey, I have a question for you knowledgeable folks. I've seen where some use the term "keyframe" but I've never seen a definition. It's not terribly important, but here goes... I've assumed -- you know how good I am at that! -- that a keyframe is the I-frame that's at the beginning of a GOP. Am I correct? I think this is correct, see also here: https://en.wikipedia.org/wiki/Key_frame Michael That Wikipedia article implies pretty strongly that all I-frames are keyframes. The MPEG spec uses the term "keyframe" occasionally, and in a manner that implies that keyframes are particular I-frames, but then doesn't really resolve the question regarding what quality makes an I-frame a keyframe. The only thing I could think of was the particular I-frame that begins a GOP. There's a problem with that: Not all stream formats have GOPs even though the literature about those formats refer to keyframes. Maybe in those formats, all I-frames are keyframes. ? I guess it's like "interlaced", just another video term that has a 'variable' definition. ;-) Hopefully, someone else will contribute. For now, there's 2 votes for keyframe == 1st frame of GOP. ___ 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] Needed: 10 minute, p24 test video
Am 21.04.2020 um 01:39 schrieb Mark Filipak: To submit a trac ticket on the 'pp' filter, I need a p24 video that's over 10 minutes, I need to test using that video, and then upload the file and update the ticket to 'reopen'. It has to be non-copyrighted material. Any ideas? ffmpeg -f lavfi -i testsrc2=r=24:d=601 test.mp4 Michael ___ 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] Glossary? [was: Re: Keyframe]
On 2020-04-20 22:55, Michael Koch wrote: Am 21.04.2020 um 04:09 schrieb Mark Filipak: I've seen where some use the term "keyframe" but I've never seen a definition.… I think this is correct, see also here: https://en.wikipedia.org/wiki/Key_frame One kind of documentation that I haven't seen around ffmpeg which I think might be very helpful is a glossary. The ffmpeg documentation uses many technical terms without defining them, or even pointing to an conceptual overview that helps a new user understands the abstractions and terminology used in ffmpeg code and docs. My first nominations for a glossary: "PTS", "timebase", "muxer", "demuxer". Also "frame" and "field", per recent threads here. And "GOP", "I-frames", and "B-frames". -- --Jim DeLaHunt, j...@jdlh.com http://blog.jdlh.com/ (http://jdlh.com/) multilingual websites consultant 355-1027 Davie St, Vancouver BC V6E 4L2, Canada Canada mobile +1-604-376-8953 ___ 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] Keyframe
Am 21.04.2020 um 04:09 schrieb Mark Filipak: Hey, I have a question for you knowledgeable folks. I've seen where some use the term "keyframe" but I've never seen a definition. It's not terribly important, but here goes... I've assumed -- you know how good I am at that! -- that a keyframe is the I-frame that's at the beginning of a GOP. Am I correct? I think this is correct, see also here: https://en.wikipedia.org/wiki/Key_frame Michael ___ 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] Keyframe
Hey, I have a question for you knowledgeable folks. I've seen where some use the term "keyframe" but I've never seen a definition. It's not terribly important, but here goes... I've assumed -- you know how good I am at that! -- that a keyframe is the I-frame that's at the beginning of a GOP. Am I correct? Thanks, Mark. ___ 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] Needed: 10 minute, p24 test video
On 04/20/2020 07:47 PM, Simon Brown wrote: On Tue, 21 Apr 2020 at 00:40, Mark Filipak < markfilipak.windows+ffm...@gmail.com> wrote: To submit a trac ticket on the 'pp' filter, I need a p24 video that's over 10 minutes, I need to test using that video, and then upload the file and update the ticket to 'reopen'. It has to be non-copyrighted material. Any ideas? ___ I believe Sintel the full movie is over 10 minutes and is non-copyright. I also believe it to be p24 but if it's not you could always reencode it as such. Regards, Simon Thank you, Simon. I found it. It's over 14 minutes. I'm running a test right now and the 'pp' filter is malfunctioning exactly as for my copyrighted source videos (and at the same running time). The 'pp' fault is probably due to LONG_MAX < LLONG_MAX in Windows. You really helped! ___ 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] Needed: 10 minute, p24 test video
On Tue, 21 Apr 2020 at 00:40, Mark Filipak < markfilipak.windows+ffm...@gmail.com> wrote: > To submit a trac ticket on the 'pp' filter, I need a p24 video that's over > 10 minutes, I need to > test using that video, and then upload the file and update the ticket to > 'reopen'. > > It has to be non-copyrighted material. > > Any ideas? > ___ > > I believe Sintel the full movie is over 10 minutes and is non-copyright. I also believe it to be p24 but if it's not you could always reencode it as such. Regards, Simon ___ 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] Needed: 10 minute, p24 test video
To submit a trac ticket on the 'pp' filter, I need a p24 video that's over 10 minutes, I need to test using that video, and then upload the file and update the ticket to 'reopen'. It has to be non-copyrighted material. Any ideas? ___ 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] hw_decode.c on osx?
Am Mo., 20. Apr. 2020 um 13:45 Uhr schrieb Edward Park : > > > you've probably already seen carl eugen's post referring to ticket 8615. > > looks like this may be a regression ... to answer your question, though, > > i'm on a 2018 mini (i7); gpu is "Intel UHD Graphics 630", which should > > support hardware decoding for hevc (and certainly for h264). > Yes, I have, and I noticed it was about a dozen commits behind origin HEAD. > So I pulled and rebuilt, and got the exact same error. Like decode was not > even starting with vda or vt, encode still worked fine. > > Something interesting I noticed was when I ran ffmpeg -hwaccels it only > showed videotoolbox once. > It always listed it twice which I thought was weird, but only once now that > it's not working. I expect the two bugs to be unrelated. > So does that mean it listed it once for decompression and once for > compression via VideoToolbox? > So it built without decode support but with encode support? The ticket indicates decoding was broken (not removed in any way). Carl Eugen ___ 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] yadif-cuda issues
OK will report. Thanks! On Mon, Apr 20, 2020 at 6:11 PM Dennis Mungai wrote: > On Tue, 21 Apr 2020, 00:59 Andy Sheimo, wrote: > > > Here is the output from nvidia-smi: > > Mon Apr 20 17:56:48 2020 > > > > > +-+ > > | NVIDIA-SMI 442.92 Driver Version: 442.92 CUDA Version: 10.2 > > | > > > > > |---+--+--+ > > | GPU NameTCC/WDDM | Bus-IdDisp.A | Volatile Uncorr. > > ECC | > > | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util > Compute > > M. | > > > > > |===+==+==| > > | 0 GeForce GTX 106... WDDM | :01:00.0 On | > > N/A | > > | 41% 31CP8 8W / 120W |341MiB / 3072MiB | 0% > > Default | > > > > > +---+--+--+ > > > > > > > > > +-+ > > | Processes: GPU > > Memory | > > | GPU PID Type Process name Usage > >| > > > > > |=| > > |0 3588C+G Insufficient Permissions N/A > >| > > |0 5432C+G ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A > >| > > |0 6580C+G ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A > >| > > |0 7292C+G ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A > >| > > |0 11704C+G ...AppData\Local\slack\app-4.4.2\slack.exe N/A > >| > > |0 12492C+G ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A > >| > > |0 13628C+G ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A > >| > > |0 13888C+G ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A > >| > > |0 13960C+G C:\Windows\explorer.exeN/A > >| > > |0 14424C+G ...s (x86)\DisplayFusion\DisplayFusion.exe N/A > >| > > |0 15028C+G ...mmersiveControlPanel\SystemSettings.exe N/A > >| > > |0 16680C+G ...6)\Google\Chrome\Application\chrome.exe N/A > >| > > |0 17068C+G 110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A > >| > > |0 18020C+G ...5n1h2txyewy\StartMenuExperienceHost.exe N/A > >| > > |0 18268C+G ...dows.Search_cw5n1h2txyewy\SearchApp.exe N/A > >| > > > > > +-+ > > > > 2. the build is a Zeranoe build: ffmpeg-20200417-889ad93-win64-static > > > > On Mon, Apr 20, 2020 at 5:51 PM Dennis Mungai wrote: > > > > > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo wrote: > > > > > > > I'm trying to use the yadif_cuda deinterlace but I have not been able > > to > > > > get it to work. Every option I.ve tried fails, I'm pretty sure I'm > > > getting > > > > something wrong so I'm looking for some advice. > > > > > > > > Here is my version: > > > > ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-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. 80.100 / 58. 80.100 > > > > libavformat58. 42.100 / 58. 42.100 > > > > libavdevice58. 9.103 / 58. 9.103 > > > > libavfilter 7. 77.101 / 7. 77.101 > > > > libswscale 5. 6.101 / 5. 6.101 > > > > libswresample 3. 6.100 / 3. 6.100 > > > > libpostproc55. 6.100 / 55. 6.100 > > > > > > > > here are the commands I am using: > > > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format > > cuda > > > -i > > > > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness > - > > > > 1
Re: [FFmpeg-user] yadif-cuda issues
On Tue, 21 Apr 2020, 00:59 Andy Sheimo, wrote: > Here is the output from nvidia-smi: > Mon Apr 20 17:56:48 2020 > > +-+ > | NVIDIA-SMI 442.92 Driver Version: 442.92 CUDA Version: 10.2 > | > > |---+--+--+ > | GPU NameTCC/WDDM | Bus-IdDisp.A | Volatile Uncorr. > ECC | > | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute > M. | > > |===+==+==| > | 0 GeForce GTX 106... WDDM | :01:00.0 On | > N/A | > | 41% 31CP8 8W / 120W |341MiB / 3072MiB | 0% > Default | > > +---+--+--+ > > > > +-+ > | Processes: GPU > Memory | > | GPU PID Type Process name Usage >| > > |=| > |0 3588C+G Insufficient Permissions N/A >| > |0 5432C+G ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A >| > |0 6580C+G ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A >| > |0 7292C+G ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A >| > |0 11704C+G ...AppData\Local\slack\app-4.4.2\slack.exe N/A >| > |0 12492C+G ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A >| > |0 13628C+G ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A >| > |0 13888C+G ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A >| > |0 13960C+G C:\Windows\explorer.exeN/A >| > |0 14424C+G ...s (x86)\DisplayFusion\DisplayFusion.exe N/A >| > |0 15028C+G ...mmersiveControlPanel\SystemSettings.exe N/A >| > |0 16680C+G ...6)\Google\Chrome\Application\chrome.exe N/A >| > |0 17068C+G 110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A >| > |0 18020C+G ...5n1h2txyewy\StartMenuExperienceHost.exe N/A >| > |0 18268C+G ...dows.Search_cw5n1h2txyewy\SearchApp.exe N/A >| > > +-+ > > 2. the build is a Zeranoe build: ffmpeg-20200417-889ad93-win64-static > > On Mon, Apr 20, 2020 at 5:51 PM Dennis Mungai wrote: > > > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo wrote: > > > > > I'm trying to use the yadif_cuda deinterlace but I have not been able > to > > > get it to work. Every option I.ve tried fails, I'm pretty sure I'm > > getting > > > something wrong so I'm looking for some advice. > > > > > > Here is my version: > > > ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-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. 80.100 / 58. 80.100 > > > libavformat58. 42.100 / 58. 42.100 > > > libavdevice58. 9.103 / 58. 9.103 > > > libavfilter 7. 77.101 / 7. 77.101 > > > libswscale 5. 6.101 / 5. 6.101 > > > libswresample 3. 6.100 / 3. 6.100 > > > libpostproc55. 6.100 / 55. 6.100 > > > > > > here are the commands I am using: > > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format > cuda > > -i > > > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > > > 1080p.mkv" -map 0:0 -vf yadif_cuda=0:-1:1 -c:v h264_nvenc -map 0:1 > -c:a:0 > > > eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default -sn > > > -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" > > > > > > or > > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format > cuda > > -i > > > "L:\
Re: [FFmpeg-user] Output image sequence duplicate first image
Hi, Adam, On 04/20/2020 10:28 AM, adam smith via ffmpeg-user wrote: Hi you lovely people, I am trying to output a sequence of jpeg images from a video file. The command does indeed output a sequence of images, but the first and second are always duplicates, while the rest run in sequence until the maximum is reached or the file runs out. I am not sure what I have done wrong. I thought I have asked for -r 10/60 so 10 a minute regardless of frame rate. Any ideas how to stop the duplicate being created? Thanks in advance Here is my full terminal… /usr/src/app # ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -r 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p -c:v mjpeg /data/vod-storage-dev/temp_out/1cq8tq69tkumv1es0zxeb0ty4qa_%03d.jpeg May I suggest the following workaround? Remove the 1st (duplicate) frame with a select filter: ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -vf select='not(eq(n\,0))' -r 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p -c:v mjpeg /data/vod-storage-dev/temp_out/1cq8tq69tkumv1es0zxeb0ty4qa_%03d.jpeg Untested. ___ 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] yadif-cuda issues
Here is the output from nvidia-smi: Mon Apr 20 17:56:48 2020 +-+ | NVIDIA-SMI 442.92 Driver Version: 442.92 CUDA Version: 10.2 | |---+--+--+ | GPU NameTCC/WDDM | Bus-IdDisp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===+==+==| | 0 GeForce GTX 106... WDDM | :01:00.0 On | N/A | | 41% 31CP8 8W / 120W |341MiB / 3072MiB | 0% Default | +---+--+--+ +-+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=| |0 3588C+G Insufficient Permissions N/A | |0 5432C+G ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A | |0 6580C+G ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A | |0 7292C+G ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A | |0 11704C+G ...AppData\Local\slack\app-4.4.2\slack.exe N/A | |0 12492C+G ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A | |0 13628C+G ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A | |0 13888C+G ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A | |0 13960C+G C:\Windows\explorer.exeN/A | |0 14424C+G ...s (x86)\DisplayFusion\DisplayFusion.exe N/A | |0 15028C+G ...mmersiveControlPanel\SystemSettings.exe N/A | |0 16680C+G ...6)\Google\Chrome\Application\chrome.exe N/A | |0 17068C+G 110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A | |0 18020C+G ...5n1h2txyewy\StartMenuExperienceHost.exe N/A | |0 18268C+G ...dows.Search_cw5n1h2txyewy\SearchApp.exe N/A | +-+ 2. the build is a Zeranoe build: ffmpeg-20200417-889ad93-win64-static On Mon, Apr 20, 2020 at 5:51 PM Dennis Mungai wrote: > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo wrote: > > > I'm trying to use the yadif_cuda deinterlace but I have not been able to > > get it to work. Every option I.ve tried fails, I'm pretty sure I'm > getting > > something wrong so I'm looking for some advice. > > > > Here is my version: > > ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-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. 80.100 / 58. 80.100 > > libavformat58. 42.100 / 58. 42.100 > > libavdevice58. 9.103 / 58. 9.103 > > libavfilter 7. 77.101 / 7. 77.101 > > libswscale 5. 6.101 / 5. 6.101 > > libswresample 3. 6.100 / 3. 6.100 > > libpostproc55. 6.100 / 55. 6.100 > > > > here are the commands I am using: > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda > -i > > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > > 1080p.mkv" -map 0:0 -vf yadif_cuda=0:-1:1 -c:v h264_nvenc -map 0:1 -c:a:0 > > eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default -sn > > -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" > > > > or > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda > -i > > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > > 1080p.mkv" -map 0:0 -vf yadif_cuda=deint=interlaced -c:v h264_nvenc -map > > 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 > default > > -sn -metadata:g title= "Star Trek Into Darkness - 1080
Re: [FFmpeg-user] Output image sequence duplicate first image
Am Mo., 20. Apr. 2020 um 19:32 Uhr schrieb Edward Park : > > > Use the output option -r or the fps filter to control the frequency of the > > image grabs. > > They will show different behaviour wrt the beginning of the grab cycle. > > The identical frames at the start is surprising for me, why would that happen > and not be counted as a duplicate? I am also surprised but I wonder if there are not duplicated but the way -r acts can look nondeterministic (it isn't but can act surprisingly). > Does it happen when the frames aren't in the order that they're presented at > the beginning? I don't think this is related. Carl Eugen ___ 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] yadif-cuda issues
On Tue, 21 Apr 2020 at 00:31, Andy Sheimo wrote: > I'm trying to use the yadif_cuda deinterlace but I have not been able to > get it to work. Every option I.ve tried fails, I'm pretty sure I'm getting > something wrong so I'm looking for some advice. > > Here is my version: > ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-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. 80.100 / 58. 80.100 > libavformat58. 42.100 / 58. 42.100 > libavdevice58. 9.103 / 58. 9.103 > libavfilter 7. 77.101 / 7. 77.101 > libswscale 5. 6.101 / 5. 6.101 > libswresample 3. 6.100 / 3. 6.100 > libpostproc55. 6.100 / 55. 6.100 > > here are the commands I am using: > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda -i > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > 1080p.mkv" -map 0:0 -vf yadif_cuda=0:-1:1 -c:v h264_nvenc -map 0:1 -c:a:0 > eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default -sn > -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" > > or > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda -i > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > 1080p.mkv" -map 0:0 -vf yadif_cuda=deint=interlaced -c:v h264_nvenc -map > 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default > -sn -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" > > or > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda -i > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > 1080p.mkv" -map 0:0 -filter:v yadif_cuda=deint=interlaced -c:v h264_nvenc > -b:v 2000k -maxrate:v 6000k -rc:v vbr_hq -profile:v high -color_primaries:v > smpte170m -color_trc:v bt709 -colorspace:v smpte170m -metadata:s:v title= > -disposition:v default -map 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 > title= -disposition:a:0 default -sn -metadata:g title= "Star Trek Into > Darkness - 1080p.mkv" > > The most common error I receive is: > [Parsed_yadif_cuda_0 @ 020bd180a2c0] > cu->cuModuleLoadData(&s->cu_module, vf_yadif_cuda_ptx) failed -> > CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid > [Parsed_yadif_cuda_0 @ 020bd180a2c0] Failed to configure output pad on > Parsed_yadif_cuda_0 > Error reinitializing filters! > Failed to inject frame into filter network: Generic error in an external > library > Error while processing the decoded data for stream #0:0 > > full log attached as output.txt > > The other common error is: > [auto_scaler_0 @ 020daa1ac880] Setting 'flags' to value 'bicubic' > [auto_scaler_0 @ 020daa1ac880] w:iw h:ih flags:'bicubic' interl:0 > [Parsed_yadif_cuda_0 @ 020da98bedc0] auto-inserting filter > 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the > filter 'Parsed_yadif_cuda_0' > Impossible to convert between the formats supported by the filter 'graph 0 > input from stream 0:0' and the filter 'auto_scaler_0' > Error reinitializing filters! > Failed to inject frame into filter network: Function not implemented > Error while processing the decoded data for stream #0:0 > > full log attached as output2.txt. > > The second error I am pretty sure has to do with me calling some software > filter in a full hardware pipeline but I am unsure what it is. I also heard > rumor of auto_scale being inserted when it doesn't need to be but I will > let the experts tell me if they see that. > > My goal is to be able to use yadif_cuda so that I can keep a complete gpu > pipeline. Any and all help is appreciated. Thanks > > Hello there, 1. Which GPU do you have? Confirm the GPU and the driver version by running nvidia-smi. 2. How did you build ffmpeg? Did you fetch a static build from Zeranoe? I've seen a similar issue here on the "CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid error" posted on this mailing list related to Zeranoe's builds. If that's the case, please confirm. If you built
Re: [FFmpeg-user] ffmpeg architecture question
Hi, Ted, On 04/20/2020 06:20 AM, Edward Park wrote: Hey, I don't understand what you mean by "recursively". Haven't you heard? There's no recursion. There's no problem. The 'blend' filter just has some fun undocumented features. Hours and hours, days and days of fun. So much fun I just can't stand it. Too much fun. There's no recursion because a filtergraph is typically supposed to be a directed acyclic graph, there is no hierarchy to traverse. Thank you. Yes, I see that now. I thought that filtergraphs recursed (and failed in this case) because when I placed 'datagraph' filters into the filtergraph, I saw only the frames that succeeded (i.e., made their way to the output), not all frames -- 'datagraph' doesn't work like an oscilloscope -- so the behavior appeared to be failure to recurse. I did not try splitting out a separate stream and 'map'ping it to a 2nd output video as you suggested -- thank you -- but I trust that technique works and I will use it in the future. Blend not specifying which of the two input frames it takes the timestamps from is true enough, except the only reason it poses a problem is because it leads to another filter getting two frames with the exact same timestamp, as they were split earlier on in the digraph. And it's not obvious by any means, but you can sort of deduce that blend will take the timestamps from the first input stream, blend having a "top" and "bottom" stream (I mean on the z-axis, lest this cause any more confusion) kind of implies similar operation to the overlay filter applied on the two inputs that each go through some other filter, with an added alpha channel, and the description for the overlay filter says the first input is the "main" that the second "overlay" is composited on. I now appreciate that 'blend' has a "preferred" input similar to 'overlay', but that behavior is not documented. In the case of 'overlay', the name "main" doesn't convey that meaning, and in the case of 'blend', that behavior is not documented at all. Both documentations should explain how timestamps control output and that the 1st filter-input's timestamp determines the filter-output's timestamp. On a different note, in the interest of making the flow of frames within the filtergraph something simple enough to picture using my rather simple brain ... You are far too modest, Ted. ;-) ... this is my attempt at simplifying a filtergraph you posted a while ago, I'm not sure if it's accurate, but I can't tell if I'm reproducing the same result even when frame stepping (because to compare frame by frame, I had to compare it to another telecine, and the only one I'd seen is the 3-2 pulldown. And I really cannot tell the difference when playing at speed, I can tell them apart if I step frame by frame, but not identify which is which, had to draw a label on them) I single step through frames to see the effect of the filter (which is targeted to filter solely (n+1)%5==3 frames, so is easy to distinguish by simply counting: 0... (step) 1... (step) 2... ). MPV permits such single-stepping. I don't know whether ffplay does. Could you see if it actually does do the same thing? telecine=pattern=5,select='n=2:e=ifnot(mod(mod(n,5)+1,3),1,2)'[C],split[AB_DE],select='not(mod(n+3,4))'[B],[C][B]blend[B/C],[AB_DE][B/C]interleave "do the same thing"? Do you mean: Do the same thing as 23 pull-down? 23 pull-down: A B B+C C+D D E F F+G G+H H ... 30fps 55 pull-down: A A A+B B B C C C+D D D ... 60fps You see, it's for situations like this that I portray frames like this: |<--1/6s-->| [A/a__][B/b__][C/c__][D/d__] [A/a___][B/b___][B/c___][C/d___][D/d___] 23-telecine [A/a_][A/a_][A/b_][B/b_][B/b_][C/c_][C/c_][C/d_][D/d_][D/d_] 55-telecine I find such timing diagrams to be simple to understand and unambiguous. They clearly show what happens to top/bottom half-pictures. The pads are labeled according to an ABCDE pattern at the telecine, I don't know if that makes sense or is correct at all. I believe that the names of pads are arbitrary. I use [A][B][C]... because they are easy to see and because they are compact. It does make it possible to 4up 1920x1080 streams with different filters and compare them in real time without falling below ~60fps. I think the fact that "split" actually copies a stream, while "select" splits a stream is kind of confusing now. "Select" also adds another stream of video but I think splitting then using select with boolean expressions to discard the not selected frames has to be wasteful. Is there any alternative? I think not. I seek to filter solely frames 2 7 12 17 ...etc. so I use (n+1)%5==3 (i.e., select='eq(mod(n+1\,5)\,3)'). ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link abov
[FFmpeg-user] yadif-cuda issues
I'm trying to use the yadif_cuda deinterlace but I have not been able to get it to work. Every option I.ve tried fails, I'm pretty sure I'm getting something wrong so I'm looking for some advice. Here is my version: ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-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. 80.100 / 58. 80.100 libavformat58. 42.100 / 58. 42.100 libavdevice58. 9.103 / 58. 9.103 libavfilter 7. 77.101 / 7. 77.101 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 libpostproc55. 6.100 / 55. 6.100 here are the commands I am using: ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda -i "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - 1080p.mkv" -map 0:0 -vf yadif_cuda=0:-1:1 -c:v h264_nvenc -map 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default -sn -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" or ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda -i "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - 1080p.mkv" -map 0:0 -vf yadif_cuda=deint=interlaced -c:v h264_nvenc -map 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default -sn -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" or ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format cuda -i "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - 1080p.mkv" -map 0:0 -filter:v yadif_cuda=deint=interlaced -c:v h264_nvenc -b:v 2000k -maxrate:v 6000k -rc:v vbr_hq -profile:v high -color_primaries:v smpte170m -color_trc:v bt709 -colorspace:v smpte170m -metadata:s:v title= -disposition:v default -map 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default -sn -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" The most common error I receive is: [Parsed_yadif_cuda_0 @ 020bd180a2c0] cu->cuModuleLoadData(&s->cu_module, vf_yadif_cuda_ptx) failed -> CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid [Parsed_yadif_cuda_0 @ 020bd180a2c0] Failed to configure output pad on Parsed_yadif_cuda_0 Error reinitializing filters! Failed to inject frame into filter network: Generic error in an external library Error while processing the decoded data for stream #0:0 full log attached as output.txt The other common error is: [auto_scaler_0 @ 020daa1ac880] Setting 'flags' to value 'bicubic' [auto_scaler_0 @ 020daa1ac880] w:iw h:ih flags:'bicubic' interl:0 [Parsed_yadif_cuda_0 @ 020da98bedc0] auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_yadif_cuda_0' Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented Error while processing the decoded data for stream #0:0 full log attached as output2.txt. The second error I am pretty sure has to do with me calling some software filter in a full hardware pipeline but I am unsure what it is. I also heard rumor of auto_scale being inserted when it doesn't need to be but I will let the experts tell me if they see that. My goal is to be able to use yadif_cuda so that I can keep a complete gpu pipeline. Any and all help is appreciated. Thanks ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-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
Re: [FFmpeg-user] Problem with recorded YouTube stream
On 4/20/2020 11:42 AM, H wrote: I am running ffmpeg 2.8.15 under CentOS 7, the latest version released for that operating system. First- that version is positively _ancient_ and not supported at all. Download a current linux build as linked from https://ffmpeg.org/download.html and try that. Or pull the source from git and build your own version. Second- please post the _entire_ command output (third- when replying, do not top-post your message) These are pretty much immutable rules of the list and are discussed in https://ffmpeg.org/mailing-list-faq.html Later, z! ___ 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] Problem with recorded YouTube stream
I am running ffmpeg 2.8.15 under CentOS 7, the latest version released for that operating system. Yesterday I recorded a YouTube stream for later playback. However, playing it back in ffmpeg results in the dreaded: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d5ac20] moov atom not found abb.mp4: Invalid data found when processing input I saved the information output by ffmpeg (youtube-dl) when recording the stream and am hoping that someone could suggest some options I could use for ffmpeg to allow me to play the stream back. Here is what I believe might be key info: Metadata: encoder : Lavf56.40.101 Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 120 kb/s Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (copy) Press [q] to stop, [?] for help [tls @ 0x22e0d00] The TLS connection was non-properly terminated. [tls @ 0x22e0d00] The specified session has been invalidated for some reason. [tls @ 0x2309820] The TLS connection was non-properly terminated.te= 224.4kbits/s ... Thank you. ___ 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] Output image sequence duplicate first image
Hi, > Use the output option -r or the fps filter to control the frequency of the > image grabs. They will show different behaviour wrt the beginning of the grab > cycle. The identical frames at the start is surprising for me, why would that happen and not be counted as a duplicate? Does it happen when the frames aren't in the order that they're presented at the beginning? Regards, Ted Park ___ 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] Output image sequence duplicate first image
> On 20 Apr 2020, at 15:38, Edward Park wrote: > > If this is accurate, it looks like you have asked it to produce 20 frames in > 60 seconds, or 1/3 fps, or 1 frame every 3 seconds regardless of input > framerate, whatever. It will drop frames, duplicate frames, do what is needed > to keep 1/3 frames per second constant output. You've also specified that you > want 10 frames total. at 1/3 fps that runs 30 seconds. I'm not sure why the > first and second are always duplicates, it doesn't look like any frames were > duplicated. (at 0.33fps if two frames were exactly the same when they weren't > duplicated, maybe it was frozen in the source?) > > Regards, > Ted > Thanks Ted, Thats exactly what I was hoping I had asked it for. Create 20 image files per 60 seconds of source media up to a maximum total of 10 images. So if the source was 15 seconds in duration I would get 5 images, anything 30 seconds if longer in duration I would get 10 images output spaced equally apart in time at a frequency of 1/3 fps from the start of the source. These values are all variables at runtime so I might ask to create at a lower frequency with more or less total images. Every single time I get a duplicate first image :( ___ 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] Output image sequence duplicate first image
> Am 20.04.2020 um 18:16 schrieb adam smith via ffmpeg-user > : > > >> On 20 Apr 2020, at 16:03, Carl Eugen Hoyos wrote: >> Use -vsync 0 and remove -r. > > Thanks for your help Carl. > Adding the -vsync 0 and removing -r did resolve the issue duplicate image > output but did not allow me to specify the frequency of the image grabs. > I will search about for something to allow the frequency to be included. Sorry, I misunderstood: Use the output option -r or the fps filter to control the frequency of the image grabs. They will show different behaviour wrt the beginning of the grab cycle. Carl Eugen ___ 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] Output image sequence duplicate first image
> On 20 Apr 2020, at 16:03, Carl Eugen Hoyos wrote: > Use -vsync 0 and remove -r. Thanks for your help Carl. Adding the -vsync 0 and removing -r did resolve the issue duplicate image output but did not allow me to specify the frequency of the image grabs. I will search about for something to allow the frequency to be included. Thanks ___ 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] Output image sequence duplicate first image
> Am 20.04.2020 um 16:28 schrieb adam smith via ffmpeg-user > : > > Any ideas how to stop the duplicate being created? Use -vsync 0 and remove -r. Carl Eugen ___ 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] Failure: No wav codec tag found
On 4/18/2020 9:28 AM, Kieran O Leary wrote: On Sat, Apr 18, 2020 at 12:53 AM Mark Filipak < markfilipak.windows+ffm...@gmail.com> wrote: On 04/17/2020 07:50 PM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : I know that PCM was never used for DVDs DVDs with PCM audio exist. Cool! I've never seen one but, cool. What flavor of PCM? BE or LE? As Carl said, endianness doesn't really matter here. Why were you curious? But as an aside, PCM on DVDs was somewhat common for music. I remember Pink Floyd's The Wall and This is Spinal Tap having PCM options. PowerDVD was pretty good at giving stream info back in the day. Best, Kieran ___ 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". PCM was certainly used as I recall ... NTSC & Pal had different approved audios formats used PCM , DTS, ac3 , mpg1 Layer 2 - ___ 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] Output image sequence duplicate first image
Hi, > /usr/src/app # ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -r > 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p -c:v mjpeg > /data/vod-storage-dev/temp_out/1cq8tq69tkumv1es0zxeb0ty4qa_%03d.jpeg ... >Stream #0:0: Video: mpeg2video, yuv422p(tv, top first), 1920x1080 [SAR 1:1 > DAR 16:9], 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc >Metadata: > file_package_umid: > 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 ... >Stream #0:0: Video: mjpeg, yuvj420p(pc), 283x159 [SAR 848:849 DAR 16:9], > q=2-31, 200 kb/s, 0.33 fps, 0.33 tbn, 0.33 tbc >Metadata: > file_package_umid: > 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 > encoder : Lavc58.54.100 mjpeg >Side data: > cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: -1 > frame= 10 fps=3.0 q=1.6 Lsize=N/A time=00:00:30.00 bitrate=N/A dup=0 > drop=583 speed= 8.9x > video:51kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing > overhead: unknown If this is accurate, it looks like you have asked it to produce 20 frames in 60 seconds, or 1/3 fps, or 1 frame every 3 seconds regardless of input framerate, whatever. It will drop frames, duplicate frames, do what is needed to keep 1/3 frames per second constant output. You've also specified that you want 10 frames total. at 1/3 fps that runs 30 seconds. I'm not sure why the first and second are always duplicates, it doesn't look like any frames were duplicated. (at 0.33fps if two frames were exactly the same when they weren't duplicated, maybe it was frozen in the source?) Regards, Ted ___ 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] Output image sequence duplicate first image
Hi you lovely people, I am trying to output a sequence of jpeg images from a video file. The command does indeed output a sequence of images, but the first and second are always duplicates, while the rest run in sequence until the maximum is reached or the file runs out. I am not sure what I have done wrong. I thought I have asked for -r 10/60 so 10 a minute regardless of frame rate. Any ideas how to stop the duplicate being created? Thanks in advance Here is my full terminal… /usr/src/app # ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -r 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p -c:v mjpeg /data/vod-storage-dev/temp_out/1cq8tq69tkumv1es0zxeb0ty4qa_%03d.jpeg ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 6.4.0 (Alpine 6.4.0) configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-postproc --enable-small --enable-version3 --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --extra-libs=-ldl --prefix=/opt/ffmpeg libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat58. 29.100 / 58. 29.100 libavdevice58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc55. 5.100 / 55. 5.100 Guessed Channel Layout for Input Stream #0.1 : mono Guessed Channel Layout for Input Stream #0.2 : mono Guessed Channel Layout for Input Stream #0.3 : mono Guessed Channel Layout for Input Stream #0.4 : mono Guessed Channel Layout for Input Stream #0.5 : mono Guessed Channel Layout for Input Stream #0.6 : mono Guessed Channel Layout for Input Stream #0.7 : mono Guessed Channel Layout for Input Stream #0.8 : mono Input #0, mxf, from '/data/vod-storage-dev/source/testfile.mxf': Metadata: operational_pattern_ul: 060e2b34.04010101.0d010201.01010900 uid : adab4424-2f25-4dc7-92ff-29bd000c generation_uid : adab4424-2f25-4dc7-92ff-29bd000c0001 company_name: FFmpeg product_name: OP1a Muxer product_version : 58.12.100 product_uid : adab4424-2f25-4dc7-92ff-29bd000c0002 material_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2400 timecode: 00:00:00:00 Duration: 00:00:38.44, start: 0.00, bitrate: 59978 kb/s Stream #0:0: Video: mpeg2video, yuv422p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D001324CF5D529471346A24CF5D00529471346A2401 Stream mapping: Stream #0:0 -> #0:0 (mpeg2video (native) -> mjpeg (native)) Press [q] to stop, [?] for help [swscaler @ 0x5573b7c37180] deprecated pixel format used, make sure you did set range correctly Output #0, image2, to '/data/vod-storage-dev/temp_out/1cq8tq69tkumv1es0zxeb0ty4qa_%03d.jpeg': Metadata: operational_pattern_ul: 060e2b34.04010101.0d010201.01010900 uid : adab4424-2f25-4dc7-92ff-29bd00
Re: [FFmpeg-user] hw_decode.c on osx?
Hi, > you've probably already seen carl eugen's post referring to ticket 8615. > looks like this may be a regression ... to answer your question, though, > i'm on a 2018 mini (i7); gpu is "Intel UHD Graphics 630", which should > support hardware decoding for hevc (and certainly for h264). Yes, I have, and I noticed it was about a dozen commits behind origin HEAD. So I pulled and rebuilt, and got the exact same error. Like decode was not even starting with vda or vt, encode still worked fine. Something interesting I noticed was when I ran ffmpeg -hwaccels it only showed videotoolbox once. It always listed it twice which I thought was weird, but only once now that it's not working. So does that mean it listed it once for decompression and once for compression via VideoToolbox? So it built without decode support but with encode support? Turning off avx optimizations doesn't do anything to help this time. Worked at 55d830f69a2ff3ca191d97862200d4cc480d25b7 kumowoon1025@rfarm1 ffmpeg % ./ffmpeg_g -buildconf && ./ffmpeg_g -hide_banner -hwaccels ffmpeg version N-96726-g018a42790c Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) configuration: --prefix=/tmp/ffocl --enable-gpl libavutil 56. 40.100 / 56. 40.100 libavcodec 58. 68.102 / 58. 68.102 libavformat58. 38.100 / 58. 38.100 libavdevice58. 9.103 / 58. 9.103 libavfilter 7. 75.100 / 7. 75.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc55. 6.100 / 55. 6.100 configuration: --prefix=/tmp/ffocl --enable-gpl Hardware acceleration methods: videotoolbox videotoolbox Not working now kumowoon1025@rfarm1 ffmpeg % ./ffmpeg_g -buildconf && ./ffmpeg_g -hide_banner -hwaccels ffmpeg version N-97394-gcacdac819f Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 11.0.3 (clang-1103.0.32.29) configuration: --prefix=/tmp/ffocl --enable-gpl libavutil 56. 42.102 / 56. 42.102 libavcodec 58. 80.100 / 58. 80.100 libavformat58. 42.100 / 58. 42.100 libavdevice58. 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 libpostproc55. 6.100 / 55. 6.100 configuration: --prefix=/tmp/ffocl --enable-gpl Hardware acceleration methods: videotoolbox Diff of config.h 9c9 < #define CC_IDENT "Apple clang version 11.0.3 (clang-1103.0.32.29)" --- > #define CC_IDENT "Apple clang version 11.0.0 (clang-1100.0.33.17)" 392c392 < #define CONFIG_AVIO_LIST_DIR_EXAMPLE 1 --- > #define CONFIG_AVIO_DIR_CMD_EXAMPLE 1 476d475 < #define CONFIG_LIBRABBITMQ 0 758d756 < #define CONFIG_CDTOONS_DECODER 1 878d875 < #define CONFIG_MV30_DECODER 1 918a916 > #define CONFIG_SDX2_DPCM_DECODER 1 1042d1039 < #define CONFIG_HCA_DECODER 1 1077d1073 < #define CONFIG_SIREN_DECODER 1 1130c1126 < #define CONFIG_DERF_DPCM_DECODER 1 --- > #define CONFIG_PCM_ZORK_DECODER 1 1134d1129 < #define CONFIG_SDX2_DPCM_DECODER 1 1155d1149 < #define CONFIG_ADPCM_IMA_ALP_DECODER 1 1157d1150 < #define CONFIG_ADPCM_IMA_APM_DECODER 1 1164d1156 < #define CONFIG_ADPCM_IMA_MTF_DECODER 1 1184d1175 < #define CONFIG_ADPCM_ZORK_DECODER 1 1578d1568 < #define CONFIG_WEBP_PARSER 1 1754d1743 < #define CONFIG_CAS_FILTER 1 1873d1861 < #define CONFIG_MASKEDTHRESHOLD_FILTER 1 1899d1886 < #define CONFIG_OVERLAY_CUDA_FILTER 0 1902d1888 < #define CONFIG_PAD_OPENCL_FILTER 0 1985d1970 < #define CONFIG_TMEDIAN_FILTER 1 2081d2065 < #define CONFIG_ALP_DEMUXER 1 2088d2071 < #define CONFIG_APM_DEMUXER 1 2127d2109 < #define CONFIG_DERF_DEMUXER 1 2155d2136 < #define CONFIG_FWSE_DEMUXER 1 2169d2149 < #define CONFIG_HCA_DEMUXER 1 2578d2557 < #define CONFIG_LIBAMQP_PROTOCOL 0 And this is the working build's config.h on the right. /* Automatically generated by configure - do not modify! */ #ifndef FFMPEG_CONFIG_H #define FFMPEG_CONFIG_H #define FFMPEG_CONFIGURATION "--prefix=/tmp/ffocl --enable-gpl" #define FFMPEG_LICENSE "GPL version 2 or later" #define CONFIG_THIS_YEAR 2020 #define FFMPEG_DATADIR "/tmp/ffocl/share/ffmpeg" #define AVCONV_DATADIR "/tmp/ffocl/share/ffmpeg" #define CC_IDENT "Apple clang version 11.0.0 (clang-1100.0.33.17)" #define av_restrict restrict #define EXTERN_PREFIX "_" #define EXTERN_ASM _ #define BUILDSUF "" #define SLIBSUF ".dylib" #define HAVE_MMX2 HAVE_MMXEXT #define SWS_MAX_FILTER_SIZE 256 #define ARCH_AARCH64 0 #define ARCH_ALPHA 0 #define ARCH_ARM 0 #define ARCH_AVR32 0 #define ARCH_AVR32_AP 0 #define ARCH_AVR32_UC 0 #define ARCH_BFIN 0 #define ARCH_IA64 0 #define ARCH_M68K 0 #define ARCH_MIPS 0 #define ARCH_MIPS64 0 #define ARCH_PARISC 0 #define ARCH_PPC 0 #define ARCH_PPC64 0 #define ARCH_S390 0 #define ARCH_SH4 0 #define ARCH_SPARC 0 #define ARCH_SPARC64 0 #define ARCH_TILEGX 0 #define ARCH_TILEPRO 0 #define ARCH_TOMI 0 #define ARCH_X86 1 #define ARCH_X86_32 0 #define ARCH_X86_64 1 #define HAVE_ARMV5TE 0 #define HA
Re: [FFmpeg-user] ffmpeg architecture question
Hey, >> I don't understand what you mean by "recursively". > > Haven't you heard? There's no recursion. There's no problem. The 'blend' > filter just has some fun undocumented features. Hours and hours, days and > days of fun. So much fun I just can't stand it. Too much fun. There's no recursion because a filtergraph is typically supposed to be a directed acyclic graph, there is no hierarchy to traverse. Blend not specifying which of the two input frames it takes the timestamps from is true enough, except the only reason it poses a problem is because it leads to another filter getting two frames with the exact same timestamp, as they were split earlier on in the digraph. And it's not obvious by any means, but you can sort of deduce that blend will take the timestamps from the first input stream, blend having a "top" and "bottom" stream (I mean on the z-axis, lest this cause any more confusion) kind of implies similar operation to the overlay filter applied on the two inputs that each go through some other filter, with an added alpha channel, and the description for the overlay filter says the first input is the "main" that the second "overlay" is composited on. On a different note, in the interest of making the flow of frames within the filtergraph something simple enough to picture using my rather simple brain, this is my attempt at simplifying a filtergraph you posted a while ago, I'm not sure if it's accurate, but I can't tell if I'm reproducing the same result even when frame stepping (because to compare frame by frame, I had to compare it to another telecine, and the only one I'd seen is the 3-2 pulldown. And I really cannot tell the difference when playing at speed, I can tell them apart if I step frame by frame, but not identify which is which, had to draw a label on them) Could you see if it actually does do the same thing? telecine=pattern=5,select='n=2:e=ifnot(mod(mod(n,5)+1,3),1,2)'[C],split[AB_DE],select='not(mod(n+3,4))'[B],[C][B]blend[B/C],[AB_DE][B/C]interleave The pads are labeled according to an ABCDE pattern at the telecine, I don't know if that makes sense or is correct at all. It does make it possible to 4up 1920x1080 streams with different filters and compare them in real time without falling below ~60fps. I think the fact that "split" actually copies a stream, while "select" splits a stream is kind of confusing now. "Select" also adds another stream of video but I think splitting then using select with boolean expressions to discard the not selected frames has to be wasteful. Regards, Ted Park ___ 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".