Re: [FFmpeg-user] Is there any approach to tell ffmpeg how to determine dts of fMP4 segment?

2018-02-28 Thread toya3329
Hi, Carl! I have use under development streamlink mpegdash branch (https://github.com/beardypig/streamlink/tree/mpegdash) to watch some Youtube dash live stream[1] (with some custom hardcoded modification for YT livestream). And mpegdash streamlink uses ffmpeg to mux video and audio streams.

Re: [FFmpeg-user] Why _COPYing_ a variable encoded audio (AAC) channel will produce a variably encoded one?

2018-02-28 Thread Zak
Hello Sophoklis, Short version: I strongly suspect the audio data was copied directly and simply. I strongly suspect it is bit-for-bit identical audio data, it was not decompressed and recompressed with different settings. Advice for you: I am not sure this is the case, we will have more

Re: [FFmpeg-user] Is there any approach to tell ffmpeg how to determine dts of fMP4 segment?

2018-02-28 Thread Carl Eugen Hoyos
2018-02-28 13:39 GMT+01:00 toya3329 : > The current choosing preference always make some fMP4 segments > (with sidx earliest_presentation_time 0) to have the incorrect dts time > stamp (0) Would you like to tell us how we can reproduce? Carl Eugen

Re: [FFmpeg-user] Why _COPYing_ a variable encoded audio (AAC) channel will produce a variably encoded one?

2018-02-28 Thread Carl Eugen Hoyos
2018-02-28 13:40 GMT+01:00 Sophoklis Goumas : > I have a .3gp file containing a video and an audio channel. > > I'm trying to get the audio channel in a separate m4a file but when I issue: > ffmpeg -i foo.3gp -vn -c:a copy foo.m4a Complete, uncut console output

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

2018-02-28 Thread Garri Djavadyan
On 2018-02-28 23:54, James Girotti wrote: What I believe is happening is that ffmpeg is single-threading (as it must to reliable transcode), but the thread migrates between CPU cores. On my system this leads to much lower CPU clock speeds, because the up_threshold is never met long enough on a

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] NVDEC/NVENC resources underutilization

2018-02-28 Thread Garri Djavadyan
On 2018-02-28 19:53, Marcin Woźniak wrote: Try the same command but remove overlay filter and check. I removed filter and found slight NVENC usage increase (33%). Then I conducted following checks with minimal options set. --- Full HW transcoding ---

Re: [FFmpeg-user] Fisheye-equirectangular in real time

2018-02-28 Thread Alex P
What is the source of the video? From my quick googling, lens information and other metadata is needed for fisheye to equirectangular conversion. -Alex P -Original Message- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Edward Bellamy Sent: Wednesday, February

[FFmpeg-user] Fisheye-equirectangular in real time

2018-02-28 Thread Edward Bellamy
Hi, I am looking for a way to convert my fisheye video to equirectsangular in realtime or as low latency as possible. I was thinking about using ffmpeg with 2 SDI capture cards for input and output and using the remap filter to relight the pixels, Do you have any experience with a build like

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

2018-02-28 Thread Marcin Woźniak
Try the same command but remove overlay filter and check. Marcin W dniu 28.02.2018 o 14:44, Garri Djavadyan pisze: Hello FFmpeg community, I faced a problem with NVDEC/NVENC resources underutilization while running one ffmpeg instance. We use ffmpeg to convert various format videos to

[FFmpeg-user] NVDEC/NVENC resources underutilization

2018-02-28 Thread Garri Djavadyan
Hello FFmpeg community, I faced a problem with NVDEC/NVENC resources underutilization while running one ffmpeg instance. We use ffmpeg to convert various format videos to MP4(h264/aac) and applying logo overlay. Hardware decoding and encoding process is performed by NVDEC and NVENC chips. For

[FFmpeg-user] Why _COPYing_ a variable encoded audio (AAC) channel will produce a variably encoded one?

2018-02-28 Thread Sophoklis Goumas
Hello. I have a .3gp file containing a video and an audio channel. I'm trying to get the audio channel in a separate m4a file but when I issue: ffmpeg -i foo.3gp -vn -c:a copy foo.m4a I get a constantly encoded AAC audio channel while the original was a variably encoded one. In more detail,

[FFmpeg-user] Is there any approach to tell ffmpeg how to determine dts of fMP4 segment?

2018-02-28 Thread toya3329
Hi, all! Does anyone known that when handling fMP4 segment dts timestampe, is there any approach to tell ffmpeg how to determine dts of fMP4 segment? (otherwise you have to rebuild all stuffs :<) The current choosing preference always make some fMP4 segments (with sidx

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread oktay eşgül
Thank you very much Moritz for your feedbacks and help. On 28 Feb 2018 Wed at 13:32 Moritz Barsnick wrote: > On Wed, Feb 28, 2018 at 11:30:28 +0100, Moritz Barsnick wrote: > > > >

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread Moritz Barsnick
On Wed, Feb 28, 2018 at 11:30:28 +0100, Moritz Barsnick wrote: > > [0:v]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:x=8:y=8:fontsize=16:fontcolor=yellow@1:expansion=strftime:basetime=151817268000:text='%Y-%m-%d > %H-%M-%S[vout]' \ >-map '[vout]' -map

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread Moritz Barsnick
On Wed, Feb 28, 2018 at 09:04:22 +, oktay eşgül wrote: > Thank you for your comment.Yes ,seems webm encoding is not supportef by my > gpu.İnstead,I am planning toy use mkv as output container type. MKV should work fine. > instruction do you recommend? > > On Wed, Feb 28, 2018 at 05:53:17

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread oktay eşgül
Hi Moritz, Thank you for your comment.Yes ,seems webm encoding is not supportef by my gpu.İnstead,I am planning toy use mkv as output container type. With respect to combine below 4 steps as an one step for all operation,what instruction do you recommend? Thank you On 28 Feb 2018 Wed at 11:59

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread Moritz Barsnick
On Wed, Feb 28, 2018 at 05:53:17 +, oktay eşgül wrote: > Here is the main steps of my process: > 1.Split video and audio of the caller. > time ffmpeg -y -i 230087_caller.webm -vn -ab 256 230087_caller.wav > 2.Split video and audio of the callee > time ffmpeg -y -i 230087_callee.webm -vn -ab