[FFmpeg-user] Overlaying subtitles using overlay_cuda filter

2022-01-16 Thread Andy Sheimo
fix=/home/andy/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --enable-libcaca --enable-gray --enable-libtesseract --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libflite --enable-libfreetype

[FFmpeg-user] error during conversion

2020-12-11 Thread Andy Sheimo
Trying to transcode a file and perform a pixel conversion from 8 to 10 bit. The transcode errors with Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function

Re: [FFmpeg-user] Compilation Guide / MSVC on Wiki

2020-12-02 Thread Andy Sheimo
Adding on to what Gyan stated, if you really want to build your own there are several projects on github that work well and could help you further your education. https://github.com/rdp/ffmpeg-windows-build-helpers https://github.com/m-ab-s/media-autobuild_suite good luck

Re: [FFmpeg-user] Uninstalling ffmpeg

2020-12-02 Thread Andy Sheimo
> > > i just don't get the stupidity of the OP which can be solved by a little > child within 2 minutes of thinking in case of a slow brain > > having a static binary somewhere is a no-brainer - period > Actually having a static binary is not a no brainer. I know that I use a static binary and I

[FFmpeg-user] HW 8bit to 10bit conversion

2020-11-22 Thread Andy Sheimo
Is it possible in a full hardware pipeline i.e. -hwaccel either nvidia or intel(qsv) to convert a video from 8bit to 10bit. Currently we get errors: Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0' Error reinitializing filters!

[FFmpeg-user] Fwd: Yadif_cuda and Pix_fmt

2020-09-14 Thread Andy Sheimo
I sent this message a couple times with zero response. Is there anyone that can help with using NVDEC for decoding, converting 8bit to 10bit on the GPU, then using NVENC to encode the video? If I understand correctly, you want to first convert to 10 bit and then > upload > to cuda (and nvenc).

