Re: [FFmpeg-user] transcode/convert /copy

2019-03-03 Thread James Girotti
I have had success mapping the stream again: ffmpeg -i input.mkv -c:a:0 libmp3lame -map 0:a:0 -c:a copy output.mkv Hope that helps, -J ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe,

Re: [FFmpeg-user] FFmpeg Not Transcoding In Real Time

2018-12-03 Thread James Girotti
On Sun, Dec 2, 2018 at 9:59 AM Gabriel Balaich wrote: > > > > Furthermore when I try recording both streams in one 4K60 video via OBS > > things work perfectly fine, as in real-time. So I don't understand how > > transcoding two 1080p60 streams in FFmpeg would be anymore intensive than > > one

Re: [FFmpeg-user] Nvenc Fails with Cannot Init CUDA

2018-05-31 Thread James Girotti
> > Using the strace utility I can get a little more information on the error: > > strace ffmpeg -i input.mp4 -c:v h264_nvenc output.mkv > > stat("/dev/nvidia-uvm", {st_mode=S_IFCHR|0666, st_rdev=makedev(249, 0), > ...}) = 0 > stat("/dev/nvidia-uvm-tools", {st_mode=S_IFCHR|0666,

Re: [FFmpeg-user] hwaccel cuvid with filters

2018-04-19 Thread James Girotti
> > Maybe someone can explain how to use in filters? This seems to be a gap in documentation, because it comes up every now and then on the mailing list. I'll try to be brief. When using "-hwaccel cuvid" the hw-decoded frames stay in GPU memory and are passed onto the hw-encoder. The filters

Re: [FFmpeg-user] NVDEC/NVENC resources underutilization

2018-02-28 Thread James Girotti
> > I see 30% NVENC performance loss when the transcoding path is NVDEC - RAM > - NVENC. Does it mean system memory bandwidth is a bottleneck in this case? > Am I faced other unavoidable overheads? > You will definitely see a performance loss when not using '-hwaccel cuvid', but I have recently

Re: [FFmpeg-user] Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0'

2018-02-13 Thread James Girotti
> > Recently, I faced transcoding issues with fully hardware nvdec/nvenc > scheme. Particularly, my FFmpeg feed fails with the following error after > 30-60 minutes of live transcoding: > I have recently encountered this as well, but with DVD video material. > As I understand, some parameters

Re: [FFmpeg-user] 4K 60Hz Directshow Video Capture

2018-02-13 Thread James Girotti
On Tue, Feb 13, 2018 at 6:57 AM, Alex P wrote: > I think I've figured it out. When I use nv12 or yuv420p as the input and > output pixel format, I get x1 performance. If I use bgr24/rgb24 as the > input and yuv444p as the output, I get around x0.3. > Looks like switching

Re: [FFmpeg-user] 4K 60Hz Directshow Video Capture

2018-02-12 Thread James Girotti
> > ffmpeg -f dshow -video_size 3840x2160 -framerate 6/1001 -rtbufsize > 21 -pixel_format bgr24 -i video="MZ0380 PCI, Analog 01 Capture" > -c:v h264_nvenc -preset lossless -f null - > Gives me the same error > That's surprising, I can get about 200fps using file-based/ramdisk "-c:v

Re: [FFmpeg-user] 4K 60Hz Directshow Video Capture

2018-02-12 Thread James Girotti
Hi Alex, I looked at your attached log. It appears to me that using libx265, your computer cannot encode fast enough. It appears your computer is encoding about 10.5 fps, but your input is about 60fps. So a lot of frames get buffered every second while they're waiting to be encoded. This leads to

Re: [FFmpeg-user] Impossible to convert between the formats - but why?

2018-01-22 Thread James Girotti
> > Is there a way I could get more insights on what particularly trigger this > message? > You could increase your loglevel, that will give you some hints as to what's happening. Try "-loglevel 48", which is debug level so there will be a lot of output. You don't really need to do that though.

Re: [FFmpeg-user] The option of -hwaccel device doesn't works well(FFmpeg n3.4)

2017-11-06 Thread James Girotti
On Sun, Nov 5, 2017 at 6:16 PM, Baek Seung Hoon wrote: > (Its mail continuous previous my one.. sorry) > ​ > I wonder know what is different ffmpeg internal sequence following 2 > commands.. > > 1. > > ffmpeg -y -i ./input.mp4 -filter_complex >

Re: [FFmpeg-user] The option of -hwaccel device doesn't works well(FFmpeg n3.4)

2017-11-05 Thread James Girotti
I wonder if Gpu devices can not be selected if hwupload_cuda filter is present. > > I think it's uploading to GPU 0 by default. There is an option 'device' for > hwupload_cuda. Could you try specifying the device for hwupload_cuda? Could you try the 'device' option for hwupload_cuda?

Re: [FFmpeg-user] The option of -hwaccel device doesn't works well(FFmpeg n3.4)

2017-11-04 Thread James Girotti
On Fri, Nov 3, 2017 at 7:48 PM, Baek Seung Hoon wrote: > Hello, > Thanks to your reply :-) > > As your mentions, Hw decoder already has resize option. > Why I use scale_npp filter with Sw decoder is Hw decoder(=cuvid) couldn't > read some of video files while Sw

Re: [FFmpeg-user] The option of -hwaccel device doesn't works well(FFmpeg n3.4)

2017-11-02 Thread James Girotti
Hello, Let me start by saying that I only have one NVENC capable GPU, so I cannot test this. I hope to point you in the right direction though. On Thu, Nov 2, 2017 at 7:38 PM, Baek Seung Hoon wrote: > Could you tell me how can I select gpu device with FFmpeg CLI in this

Re: [FFmpeg-user] nvenc burn subtitles while transcoding

2017-10-24 Thread James Girotti
> > Shouldn't I be using hwupload_cuda, to upload frames to the CUDA engine, > then apply overlay filter and after that download it back? At least I > understood it that way. Or you are suggesting to download it from CUDA > run on CPU and after that upload it back. > No, the overlay filter is

Re: [FFmpeg-user] nvenc burn subtitles while transcoding

2017-10-20 Thread James Girotti
> > When I add hw acceleration for decoding I stops. Any ideas what can I try? > > Not exactly sure how it works with filter_complex, but with regular filter you would do something like: "hwdownload,format=nv12,YOUR_FILTERS_HERE,format=yuv420p,hwupload_cuda" This will grab the decoded frames

Re: [FFmpeg-user] feature proposal - avoid overwriting the input file

2017-10-10 Thread James Girotti
On Tue, Oct 10, 2017 at 4:40 PM, Mikhail V wrote: > Currently it is possible to delete the input file if I specify same > filename in output, > for example: > > ffmpeg -y -i input input > Aren't you specifying that with '-y' you want to "overwrite output file without

Re: [FFmpeg-user] webcam streaming to youtube

2017-09-12 Thread James Girotti
On Mon, Sep 11, 2017 at 12:43 PM, Daniel <5960...@gmail.com> wrote: > Hello everyone > > I am trying to stream my webcam to youtube. Here is the command i use: > > ffmpeg -re -f v4l2 -input_format mjpeg -s 640x480 -hwaccel cuvid -c:v > mjpeg_cuvid -i /dev/video1 -c:v libx264 -an -f flv

Re: [FFmpeg-user] mp4 files size problem

2017-09-07 Thread James Girotti
On Thu, Sep 7, 2017 at 9:52 AM, Daniel <5960...@gmail.com> wrote: > Thank you for the reply . I think you are right about the hardware encoder > . I have encoded the video with libx264 and the output file was 189MB. Do > you know what is the difference between nvenc_h264 and h264_nvenc encoders

Re: [FFmpeg-user] av_interleaved_write_frame(): Broken pipe

2017-08-30 Thread James Girotti
On Wed, Aug 30, 2017 at 7:56 AM, tasos wrote: > Maybe i should send it to the devs list? My understanding is that the devs list is for software development and not user interaction/support. I appreciate that you need help, this is a volunteer effort though and it can

Re: [FFmpeg-user] missing h264_cuvid

2017-08-10 Thread James Girotti
On Thu, Aug 10, 2017 at 3:43 AM, Alex Molon wrote: > I think the problem is more on the decoder you are using. > Apparently your ffmpeg is compiled to support cuvid but if your stream > is dvb-s mpeg2 maybe you should use this decoder: > > V. mpeg2_cuvid

Re: [FFmpeg-user] ffmpeg reported fps different than actual file's

2017-08-02 Thread James Girotti
On Wed, Aug 2, 2017 at 3:09 PM, tasos wrote: > Hello again. > A lot of information and i'm trying to process them. > I know a few basic things about video processing in general. > Anyway,the specific dvb source channel is quite strange or at least this > is how it looks

Re: [FFmpeg-user] ffmpeg reported fps different than actual file's

2017-08-02 Thread James Girotti
On Tue, Aug 1, 2017 at 3:22 PM, tasos wrote: > Hello and thanks for replying. > This is what ffprobe gives me(i should have mentioned it earlier) > > Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, >> bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9],

