[FFmpeg-user] does ffmpeg support data stream

2019-10-17 Thread qw
Hi, I have one question about data stream for mpegts/flv: If I encoded some private data, such as metadata in PES in some private stream in mpegts, I will send the private data at the fixed interval. Then, ffmpeg can probe the unknown stream with unknown codec. I use the following ffmpeg

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Michele Salerno
Il giorno gio 17 ott 2019 alle ore 11:29 Moritz Barsnick ha scritto: > > On Thu, Oct 17, 2019 at 01:08:37 +0200, Michele Salerno wrote: > > > #!/bin/bash > > > for i in *.mp4; do > > > ffmpeg -threads 8 -hwaccel nvdec -i "$i" -vf scale_cuda=720:-1 > > > -c:v h264_nvenc -preset slow

[FFmpeg-user] Where is the fault in my dub?

2019-10-17 Thread Felix Muster via ffmpeg-user
I want to make my own dub of a movie: I check which frames are identical with Adobe Premiere Pro. The UNCUT-movie has 133799 frames in Premiere but mkv-container shows 133800. So I add one frame for ffmpeg commands (+1). Now these are the scenes I want to insert/replace (starting with

Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-17 Thread Julien Dotsev
Hey Moritz, That's great advice! I will definitely try it. Thank you very much! Julien On Thu, 17 Oct 2019, 12:14 Moritz Barsnick, wrote: > On Thu, Oct 17, 2019 at 03:44:49 +0200, Julien Dotsev wrote: > > Actually every bit. I want to be able to bring back the original file > > unchanged up

Re: [FFmpeg-user] Combining -muxrate and -copyts results in unexpected high bitrates

2019-10-17 Thread Roman Huy-Prech
I opened https://trac.ffmpeg.org/ticket/8297 Sorry for not posting the complete output here, I thought that was something for the bugtracker (I did it there =) ) Cheers, Roman On 16.10.19 16:23, Moritz Barsnick wrote: On Wed, Oct 16, 2019 at 14:10:58 +0200, Roman Huy-Prech wrote: and the

Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-17 Thread Moritz Barsnick
On Thu, Oct 17, 2019 at 03:44:49 +0200, Julien Dotsev wrote: > Actually every bit. I want to be able to bring back the original file > unchanged up to every bit. But every chunk playable. If you want not only the content (i.e. the stream), but also everything else including the container to be

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Moritz Barsnick
On Thu, Oct 17, 2019 at 01:08:37 +0200, Michele Salerno wrote: > > #!/bin/bash > > for i in *.mp4; do > > ffmpeg -threads 8 -hwaccel nvdec -i "$i" -vf scale_cuda=720:-1 > > -c:v h264_nvenc -preset slow "convert/$i"; > > done > > No work, i have this error: > At least one output file must be

Re: [FFmpeg-user] Combining -muxrate and -copyts results in unexpected high bitrates

2019-10-17 Thread Moritz Barsnick
On Thu, Oct 17, 2019 at 10:57:43 +0200, Roman Huy-Prech wrote: > I opened https://trac.ffmpeg.org/ticket/8297 > > Sorry for not posting the complete output here, I thought that was > something for the bugtracker (I did it there =) ) Perfect, thank you! Cheers, Moritz

[FFmpeg-user] Duplicated frames when streaming to decklink

2019-10-17 Thread Valentin Schweitzer
Hi, I am trying to stream audio and video in an endless loop from a file to a DeckLink Duo 2 on Windows 10. When streaming in this loop, ffmpeg reports duplicated frames approximately at the time the loop starts anew. The command I'm using is the following: .\ffmpeg.exe -loglevel verbose -re

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Dennis Mungai
On Thu, 17 Oct 2019 at 15:31, Michele Salerno wrote: > > Il giorno gio 17 ott 2019 alle ore 11:29 Moritz Barsnick > ha scritto: > > > > On Thu, Oct 17, 2019 at 01:08:37 +0200, Michele Salerno wrote: > > > > #!/bin/bash > > > > for i in *.mp4; do > > > > ffmpeg -threads 8 -hwaccel nvdec -i

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Michele Salerno
Il giorno gio 17 ott 2019 alle ore 19:05 Dennis Mungai ha scritto: > > My bad, try this: > > ffmpeg -threads 8 -hwaccel nvdec -hwaccel_output_format cuda -i "$i" > -vf scale_cuda=720:-1 -c:v h264_nvenc -preset slow "convert/$i"; > > That should fix the issue above. > Driver does not support the

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Dennis Mungai
On Thu, 17 Oct 2019 at 22:54, Michele Salerno wrote: > Il giorno gio 17 ott 2019 alle ore 19:05 Dennis Mungai > ha scritto: > > > > My bad, try this: > > > > ffmpeg -threads 8 -hwaccel nvdec -hwaccel_output_format cuda -i "$i" > > -vf scale_cuda=720:-1 -c:v h264_nvenc -preset slow

Re: [FFmpeg-user] Duplicated frames when streaming to decklink

2019-10-17 Thread Marton Balint
On Thu, 17 Oct 2019, Valentin Schweitzer wrote: Hi, I am trying to stream audio and video in an endless loop from a file to a DeckLink Duo 2 on Windows 10. When streaming in this loop, ffmpeg reports duplicated frames approximately at the time the loop starts anew. The command I'm using is

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Michele Salerno
Il giorno gio 17 ott 2019 alle ore 22:07 Dennis Mungai ha scritto: > > On Thu, 17 Oct 2019 at 22:54, Michele Salerno wrote: > > > Il giorno gio 17 ott 2019 alle ore 19:05 Dennis Mungai > > Driver does not support the required nvenc API version. Required: 9.1 > > Found: 9.0 > > [h264_nvenc @

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Dennis Mungai
On Fri, 18 Oct 2019 at 01:20, Michele Salerno wrote: > > Il giorno gio 17 ott 2019 alle ore 22:07 Dennis Mungai > ha scritto: > > > > On Thu, 17 Oct 2019 at 22:54, Michele Salerno wrote: > > > > > Il giorno gio 17 ott 2019 alle ore 19:05 Dennis Mungai > > > Driver does not support the required