Re: [FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-31 Thread Andy Sheimo
If I understand correctly, you want to first convert to 10 bit and then > upload > to cuda (and nvenc). I am trying to keep the transcode completely on the GPU using CUDA to decode then NVENC to encode, avoiding sending the data to the cpu and back again. > The "pix_fmt" option will try to

Re: [FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-25 Thread Andy Sheimo
> > If I understand correctly, you want to first convert to 10 bit and then > upload > to cuda (and nvenc). I am trying to keep the transcode completely on the GPU using CUDA to decode then NVENC to encode, avoiding sending the data to the cpu and back again. > The "pix_fmt" option will try

Re: [FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-25 Thread Andy Sheimo
Apologies for forgetting the command and output ffmpeg -loglevel debug -stats -hwaccel cuda -i "F:\\Remuxed\\Robin Hood Special Edition 2013\\Oo-de-lally Disney Sing-Along Song-featurette.mkv" -map 0:0 -filter:v "yadif_cuda=deint=interlaced" -c:v hevc_nvenc -pix_fmt:v p010le -b:v 1500k -maxrate:v

[FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-24 Thread Andy Sheimo
I'm trying to use yadif_cuda during a transcode along with converting from 8bit to 10bit. The process errors out: Impossible to convert between the formats supported by the filter 'Parsed_yadif_cuda_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter

Re: [FFmpeg-user] question about fps filter

2020-05-27 Thread Andy Sheimo
The output file is how I noticed the issue it was reporting original frame rate as 24000/1001 and current frame rate as 3/1001. On Wed, May 27, 2020 at 1:43 AM Edward Park wrote: > Hi, > > I found this in the debug output and am not sure why it sees what was > > passed by the command line

Re: [FFmpeg-user] question about fps filter

2020-05-26 Thread Andy Sheimo
Thanks for the info Moritz that is helpful to me. I'll keep looking at things and see if my issue goes away in the next couple weeks. -Andy On Tue, May 26, 2020 at 2:27 AM Moritz Barsnick wrote: > Hi Andy, > > On Mon, May 25, 2020 at 20:43:03 -0400, Andy Sheimo wrote: > >

Re: [FFmpeg-user] question about fps filter

2020-05-25 Thread Andy Sheimo
How can I check if this version contains the changes you reference? On Fri, May 22, 2020 at 9:07 PM Andy Sheimo wrote: > using this version created today using > https://github.com/rdp/ffmpeg-windows-build-helpers > > ffmpeg.exe -version > ffmpeg version N-97877-g1e8ed181e3-ffmpe

Re: [FFmpeg-user] yadif-cuda issues

2020-05-23 Thread Andy Sheimo
Thanks for looking into this. On Sat, May 23, 2020 at 12:12 AM Kyle Schwarz wrote: > I worked with Rodger to address this, and it's been resolved in his > patch 'compat/cuda/ptx2c: fix BSD sed compatibility' > > It's sitting in the devel list, but hopefully it'll be committed soon > to fix

Re: [FFmpeg-user] question about fps filter

2020-05-22 Thread Andy Sheimo
: > On Sat, 23 May 2020 at 01:07, Andy Sheimo wrote: > > > I am using the command line seen here but the fps filter is being > ignored. > > > > ffmpeg.exe -loglevel debug -stats -hwaccel cuda -hwaccel_output_format > cuda > > -i "Evanescence - Anywhere but Ho

[FFmpeg-user] question about fps filter

2020-05-22 Thread Andy Sheimo
I am using the command line seen here but the fps filter is being ignored. ffmpeg.exe -loglevel debug -stats -hwaccel cuda -hwaccel_output_format cuda -i "Evanescence - Anywhere but Home.mkv" -map 0:0 -filter:v yadif_cuda=deint=interlaced,fps=24000/1001 -c:v h264_nvenc -b:v 2000k -maxrate:v 6000k

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Andy Sheimo
I've been trying those scripts and been getting errors which I have a ticket open on. On Fri, May 22, 2020 at 11:43 AM Kyle Schwarz wrote: > On Fri May 22 2020 at 06:44:40 Andy Sheimo wrote: > > I tried to report this issue to Zeranoe's forums but they have since > clo

Re: [FFmpeg-user] yadif-cuda issues

2020-05-21 Thread Andy Sheimo
out of luck? Thanks On Mon, Apr 20, 2020 at 6:12 PM Andy Sheimo wrote: > 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-s

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
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 Ap

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
-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 >

[FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
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

Re: [FFmpeg-user] Issue with hwaccel cuvid

2020-04-08 Thread Andy Sheimo
Dennis, Thank you. Lesson learned, check latest builds before submitting questions. Using the latest static build has resolved the issue. Cheers, -Andy On Wed, Apr 8, 2020 at 12:14 PM Dennis Mungai wrote: > On Wed, 8 Apr 2020 at 19:04, Andy Sheimo wrote: > > > This still produ

Re: [FFmpeg-user] Issue with hwaccel cuvid

2020-04-08 Thread Andy Sheimo
Is the process still completely in hardware? Do you think this is a limitation of the cuvid decoder? Thanks for your help. -Andy On Wed, Apr 8, 2020 at 11:36 AM Dennis Mungai wrote: > On Wed, 8 Apr 2020 at 17:57, Andy Sheimo wrote: > > > I keep getting an error on some files and it appears

[FFmpeg-user] Issue with hwaccel cuvid

2020-04-08 Thread Andy Sheimo
I keep getting an error on some files and it appears to be due to a scaler being inserted but I don't know how to fix it. Any help would be appreciated. logging below: K:\Video\GAMERA THE BRAVE>ffmpeg -loglevel verbose -hwaccel cuvid -hwaccel_output_format yuv420p -c:v mpeg2_cuvid -i

Re: [FFmpeg-user] How to hardcode subtitles

2020-03-23 Thread Andy
On Mon, Mar 16, 2020 at 4:04 AM Moritz Barsnick wrote: > > On Sun, Mar 15, 2020 at 22:05:47 -0400, Andy wrote: > > Can someone please shed some light on how to hardcode subtitles onto a file > > that already has a subtitles(not hardcoded)? > > There's a wiki entry ex

[FFmpeg-user] How to hardcode subtitles

2020-03-15 Thread Andy
Can someone please shed some light on how to hardcode subtitles onto a file that already has a subtitles(not hardcoded)? Mediainfo provides the following information ffprobe version 4.1.3-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2007-2019 the FFmpeg developers built with gcc

[FFmpeg-user] Add logo to GPU transcoding UDP stream

2020-01-12 Thread Andy
When transcoding with CPU, adding -i /home/1.png -filter_complex "[0:v][1:v] overlay=55:25" worked fine, but with GPU its throwing an error msg This is the command I tried using ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -deint 1 -drop_second_field 1 -i 'udp://0.0.0.0:' -i /home/1.png

Re: [FFmpeg-user] ffmpeg cuvid not transcoding properly

2019-11-20 Thread Andy
It seems like again I hit the wall. While one mpeg2 source works with the mpeg2_cuvid option, the other gives me troubles. ffmpeg -threads 1 -vsync 1 -hwaccel cuvid -c:v mpeg2_cuvid -deint 1 -drop_second_field 1 -i 'http://0.0.0.0:46007' -c:v h264_nvenc -vb 1000k -preset:v medium -c:a aac -ac 2

Re: [FFmpeg-user] ffmpeg cuvid not transcoding properly

2019-11-18 Thread Andy
This finally fixed it: -hwaccel cuvid -c:v mpeg2_cuvid Indeed, you need to specify the input type before transcoding! Thank you On Mon, Nov 18, 2019 at 12:35 PM Ted Park wrote: > > I just noticed this but it some examples it seems you are specifying h264 > decoder for an input that

Re: [FFmpeg-user] ffmpeg cuvid not transcoding properly

2019-11-18 Thread Andy
Unfortunately lowering threads did not help and resulted in the same error. I noticed that all inputs that im having issues with are mpegts... On Sun, Nov 17, 2019 at 12:33 AM Dennis Mungai wrote: > Hey there, > > Lower your decoder threads and retest: > > ffmpeg -threads 1 -vsync 1 -hwaccel

Re: [FFmpeg-user] ffmpeg cuvid not transcoding properly

2019-11-18 Thread Andy
On Mon, Nov 18, 2019 at 12:35 PM Ted Park wrote: > > I just noticed this but it some examples it seems you are specifying h264 decoder for an input that (apparently) is mpeg? I’m not sure which is which, but I think cuvid and nvdec differ in the way they map or copy to graphics memory thought

Re: [FFmpeg-user] ffmpeg cuvid not transcoding properly

2019-11-16 Thread Andy
On Sun, Nov 17, 2019 at 12:33 AM Dennis Mungai wrote: > > Hey there, > > Lower your decoder threads and retest: > > ffmpeg -threads 1 -vsync 1 -hwaccel cuvid -c:v h264_cuvid -deint 1 > -drop_second_field 1 -i 'http://0.0.0.0:4603' -c:v h264_nvenc -vb > 1000k -preset:v medium -c:a aac -ac 2 -ar

Re: [FFmpeg-user] ffmpeg cuvid not transcoding properly

2019-11-14 Thread Andy
No luck with -vf yadif_cuda=0:-1:0 ___ 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] broadcast multicast stream problems

2019-02-27 Thread Andy Smith
mmand line, but its unreliable, stops and starts, and just plain doesn't work when I try and run multiple streams. I don't have any experience really with multicast and particularly ffmpeg so I may be getting this all wrong, any suggestions gratefully recieved, thanks, Andy.

Re: [FFmpeg-user] AMD screen record + h/w vaapi encode to mkv fails.

2018-03-07 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: Haven't had time to bisect, but I can't screengrab to mkv any more. kmsgrab + playing with vsync etc. give the same error as this example, mp4 works OK. Bisected to - commit ae7df68edd79bce5c318810c6b307ee4e81cd2a6 Author: James Almer <j

Re: [FFmpeg-user] AMD screen record + h/w vaapi encode to mkv fails.

2018-02-24 Thread Andy Furniss
Andy Furniss wrote: Haven't had time to bisect, but I can't screengrab to mkv any more. kmsgrab + playing with vsync etc. give the same error as this example, mp4 works OK. Bisected to - commit ae7df68edd79bce5c318810c6b307ee4e81cd2a6 Author: James Almer <jamr...@gmail.com> Date: F

[FFmpeg-user] AMD screen record + h/w vaapi encode to mkv fails.

2018-02-23 Thread Andy Furniss
Haven't had time to bisect, but I can't screengrab to mkv any more. kmsgrab + playing with vsync etc. give the same error as this example, mp4 works OK. ffm -loglevel debug -vaapi_device /dev/dri/renderD128 -f x11grab -video_size 1920x1080 -i :0 -vf 'format=nv12,hwupload' -c:v h264_vaapi

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

2018-02-12 Thread Andy Furniss
Carl Eugen Hoyos wrote: Is there really a hardware encoder that supports lossless encoding? https://developer.nvidia.com/nvidia-video-codec-sdk#NVENCFeatures Doesn't mention rgb though. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

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

2018-02-12 Thread Andy Furniss
Alex P wrote: Hi James, 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 Maybe it doesn't do rgb24 lossless - you should paste

Re: [FFmpeg-user] Compressed audio streams (DTS, Dolby) decoding

2018-01-20 Thread Andy Furniss
Frédéric wrote: Are there different ways to decode a Dolby stream? Is it possible that ffmpeg chose a different approach than amplifiers (audio chips) do? Yes, but it's probably not the cause of rear too loud. If it's ac3 then the parameter -drc_scale will change whether dynamic range

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-01 Thread Andy Furniss
Andy Furniss wrote: Will Price wrote: Hello, I'm having a strange problem when extracting frames from a video recorded from a GoPro HERO 5 Black camera (1080p, 60FPS, Linear FOV). When I view the extracted frames it appears that every two frames is a duplicate of one another, i.e. frames 1

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-01 Thread Andy Furniss
Will Price wrote: Hello, I'm having a strange problem when extracting frames from a video recorded from a GoPro HERO 5 Black camera (1080p, 60FPS, Linear FOV). When I view the extracted frames it appears that every two frames is a duplicate of one another, i.e. frames 1 and 2 look the same,

Re: [FFmpeg-user] weston support for ffmpeg

2017-11-10 Thread Andy Furniss
TONU ZALPURE wrote: HI All, I have setup [Raspberry Pi3 + Automotive Grade Linux] It has weston UI instead of X11. How to enable weston GUI support in ffmpeg insted of X11 GUI? I tried --enable-weston but it doesn’t seem to be working. I am trying to play video using ffplay. but get error

Re: [FFmpeg-user] LATM demuxer

2017-11-01 Thread Andy Furniss
Carl Eugen Hoyos wrote: 2017-10-31 15:54 GMT+01:00 Andy Furniss <adf.li...@gmail.com>: Sometime this year I thought I saw mention of ffmpeg and a LATM standalone demuxer. I committed it six years ago. (The technical name of the file format is "loas", "latm" is one

Re: [FFmpeg-user] LATM demuxer

2017-10-31 Thread Andy Furniss
Andy Furniss wrote: Sometime this year I thought I saw mention of ffmpeg and a LATM standalone demuxer. I may mis-recall/ may have misread, does anyone know anything about this? The reason I would need it is that currently feeding latm to decode with fdk seems impossible. Re-coding seems

[FFmpeg-user] LATM demuxer

2017-10-31 Thread Andy Furniss
Sometime this year I thought I saw mention of ffmpeg and a LATM standalone demuxer. I may mis-recall/ may have misread, does anyone know anything about this? The reason I would need it is that currently feeding latm to decode with fdk seems impossible. Re-coding seems to lose the normal drc and

Re: [FFmpeg-user] How can I recode the movie in a way that I can step forward frame by frame?

2017-10-22 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: LaHu wrote: I assume the movie is encoded using IPB frames. Thus I can't step from any frame to the previous/next frame but from I-frames to I-frames only. This is not true, mpv can step OK with IPB, it can also field step if you are de-interlacing

Re: [FFmpeg-user] How can I recode the movie in a way that I can step forward frame by frame?

2017-10-22 Thread Andy Furniss
Andy Furniss wrote: LaHu wrote: I assume the movie is encoded using IPB frames. Thus I can't step from any frame to the previous/next frame but from I-frames to I-frames only. This is not true, mpv can step OK with IPB, it can also field step if you are de-interlacing. Hmm, testing mpv

Re: [FFmpeg-user] How can I recode the movie in a way that I can step forward frame by frame?

2017-10-22 Thread Andy Furniss
LaHu wrote: I assume the movie is encoded using IPB frames. Thus I can't step from any frame to the previous/next frame but from I-frames to I-frames only. This is not true, mpv can step OK with IPB, it can also field step if you are de-interlacing. So I'd like to convert the movie to an

Re: [FFmpeg-user] How can I recode the movie in a way that I can step forward frame by frame?

2017-10-22 Thread Andy Furniss
Carl Eugen Hoyos wrote: 2017-10-21 17:44 GMT+02:00 LaHu : I like to watch movies in details. In order to check a movie for logical errors I watch some scenes in slow motion or even stepping throug them forward and backwards. I can't step really +-1 Frame, sometimes

Re: [FFmpeg-user] h264 support in webm containers?

2017-08-21 Thread Andy Baird
0kB other streams:0kB global headers:0kB muxing ov erhead: unknown Conversion failed! On Fri, Aug 18, 2017 at 4:17 AM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2017-08-17 21:24 GMT+02:00 Andy Baird <andyba...@gmail.com>: > > > Are

[FFmpeg-user] h264 support in webm containers?

2017-08-17 Thread Andy Baird
Chrome supports H264 codec webm when recording. https://bugs.chromium.org/p/chromium/issues/detail?id=601636 In recent versions of Chromium it appears to be the default encoder if none is provided, so we're likely to see a lot more webm's floating around out there with H264 encoding despite being

Re: [FFmpeg-user] 2 pass CBR or VBR not really fixing the bitrate?

2017-07-31 Thread Andy Furniss
Manuel Tiglio wrote: ffmpeg -i input.mp4 -c:v libx264 -x264-params "nal-hrd=cbr" -b:v 1M -minrate 1M -maxrate 1M -bufsize 2M output.ts But I will give it a shot. Also see x264 --fullhelp WRT nal-hrd=cbr, it may not be what you need, no mp4 and possible "filling". x264 --fullhelp | grep

Re: [FFmpeg-user] 2 pass CBR or VBR not really fixing the bitrate?

2017-07-31 Thread Andy Furniss
Manuel Tiglio wrote: On Jul 31, 2017, at 11:29 AM, Nicolas George wrote: Le tridi 13 thermidor, an CCXXV, Manuel Tiglio a écrit : 1.23. For VOD content the peak bit rate SHOULD be no more than 200% of the average bit rate. Without a proper definition of "peak bit rate",

Re: [FFmpeg-user] ffmpeg: chroma pixels are wrong when using cuvid to decode h264 stream to yuv file

2017-07-17 Thread Andy Furniss
ekin yang wrote: Dear expert, Currently I am trying to use ffmpeg and Nvidia GPU card to decoding h264 stream to yuv file. There are no errors during the decoding process. But I find the yuv file I got is not exactly correct. It seems the luma pixels are correct but chroma pixels are wrong.

Re: [FFmpeg-user] Recoding H.264/4.2.2 to H.264/4.2.0

2017-06-07 Thread Andy Furniss
Mike Brown wrote: On Wed, Jun 07, 2017 at 03:00:12PM +0100, Andy Furniss wrote: Mike Brown wrote: On Wed, Jun 07, 2017 at 12:03:33PM +0200, Moritz Barsnick wrote: On Tue, Jun 06, 2017 at 21:54:41 -0500, Mike Brown wrote: If given an H.264/4.2.2 elementary stream, can ffmpeg recode it to H

Re: [FFmpeg-user] Recoding H.264/4.2.2 to H.264/4.2.0

2017-06-07 Thread Andy Furniss
Mike Brown wrote: On Wed, Jun 07, 2017 at 12:03:33PM +0200, Moritz Barsnick wrote: On Tue, Jun 06, 2017 at 21:54:41 -0500, Mike Brown wrote: If given an H.264/4.2.2 elementary stream, can ffmpeg recode it to H.264/4.2.0. If so, what would the command line be? $ ffmpeg -i

Re: [FFmpeg-user] memory leak with vaapi decode since ffmpeg_vaapi: Convert to use hw_frames_ctx only

2017-05-28 Thread Andy Furniss
Mark Thompson wrote: Hmph, looks like the parameter buffer confusion strikes again. The original VAAPI specification contained the following functions: """ /** * After this call, the buffer is deleted and this buffer_id is no longer valid * Only call this if the buffer is not going to be

Re: [FFmpeg-user] memory leak with vaapi decode since ffmpeg_vaapi: Convert to use hw_frames_ctx only

2017-05-28 Thread Andy Furniss
Andy Furniss wrote: First reported on mpv github issues. Since below ffmpeg -hwaccel vaapi -i sommething-h264 -f null - will steadily eat memory. commit 542a65d0b33abf81e5087ec9142bb11a54f23cde Author: Mark Thompson <s...@jkqxz.net> Date: Sun Jul 31 22:51:45 2016 +0100 ffmpeg

[FFmpeg-user] memory leak with vaapi decode since ffmpeg_vaapi: Convert to use hw_frames_ctx only

2017-05-26 Thread Andy Furniss
First reported on mpv github issues. Since below ffmpeg -hwaccel vaapi -i sommething-h264 -f null - will steadily eat memory. commit 542a65d0b33abf81e5087ec9142bb11a54f23cde Author: Mark Thompson Date: Sun Jul 31 22:51:45 2016 +0100 ffmpeg_vaapi: Convert to use

Re: [FFmpeg-user] benching with -f null - fails on bluray sample since ffmpeg: init filtergraphs only after we have a frame on each input

2017-05-26 Thread Andy Furniss
Andy Furniss wrote: andy [ffmpeg]$ ./ffmpeg -i ~/br-264-thd71.m2ts -f null - Too many packets buffered for output stream 0:1. Conversion failed! With wm4s suggestion to raise max queue size this works. ffmpeg -i ~/br-264-thd71.m2ts -max_muxing_queue_size 300 -f null

Re: [FFmpeg-user] Converting and encoding in same step without pipes

2017-04-07 Thread Andy Furniss
Aarthi Priya Thirumalai wrote: Hello all, In my current set, I am trying to encode content with ffmpeg. The ffmpeg receives the source input through a Black Magic Declink 4K pro capture card. Input to the capture card is a prores 4:2:2 4k60 10bit content from Atomos Shogun device. I want to

Re: [FFmpeg-user] Converting 4:2:2 pro-res to 4:2:0 for AVC encoding

2017-04-07 Thread Andy Furniss
Pradeep Ramachandran wrote: mov doesn't seem to support yuv420p10le. I am still stuck with mov as the player that I am using to stream the input video can only stream in mov format Tested 10 bit libx264 and libx265 and both will write to mov with current ffmpeg. Maybe you need to

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-29 Thread Andy Furniss
negin tebyani wrote: Well ignoring requests for ffmpeg console output and a section of the master that the provided samples were made from means that less people will even try to help you. I don'n know how to reach for ffmpeg output console, but here is a section of the master video:

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread Andy Furniss
negin tebyani wrote: I'm realy stuck in here, I have tried any commands and any suggestions, but Well ignoring requests for ffmpeg console output and a section of the master that the provided samples were made from means that less people will even try to help you.

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread Andy Furniss
negin tebyani wrote: this is the source video mediainfo: That's not ffmpeg console output, but anyway .. Bit rate mode: Constant Bit rate : 4 000 Kbps So it's not a much of a master but (I guess) some re-encoded web stream made

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread Andy Furniss
negin tebyani wrote: I am trying to reach that quality and using those parameters but the result is still low quality.. Please don't top post on this list - reply in line like I do here. you mean bufsize could affect the quality?? A bit, but I don't know how much in this case, just that it

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread Andy Furniss
negin tebyani wrote: I have encoded my videos using ffmpeg and H264, and this is my ffmpeg command (2 pass encoding): I don't think 2 pass is needed for constant bitrate - but am in no way an expert on encoding. Look at the differences in the params you pasted bufsize 3000k (you) vs

Re: [FFmpeg-user] Slight blur on converted video

2017-03-25 Thread Andy Furniss
Dave wrote: The full ffmpeg output is: $ ./ffmpeg -y -i in.mp4 -acodec pcm_s16le -vcodec prores_ks -profile:v 1 -vf scale=interl=1 -sws_flags full_chroma_inp+full_chroma_int -copytb -1 out.mov FWIW I tested a bit the format conversion + various flags and the only ones that made the

Re: [FFmpeg-user] Slight blur on converted video

2017-03-24 Thread Andy Furniss
Erik Dobberkau wrote: W dniu 2017-03-24 o 12:04, Dave pisze: To answer your suggestions Chronek: I tried encoding with your suggested command line it was still pretty much the same. 1) I downloaded a fresh copy of ffmpeg and compiled it and still had the same results 2) I am not really in a

Re: [FFmpeg-user] Chroma problem converting mp4 to prores

2017-03-03 Thread Andy Furniss
David Cecco wrote: Sorry about the slow response, that has fixed the issue, thanks chronek! The file still seems a bit soft in quality though. I have tried turning the -qscale right down to 1 and adjusting the bits_per_mb up to 2400 and the picture improved but it still wasn’t 100%, but the

Re: [FFmpeg-user] -pix_fmt yuv420p and deinterlacing

2017-02-25 Thread Andy Furniss
Katherine Frances wrote: ffmpeg -i uncompressed_master.mov -c:v libx264 -pix_fmt yuv420p -c:a libfdk_aac -b:a 128k access_copy.mp4 If the masters really are interlaced you will slightly break them doing this. You need to add -vf scale=interl=1 Additionally ffmpeg git master recently changed

Re: [FFmpeg-user] Convert MPEG-PS progressive to Interlaced

2017-01-31 Thread Andy Furniss
Andy Furniss wrote: kumar vikram wrote: But the op specifically asked for field-encoding. Note to everybody (including me): Please try not to guess - if the op still needs the information, he can post his command line and console output and we can try to answer. ffmpeg.exe -y -i

Re: [FFmpeg-user] Convert MPEG-PS progressive to Interlaced

2017-01-31 Thread Andy Furniss
kumar vikram wrote: But the op specifically asked for field-encoding. Note to everybody (including me): Please try not to guess - if the op still needs the information, he can post his command line and console output and we can try to answer. ffmpeg.exe -y -i INPUT_FILE -c:v mpeg2video

Re: [FFmpeg-user] Convert MPEG-PS progressive to Interlaced

2017-01-27 Thread Andy Furniss
kumar vikram wrote: Hi All, I have been struggling with converting PS progressive stream to PS interlaced for my test app. But all the conversion commands used by me are converting to Frame based interlaced stream but what I am looking for is I-P field based interlace(I frame having top filed

Re: [FFmpeg-user] C920 h264 Problem

2017-01-26 Thread Andy Furniss
Canberk Demirsoy (Alumni) wrote: Hey buddy, i am google -ing for weeks. And you are telling me what i know now. C920 is enable to get compressed h264 in 30fps in 1080p. This can be seen by the listing formats there is no problem with it. i already set pix_ftm. Maybe what Jimmy is saying is you

Re: [FFmpeg-user] Fwd: C920 h264 Problem

2017-01-26 Thread Andy Furniss
Canberk Demirsoy (Alumni) wrote: Hi guys even though i make lots of settings i still see yuv format in debug file. How to correctly get h264 format from c920 using raspberry pi? And i wanna transfer file without encoding or decoding by copying vcodec. My script ffmpeg -report -f v4l2 -r 20

Re: [FFmpeg-user] DV to SD Blu-ray

2017-01-24 Thread Andy Furniss
Terje J. Hanssen wrote: Den 24. jan. 2017 12:41, skrev Andy Furniss: Terje J. Hanssen wrote: 1) 576i DV video to x264, pcm audio to ac3 ffmpeg -i dv01.dv -c:v libx264 -profile:v high -level 41 -pix_fmt yuv420p -pix_fmt yuv420p? I thought PAL DV was 420p - if by chance ffmpeg -i shows

Re: [FFmpeg-user] DV to SD Blu-ray

2017-01-24 Thread Andy Furniss
Terje J. Hanssen wrote: Den 24. jan. 2017 12:41, skrev Andy Furniss: Terje J. Hanssen wrote: 1) 576i DV video to x264, pcm audio to ac3 ffmpeg -i dv01.dv -c:v libx264 -profile:v high -level 41 -pix_fmt yuv420p -preset slow -crf 20 -g 24 -vf setsar=sar=12/11 -threads 8 -x264opts bluray

Re: [FFmpeg-user] De-telecine, deinterlace, and filter chains

2017-01-24 Thread Andy Furniss
Andy Furniss wrote: Whatever further processing is done, I think that scaling down to 480 is going to be the first step. I live in pal land, so don't have experience of dealing with ntsc. Looking more at the sample it does seem that the progressive scale and encode have killed every fourth

Re: [FFmpeg-user] De-telecine, deinterlace, and filter chains

2017-01-23 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: Vid looks like it's scaled up from 480 height and pillarboxed, so the weave is not line for line anymore. It's probably been scaled as progressive which on strong chroma will (I think) be un-mendable. Saying that the sample can be scaled down to 480

Re: [FFmpeg-user] De-telecine, deinterlace, and filter chains

2017-01-23 Thread Andy Furniss
Andy Furniss wrote: Vid looks like it's scaled up from 480 height and pillarboxed, so the weave is not line for line anymore. It's probably been scaled as progressive which on strong chroma will (I think) be un-mendable. Saying that the sample can be scaled down to 480 and the weave is 1:1

Re: [FFmpeg-user] De-telecine, deinterlace, and filter chains

2017-01-23 Thread Andy Furniss
Billy wrote: On 1/23/2017 12:02 AM, Mike Brown wrote: But this method didn't seem to have any real effect on my video. It's a long video, so I have made a shortened version available to see if anyone has seen such a case. It's in 1080p and 23.97 fps. I'd like to save it in a similar frame rate

Re: [FFmpeg-user] DV to SD Blu-ray

2017-01-20 Thread Andy Furniss
Andy Furniss wrote: As lpcm doesn't work maybe truehd? ISTR there was a gsoc project to encode. I tried and it seems the encoder has issues, needs -strict -2 and isn't lossless (reported on playback/decode first couple of seconds). It also produces smaller output than input (s16le ->

Re: [FFmpeg-user] DV to SD Blu-ray

2017-01-20 Thread Andy Furniss
Terje J. Hanssen wrote: Hi List, I'm a new user here and want suggestions for "best" ffmpeg syntax to transcode PAL 576i DV source files to compliant SD-BD_x264m2ts and/or SD-BD_mpeg2.m2ts. The AVCHD-SD specification is possibly something that could be used

Re: [FFmpeg-user] Need help understanding framerate conversion!

2017-01-13 Thread Andy Furniss
Matthias, Thomas wrote: Hi All, I need to mux and then framerate convert a rawvideo .mov file, and a PCM 16bit 48Khz wav file. For example, a .mov file is exactly 10 seconds long, and a .wav file is also exactly 10 seconds. The initial .mov file is a 30 frames-per-second, but after muxing

Re: [FFmpeg-user] drawtext timecode drop frame 23.967

2016-12-14 Thread Andy Furniss
Nathaniel Finney wrote: It seems the drawtext filter timecode option doesn't allow using 23.967: timecode='00\:00\:00\;00':rate=24000/1001: ... [Parsed_drawtext_4 @ 0x7ff2c74010c0] Drop frame is only allowed with 3/1001 or 6/1001 FPS I'm not sure why this is, 23.967 is a common

Re: [FFmpeg-user] VP9 to HEVC hdr demo conversion?

2016-12-14 Thread Andy Furniss
Tom Horsley wrote: On Mon, 14 Nov 2016 02:02:08 +0100 Carl Eugen Hoyos wrote: Can anyone suggest a command line this poor ignorant human can use to convert these to HEVC files, preserving the HDRness? Either provide command line and complete, uncut console output for what you have already

Re: [FFmpeg-user] VP9 to HEVC hdr demo conversion?

2016-12-13 Thread Andy Furniss
Andy Furniss wrote: traycold wrote: hi, I tried the same (convert a vp9.2 hdr video to hevc to watch it on a samsung smart tv). So far, I tried this command (input.mkv contains both VP9.2 video stream and audio stream): ffmpeg -i input.mkv -vf scale=out_color_matrix=bt2020:out_h_chr_pos=0

Re: [FFmpeg-user] VP9 to HEVC hdr demo conversion?

2016-12-12 Thread Andy Furniss
Carl Eugen Hoyos wrote: 2016-12-11 23:25 GMT+01:00 traycold : hi, I tried the same (convert a vp9.2 hdr video to hevc to watch it on a samsung smart tv). So far, I tried this command (input.mkv contains both VP9.2 video stream and audio stream): ffmpeg -i input.mkv -vf

Re: [FFmpeg-user] VP9 to HEVC hdr demo conversion?

2016-12-12 Thread Andy Furniss
traycold wrote: hi, I tried the same (convert a vp9.2 hdr video to hevc to watch it on a samsung smart tv). So far, I tried this command (input.mkv contains both VP9.2 video stream and audio stream): ffmpeg -i input.mkv -vf

Re: [FFmpeg-user] No pixel format specified - meaning of yuv420p?

2016-12-02 Thread Andy Furniss
Andy Furniss wrote: Possibly, or you didn't restrict to baseline. You really should know what format the source video is is to do things properly. If say it's interlaced and stored as 422 or 411 then the default conversion to 420 will be wrong. You would need to add interl=1 to the scale

Re: [FFmpeg-user] No pixel format specified - meaning of yuv420p?

2016-12-02 Thread Andy Furniss
MRob wrote: Thank you for the very fast response, it's appreciated. On 2016-12-01 16:23, Lou wrote: On Thu, Dec 1, 2016, at 03:00 PM, MRob wrote: I'm exporting a video from an older Adobe Elements (Windows) with intention to put it on the web (both H.264 and VP8). I exported using Adobe's "DV

Re: [FFmpeg-user] (de)-interlacing question

2016-11-25 Thread Andy Furniss
Toerless Eckert wrote: On Thu, Nov 24, 2016 at 12:36:52PM +, Andy Furniss wrote: Aka: Don't see anything that would indicate frame duplication, so all i can do is trust the step by step playback from vlc or mplayer. I can't reproduce getting ffmpeg to call 50fps or mplayer/vlc to dup

Re: [FFmpeg-user] (de)-interlacing question

2016-11-24 Thread Andy Furniss
Toerless Eckert wrote: On Tue, Nov 22, 2016 at 07:30:48PM +, Andy Furniss wrote: Toerless Eckert wrote: Well, but what i am claiming is that they where interlacing progressive HD to create interlaced SD. Maybe, if the master is 720p50. I don't think they would interpolate from 720p25

Re: [FFmpeg-user] (de)-interlacing question

2016-11-24 Thread Andy Furniss
Toerless Eckert wrote: On Wed, Nov 23, 2016 at 11:30:55AM +0100, Moritz Barsnick wrote: the mediaportal H264 mp4 file is 720p50 but actually 720p25 with duplicated frames, I never noticed that. :-/ (Why would they duplicate them?) I don't have any "true 50 fps" show to check right now. A

Re: [FFmpeg-user] (de)-interlacing question

2016-11-23 Thread Andy Furniss
Moritz Barsnick wrote: On Wed, Nov 23, 2016 at 02:20:13 +0100, Toerless Eckert wrote: Yepp. Checked a new recording, and the H264 HD TS from Astra is 720p50 with actual 50 frames, As mentioned, a lot of over-the-air programming has duplicated frames. (Additionally, even nowadays, some newly

Re: [FFmpeg-user] (de)-interlacing question

2016-11-22 Thread Andy Furniss
Toerless Eckert wrote: Well, but what i am claiming is that they where interlacing progressive HD to create interlaced SD. Maybe, if the master is 720p50. I don't think they would interpolate from 720p25 to do that though. I thought it might have gotten a lot easier through all the

Re: [FFmpeg-user] (de)-interlacing question

2016-11-22 Thread Andy Furniss
Andy Furniss wrote: Oops, sorry for the messed up post - pasting that link managed to paste other stuff back in as well. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link

Re: [FFmpeg-user] (de)-interlacing question

2016-11-22 Thread Andy Furniss
Toerless Eckert wrote: On Tue, Nov 22, 2016 at 12:18:43PM +, Andy Furniss wrote: Seems strange that that would happen. It certainly doesn't in the UK, 25fps progressive SD does get flagged as interlaced Any idea why that flag is set ? Just because it makes the programming look more

  1   2   3   >