Re: [FFmpeg-user] Error:Impossible to convert between the formats supported by the filter..

2017-07-29 Thread James Girotti
y answers will depend on your version. Also, send the output of: ffmpeg -h decoder=h264_cuvid And ffmpeg -h filter=scale_npp -J On 7/25/2017 1:24 AM, James Girotti wrote: On Mon, Jul 24, 2017 at 2:57 PM, tasos <tas...@trigonongroup.com> wrote: > Hello and thanks for replying. > Your i

Re: [FFmpeg-user] Error:Impossible to convert between the formats supported by the filter..

2017-07-24 Thread James Girotti
On Mon, Jul 24, 2017 at 11:15 AM, tasos wrote: > Hello. > I'm using > >> ffmpeg -y -c:v h264_cuvid -deint 1 -vsync 1 -timeout 99 -i foo \ >> -map 0:v -c:v h264_nvenc -preset slow -profile:v high -b:v 1300k -pix_fmt >> yuv420p -map 0:a -c:a libfdk_aac \ >> -ac 2

Re: [FFmpeg-user] Seeking for a method to remove sections of a video

2017-06-19 Thread James Girotti
On Sun, Jun 18, 2017 at 9:50 AM, Carlos E. R. wrote: > On 2017-06-18 15:02, Frank Tetzel wrote: > >> Hi, > >> > >> I'm new to this list. > >> > >> I'm seeking for a tool to remove the start and end sections of a movie > >> recorded from TV, plus sections on the