Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-31 Thread Michael Shaffer
I was looking at this, it lists decode capability but not encode. https://trac.ffmpeg.org/wiki/Hardware/QuickSync As for putting text on the video, there's a library called OpenCV that lets you put text on the video and do lots of other things. It probably would be too much trouble though, since O

Re: [FFmpeg-user] Multicore CPU run

2019-01-31 Thread Carl Eugen Hoyos
2019-01-31 21:06 GMT+01:00, Mahmood Naderan : >>I believe if you want to use the cuda scaling filter you should also >>use cuda decoding. > > The original cuda compatible run is > > ./ffmpeg -hwaccel cuvid -c:v h264_cuvid -i ../4k_normal.mp4 -vf > scale_npp=1280:720 -c:v h264_nvenc 720p1.mp4 > > I

Re: [FFmpeg-user] Multicore CPU run

2019-01-31 Thread Mahmood Naderan
>I believe if you want to use the cuda scaling filter you should also >use cuda decoding. The original cuda compatible run is ./ffmpeg -hwaccel cuvid -c:v h264_cuvid -i ../4k_normal.mp4 -vf scale_npp=1280:720 -c:v h264_nvenc 720p1.mp4 I want to do that with multicore CPU. That command basically

Re: [FFmpeg-user] Multicore CPU run

2019-01-31 Thread Carl Eugen Hoyos
2019-01-31 20:39 GMT+01:00, Mahmood Naderan : > I want to run a multicore CPU job with ffmpeg and I think > the command should be > > ./ffmpeg -i ../4k_normal.mp4 -vf scale_npp=1280:720 720p1.mp4 I believe if you want to use the cuda scaling filter you should also use cuda decoding. Carl Eugen

[FFmpeg-user] Multicore CPU run

2019-01-31 Thread Mahmood Naderan
Hi, I want to run a multicore CPU job with ffmpeg and I think the command should be ./ffmpeg -i ../4k_normal.mp4 -vf scale_npp=1280:720 720p1.mp4 but it fails ./ffmpeg -i ../4k_normal.mp4 -vf scale_npp=1280:720 720p1.mp4 ffmpeg version N-93005-gd92f06eb66 Copyright (c) 2000-2019 the FFmpeg dev

Re: [FFmpeg-user] Help, error during transcoding

2019-01-31 Thread Moritz Barsnick
On Thu, Jan 31, 2019 at 13:18:53 +0100, NDJORE BORIS wrote: > When I try to transcode some mp4 or avi videos, I have this error: > > [h264_vaapi @ 0x17cf500] A hardware frames reference is required to > associate the encoding device. > Cannot open video encoder for stream #1 You need to show us t

Re: [FFmpeg-user] filter_complex and map. Am i confused or bug?

2019-01-31 Thread Alex Molon
Hi Gyan, Thanks a lot, Seems to work as expected now :) Alex Molon -Original Message- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Gyan Sent: 31 January 2019 12:59 To: ffmpeg-user@ffmpeg.org Subject: Re: [FFmpeg-user] filter_complex and map. Am i confused or b

Re: [FFmpeg-user] filter_complex and map. Am i confused or bug?

2019-01-31 Thread Alex Molon
In this case I used a "real life" scenario, picking up a live stream. The result is the same: Command executed: ffmpeg -i udp://226.45.23.147:2001?fifo_size=100 -filter_complex "[0:v]scale=720:576[vidout1];[0:v]scale=640:480[vidout2]" -c:v libx264 -c:a aac -b:v:vidout1 2M -minrate:v:v

Re: [FFmpeg-user] filter_complex and map. Am i confused or bug?

2019-01-31 Thread Gyan
On 31-01-2019 06:11 PM, Alex Molon wrote: -b:v:vidout1 2M -minrate:v:vidout1 2M -maxrate:v:vidout1 2M \ <- I specify that [vidout1] has to be encoded in 2M/2M/2M -b:v:vidout2 1M -minrate:v:vidout2 1M -maxrate:v:vidout2 1M \ <- I specify that [vidout2] has to be encoded in 1M/1M/1M Stream s

Re: [FFmpeg-user] filter_complex and map. Am i confused or bug?

2019-01-31 Thread Alex Molon
Hi Carl, My problem actually is not the order itself, but how the single tracks are actually encoded The complete command is: ffmpeg -i INPUTFILE -filter_complex "[0:v]scale=720:576[vidout1];[0:v]scale=640:480[vidout2]" -c:v libx264 -c:a aac -b:v:vidout1 2M -minrate:v:vidout1 2M -maxrate

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-31 Thread Carl Eugen Hoyos
2019-01-31 6:46 GMT+01:00, Carl Zwanzig : > On 1/30/2019 12:23 PM, Carl Eugen Hoyos wrote: >> this is not about the "signal" that is of >> course interlaced for analog PAL but the content that >> may of may not be interlaced (and the idet filter only >> looks at the content and nothing in FFmpeg i

Re: [FFmpeg-user] filter_complex and map. Am i confused or bug?

2019-01-31 Thread Carl Eugen Hoyos
2019-01-31 13:41 GMT+01:00, Alex Molon : > Basically I have a file with a single video track and a single audio track. > > What I want to achieve is: > > > > a) Scale the video track to 720x576 and encode it in H264 @ 2M with 2M > minrate and 2M maxrate > > b) Scale the video track to 640x480 and

[FFmpeg-user] filter_complex and map. Am i confused or bug?

2019-01-31 Thread Alex Molon
Hi guys, What I'm trying to do, in theory, should be very simple but it seems that I miss to understand about how ffmpeg routes different tracks. Basically I have a file with a single video track and a single audio track. What I want to achieve is: a) Scale the video track to 720x576 and

[FFmpeg-user] Help, error during decoding

2019-01-31 Thread NDJORE BORIS
Hello Team, When I try to decode some mp4 or avi videos, I have this error: [h264_vaapi @ 0x17cf500] A hardware frames reference is required to associate the encoding device. Can someone explain what it means or help me to fix it, please? Regards ___

[FFmpeg-user] Help, error during transcoding

2019-01-31 Thread NDJORE BORIS
Hello Team, When I try to transcode some mp4 or avi videos, I have this error: [h264_vaapi @ 0x17cf500] A hardware frames reference is required to associate the encoding device. Cannot open video encoder for stream #1 Can someone explain what it means or help me to fix it, please? Regards __

Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-31 Thread frhun
excuse me, at first I did not read properly what you wrote you look ,I delete the drawtext, and do not use c:v copy but the cpu usage same with drawtext ~30% ffmpeg -r 25 -rtsp_transport tcp -i rtsp://admin:12341@192.168.2.25/Streaming/Channels/1 -c:v libx264 -b:v 2M -c:a copy -preset ultrafas