Re: [FFmpeg-user] Guidance on debugging a potential memory leak

2022-09-01 Thread Pavel Koshevoy

On 9/1/22 13:26, Carl Eugen Hoyos wrote:

Am Do., 1. Sept. 2022 um 21:16 Uhr schrieb Jorge Villatoro via
ffmpeg-user :

If you'd like to call it something else that's fine with me, but it's clear
that the memory usage of the process escalates over time

Which is not unusual for applications writing multimedia files.

massif (another memcheck tool) allows you to see which functions
allocate the memory.



I can recommend heaptrack
https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux.html


___
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".


Re: [FFmpeg-user] Failed setup for format cuda: hwaccel initialisation returned error

2021-10-31 Thread Pavel Koshevoy
On Sun, Oct 31, 2021 at 4:11 PM Douglas Rhiner 
wrote:

> I just can't seem to get FFMPEG to play nice with hardware acceleration.
> After the input file is read the following errors kick-back:
>
> [h264 @ 02366512e8c0] Video width 5120 not within range from 48 to 4096
>
>



> Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
> bt709), 5120x2560, 55262 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
> (default)
>
>


See https://developer.nvidia.com/nvidia-video-codec-sdk#NVDECFeatures
(click Supported Format Details)

NVDEC supports decoding H264 video of resolutions 4096x4096 or lower.
Your source is 5120x2560, it's not supported by NVDEC.

NVDEC supports up to 8192x8192 with other codecs -- HEVC and VP9.
See the support matrix under Supported Format Detail for all supported
resolutions per codec, per GPU iteration.

So if you can provide an input to ffmpeg in one of those formats and your
GPU supports these codecs and resolutions, then NVDEC hardware acceleration
should work.

Pavel.
___
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".


Re: [FFmpeg-user] unable to git pull, git clone due to SSL cert errors

2021-10-07 Thread Pavel Koshevoy
On Thu, Oct 7, 2021, 07:30 Moritz Barsnick  wrote:

> Von: "Pavel Koshevoy" 
> > Am I the only one having this problem:
> >
> > $ git pull
> > fatal: unable to access 'https://git.ffmpeg.org/ffmpeg.git/': SSL
> > certificate problem: certificate has expired
>
> Recent changes to the certificate chain of LetsEncrypt expose problems
> with gnutls. (git uses curl, which in turn uses gnutls on many platforms,
> though it can use openssl or mbedtls as well).
>
> Check the dependencies and whether you have an update for gnutls on your
> platform. You may also need the latest ca-certificates package. On Ubuntu
> 16.04, this is the relevant change to libgnutls:
>
> gnutls28 (3.4.10-4ubuntu1.9) xenial; urgency=medium
>
>   * Backport patches from Upstream/Debian to check validity against system
> certs. This is to allow correctly validating default letsencrypt
> chains that now also include a redundant expired certficate. LP:
> #1928648
>
>  -- Dimitri John Ledkov   Fri, 27 Aug 2021
> 14:19:17 +0100
>
> Not sure what the state on other distributions or OSs is.
>


In my case it's macos 10.14.   System /usr/bin/git is affected, so I've
installed git from macports instead and that's working fine, I can git pull
again.

Thank you all for the pointers.
Pavel.
___
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] unable to git pull, git clone due to SSL cert errors

2021-10-06 Thread Pavel Koshevoy
Am I the only one having this problem:

$ git pull
fatal: unable to access 'https://git.ffmpeg.org/ffmpeg.git/': SSL
certificate problem: certificate has expired

$ pushd /tmp
/tmp ~/src/ffmpeg

$ git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
Cloning into 'ffmpeg'...
fatal: unable to access 'https://git.ffmpeg.org/ffmpeg.git/': SSL
certificate problem: certificate has expired
___
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".


Re: [FFmpeg-user] Converting BT2020 HVEC Videos to H.264 without Color Washout

2021-03-25 Thread Pavel Koshevoy
On Thu, Mar 25, 2021 at 5:59 PM Pavel Koshevoy  wrote:

>
>
> On Thu, Mar 25, 2021, 16:34 Craig L.  wrote:
>
>> I think I tried exactly that based upon this stackoverflow question:
>>
>>
>> https://stackoverflow.com/questions/64981984/ffmpeg-transcode-uhd-h265-to-sdr-h264-without-color-loss
>>
>> The example in that post uses this command:
>>
>> |ffmpeg -i 4K.ts -vf
>> zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p
>>
>> -c:v h264 -crf 19 -preset ultrafast output.mp4 |
>>
>
>
> I think tonemap should be upstream from the 2nd zscale filter
>
>
>

Also, you may still need to specify the input color_trc, primaries,
colorspace, range  for the 1st zscale filter ... in case your source
doesn't signal those.

something like this:

zscale=tin=smpte2084:pin=2020:min=2020_ncl:rin=limited:t=linear:npl=100,format=gbrpf32le,tonemap=tonemap=hable:desat=0,zscale=p=bt709,m=bt709:t=bt709:r=limited,format=yuv420p
___
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".

Re: [FFmpeg-user] Converting BT2020 HVEC Videos to H.264 without Color Washout

2021-03-25 Thread Pavel Koshevoy
On Thu, Mar 25, 2021, 16:34 Craig L.  wrote:

> I think I tried exactly that based upon this stackoverflow question:
>
>
> https://stackoverflow.com/questions/64981984/ffmpeg-transcode-uhd-h265-to-sdr-h264-without-color-loss
>
> The example in that post uses this command:
>
> |ffmpeg -i 4K.ts -vf
> zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p
>
> -c:v h264 -crf 19 -preset ultrafast output.mp4 |
>


I think tonemap should be upstream from the 2nd zscale filter
___
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".

Re: [FFmpeg-user] Converting BT2020 HVEC Videos to H.264 without Color Washout

2021-03-25 Thread Pavel Koshevoy
On Thu, Mar 25, 2021 at 9:27 AM Craig L.  wrote:

> I recently started finding certain videos were washing out upon H.264
> conversion.
>
>
> After doing some research I found that if I added -color_primaries
> bt2020 to the command, the color would come out correctly, but ONLY if
> the video was played in Quicktime.  When played in Chrome, it would look
> washed out.
>
> Here is a link to a screengrab showing the video in quicktime on the
> left and in Chrome on the right.  Same video.
>
>
> *https://snipboard.io/N8nYv0.jpg* 
>
>
>
>
> After much research I can't figure out how to handle this?
>
> What is the correct way to convert these videos that I suppose are 10
> bit HDR  into H.264 so that they will play correctly in Chrome, etc.
>
>
>
> This is my current command:
>
> /usr/local/bin/ffmpeg  -i "156237-Video2.mov"   -filter_complex
> "scale=480:270"  -color_trc smpte2084 -color_primaries bt2020 -c:v
> libx264 -profile:v high -pix_fmt yuv420p -level 5.1 -preset ultrafast
> -movflags faststart   -vsync 2  -c:a aac -b:a 128k -y
> 156237-Video2.mov-16-9-1616621202.mp4
>
>
>
>
>

For best possible player compatibility you really need to convert from
HDR10 to SDR (bt709).

To do that you need to use either colorspace or zscale ffmpeg filter.  The
colorspace filter didn't support HLG the last time I checked, but that
wouldn't matter if your source is HDR10, not HLG.
Since you'd be converting from high dynamic range to standard dynamic range
you would also need to use the tonemap filter.

There is probably a LUT file somewhere that implements HDR10 -> BT709 color
space conversion and tone mapping in one step, skipping zscale/tonemap.  If
you had such LUT you could use it with lut3d filter.

Pavel.
___
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".

Re: [FFmpeg-user] trouble with AVChapter

2020-11-25 Thread Pavel Koshevoy
On Wed, Nov 25, 2020, 00:01 Steve Dibb  wrote:

> Hey there,
>
> So I'm creating an MP4 file, and testing setting some chapters, and running
> into two problems.
>
> 1. The chapter ranges are wrong -- in the example below, they should all be
> one second apart, but the first chapter gets set to 0 to 4 seconds, then
> the ones in the middle have no range, of 4 seconds to 4 seconds, and the
> last chapter's range is 4 seconds to 5 seconds.
>
> 2. The chapter titles are all set to the last metadata entry for title
> given
>
> Here's some sample, simplified code:
>
> unsigned int num_chapters = 5;
> unsigned int chapter_ix = 0;
> unsigned char chapter_title[80];
> memset(chapter_title, '\0', 80);
>
> AVChapter *chapter = calloc(1, sizeof(AVChapter));
>
> chapter->time_base.num = 1;
> chapter->time_base.den = 1000;
>

The above 3 lines should be inside the for-loop, otherwise your chapters
array will have 5 entries all pointing to the same AVChapter.




> AVChapter **chapters = calloc(num_chapters, sizeof(AVChapter*));
>
> for(chapter_ix = 0; chapter_ix < num_chapters; chapter_ix++) {
>
> chapter->id = chapter_ix + 1;
> chapter->start = 1000 * chapter_ix;
> chapter->end = chapter->start + 1000;
>
> printf("chapter range: %i-%i\n", chapter->start,
> chapter->end);
>
> sprintf(chapter_title, "Chapter %u", chapter_ix + 1);
>
> av_dict_set(>metadata, "title", chapter_title, 0);
>
> chapters[chapter_ix] = chapter;
>
> }
>
> output->nb_chapters = num_chapters;
>
> output->chapters = chapters;
>
> And the output of ffprobe:
>
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dvd_rip_00.mp4':
>   Metadata:
> major_brand : isom
> minor_version   : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf58.45.100
>   Duration: 00:00:05.00, start: 0.00, bitrate: 9020 kb/s
> Chapter #0:0: start 0.00, end 4.00
> Metadata:
>   title   : Chapter 5
> Chapter #0:1: start 4.00, end 4.00
> Metadata:
>   title   : Chapter 5
> Chapter #0:2: start 4.00, end 4.00
> Metadata:
>   title   : Chapter 5
> Chapter #0:3: start 4.00, end 4.00
> Metadata:
>   title   : Chapter 5
> Chapter #0:4: start 4.00, end 5.00
> Metadata:
>   title   : Chapter 5
>
> Can someone look at this for me and see if there's any glaring errors on my
> end?
>
> Thanks!!
>
> Steve
> ___
> 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 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".

Re: [FFmpeg-user] Question about colorspace conversion

2019-11-25 Thread Pavel Koshevoy
On Mon, Nov 25, 2019 at 9:28 AM  wrote:
>
> I'm little confused about using colorspace conversion, transformation
> characteristics. What I'm doing is extracting frames from HDR movie to PNG
> files(PNG files will be used in another project). I run following command:
> `ffmpeg -i data/hdr_movie.mkv -pix_fmt rgb48be -s:v 1920x1080
> -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1
> frames/frame_%06d.png`
>
> ffprobe for data/hdr_movie.mkv is `Video: hevc (Main 10), yuv420p10le(tv)`
>
> If I run the ffmpeg command, do I really convert colorspace? Or do I
> specify colorspace of output frame? Should I also run proper filter, which
> will do conversion? And additional question, what is the order of
> converting steps? colorspace, characteristics, matrix?


That's probably not doing any conversion.  To convert you need to use
a filter like colorspace (doesn't support HLG) or zscale.

There was a very helpful guide for HDR to SDR conversion with ffmpeg
-- https://stevens.li/guides/video/converting-hdr-to-sdr-with-ffmpeg/
The URL returns a Not Found now, but you can still read it via
archive.org (although that seems to miss some screenshots) --
https://web.archive.org/web/20190722004804/https://stevens.li/guides/video/converting-hdr-to-sdr-with-ffmpeg/

Hope this helps,
Pavel.
___
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".

Re: [FFmpeg-user] Nvidia professional cards for li e transcoding

2018-08-24 Thread Pavel Koshevoy
On Thu, Aug 23, 2018, 11:06 Pedro Daniel Costa 
wrote:

> This is the datasheet list
>
> For comparison on both models i am thinking
>
>
> 1st
>
> Quadro P6000
>
> SPECIFICATIONS
> GPU Memory 24 GB GDDR5X
> Memory Interface 384-bit
> Memory Bandwidth Up to 432 GB/s
> #
> #   NVIDIA CUDA® CORES 3840  
> #
> System Interface PCI Express 3.0 x16
> Max Power Consumption 250 W
> Thermal Solution Active
> Form Factor 4.4”H x 10.5” L, Dual Slot,
> Full Height
> Display Connectors 4x DP 1.4 + DVI-D DL
> Max Simultaneous Displays 4 direct, 4 DP1.4 MultiStream
> Max DP 1.4 Resolution 7680 x 4320 @ 30 Hz
> Max DVI-D DL Resolution 2560 x 1600 @ 60 Hz
> Graphics APIs Shader Model 5.1,
> OpenGL 4.54
> ,
> DirectX 12.05
> ,
> Vulkan 1.04
> Compute APIs CUDA, DirectComput
>
>
>
>
>
>
> 2nd choise  Tesla K80
>
>
> TECHNICAL SPECIFICATIONS
> Tesla K801
> Peak double-precision floating point performance (board)  1.87 Tflops
> Peak single-precision floating point performance (board) 5.6 Tflops
> GPU 1 x GK110B 2 x GK210
> #
> ###CUDA cores 4,992##
> #
>
> Memory size per board (GDDR5) 24 GB
> Memory bandwidth for board (ECC off)2 480 Gbytes/sec
> Architecture features SMX, Dynamic Parallelism, Hyper-Q
> System Servers and workstations Servers
>
>
>
>
>
>
> 3rd choice Tesla V100
>
> GPU Architecture NVIDIA Volta
> NVIDIA Tensor
> Cores 640
> #
> ###   NVIDIA CUDA® Cores 5,120###
> #
> Double-Precision
> Performance 7 TFLOPS 7.8 TFLOPS
> Single-Precision
> Performance 14 TFLOPS 15.7 TFLOPS
> Tensor
> Performance 112 TFLOPS 125 TFLOPS
> GPU Memory 16 GB HBM2
> Memory
> Bandwidth 900 GB/sec
> ECC Yes
> Interconnect
> Bandwidth 32 GB/sec 300 GB/sec
> System Interface PCIe Gen3 NVIDIA NVLink
> Form Factor PCIe Full
> Height/Length SXM2
> Max Power
> Comsumption 250 W 300 W
> Thermal Solution Passive
> Compute APIs CUDA, DirectCompute,
> OpenCL™, OpenACC
>
>
>
>
> -Mensagem original-
> De: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] Em nome de Dennis
> Mungai
> Enviada em: quinta-feira, 23 de agosto de 2018 13:27
> Para: FFmpeg user questions
> Assunto: Re: [FFmpeg-user] Best Nvidia professional cards for li e
> transcoding
>
> Hello there,
>
> Does your budget allow for a newer line of NVIDIA GPUs, such as the
> Quadros based on Pascal?
>
> If so, get the Quadro P6000.
>
> Plenty of VRAM, + all the NVENC encoder features you may need, such as
> HEVC high-depth encoding and vastly better encoder performance overall.
>
> Refer to this:
> https://developer.nvidia.com/video-encode-decode-gpu-support-matrix
>
> If budget is not an issue, go for the jugular with the Tesla P100 (if you
> don't need HEVC 8k encoder support) OR the Tesla P40 (if you want/need all
> the features).
>
> I cannot speak for the Volta (GV100) line of GPUs as I'm yet to evaluate
> them in production.
>
> On 23 August 2018 at 19:02, Pedro Daniel Costa 
> wrote:
>
> > Hi guys i am looking for best Nvidia cuda professional card for live
> > transcoding 100Channels, 50Channel HD mpeg4 aac 1980x1080p, and
> > 50Channel sd mpeg2 576x480.
> >
> > I am thinking TESLA K80, 4992GPU cuda cores, is there a more powerfull
> > card?
>
>

I would confirm that K80 is indeed newer.  I think K stands for Kepler,  M
for Maxwell, P for Pascal, and V for Volta.  Volta is the newest on that
list, and Kepler is oldest.  Kepler's NVENC doesn't support HEVC encoding,
I'd avoid it just for that.

Pavel.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Text and icons in video appears blurry after converting from rgb to yuv420p

2018-06-21 Thread Pavel Koshevoy
On Thu, Jun 21, 2018 at 2:26 PM Bolik Bom  wrote:
>
> Hello everyone,
>
> I have recorded my screen with some recording software, and encoded the video 
> as lossless h.264, rgb.
>
> I've saved the file as "source_lossless_rgb.mp4", and then lossy encoded it:
> ffmpeg -i source_lossless_rgb.mp4 -c:v libx264rgb rgb.mp4
>
> And I've created another lossy version, in yuv420p format:
> ffmpeg -i source_lossless_rgb.mp4 -c:v libx264 -pix_fmt yuv420p yuv420p.mp4
>
> When playing the two videos using Media Player Classic / VLC,
> text and icons in the yuv420 video are a little blurry.
> Is it possible to create an exact translation from rgb to yuv420,
> so no blur will be introduced?

YUV 4:2:0 will downsample the chroma channel by a factor of two  (for
every 2x2 luma samples there is only one U and one V sample).
YUV 4:2:2 downsamples chroma by a factor of 2, but only horizontally
(2x1 luma samples, one U, one V samples)
YUV 4:4:4 does not downsample chroma at all, so this is more
appropriate for screen capture

If you still have to use 4:2:0 sampling then you can work around the
downsampling by upscaling the video by a factor of 2 horizontally and
vertically before encoding, then there will be no chroma loss due to
chroma downsampling

Pavel.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] amix with atempo: Inconsistent behaviour creating m4a with aac

2017-09-13 Thread Pavel Koshevoy
On Sep 13, 2017 4:32 AM, "Jonathan Girven" 
wrote:

I am trying to take the audio from two mp4 files, merge them together one
after the other (perhaps with some other effects such as a fade transition:
not shown), and apply atempo to the result.

I am working with the current FFmpeg git master branch. I have attached an
example file to reproduce the issue with:  BigBuckBunny_320x180_t10.mp4
  .
And here is the command and output:

$ ffmpeg -y \
  -i BigBuckBunny_320x180_t10.mp4 \
  -i BigBuckBunny_320x180_t10.mp4 \
  -filter_complex "
aevalsrc=0:d=10[na1];[na1][1:a]concat=n=2:v=0:a=1[a1];
[0:a][a1]amix=inputs=2[mix_audio];
[mix_audio]asplit=3[mix_audio0][mix_audio1][mix_audio2];
[mix_audio0]atrim=0:5,asetpts=expr=PTS-STARTPTS[a_trim0];
[mix_audio1]atrim=5:10,asetpts=expr=PTS-STARTPTS[a_trim1];
[mix_audio2]atrim=10:20,asetpts=expr=PTS-STARTPTS[a_trim2];
[a_trim1]atempo=0.5[a_slomo1];
[a_trim0][a_slomo1][a_trim2]concat=n=3:v=0:a=1[com_a_slomo]
" \
  -map [com_a_slomo] \
  -c:a aac \
  output.m4a



I haven't tested such use case, but I can tell you atempo also changes
output pts (computes it based on the number of samples output so far).  So
shouldn't mix_audio2 asetpts expression reference the output of atempo for
STARTPTS?

Pavel
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Pixel average color filter

2017-07-23 Thread Pavel Koshevoy
On Jul 23, 2017 11:54 AM, "Mikhail V"  wrote:

Dear ffmpeg team,

I need a filter which fills output frame with average color of input.
Currently I need it to do row-wise average.
Pseudo-code:

- take first pixel row
- calculate average color in this row and fill output row with this color
- take next row
- repeat same operation
...
and so for all input frame rows


So the output frame will be filled with the average color of input
frame row-wise.

Is there such filter or something similar so I can get similar results?


Regards,
Mikhail V
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".




Sounds like you could just scale the image horizontally down to 1 pixel
width.

Pavel
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Screen Capture - Windows 10 - making progress

2017-06-03 Thread Pavel Koshevoy
On Jun 2, 2017 11:45, "Ron Barnes"  wrote:

Maybe I'm doing something wrong then.  I tried OBS Studio and it recorded
audio but no video(Kinda).   It recorded my desktop, my mouse moves and
everything else I need to do, just the image in the browser was a black
screen.



OBS supports several methods of capture, I'd try all of them.  Also, try
popping out the browser tab into it's own window and capturing just that
window, not the whole desktop.

Pavel
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Installing on Snow Leopard 10.6.8

2016-11-05 Thread Pavel Koshevoy
On Nov 4, 2016 3:20 PM, "Joel Lopez"  wrote:
>
> Hi,
>
> I'm stuck with some older machines that we can't upgrade because of
> software we have on them.  Is it possible to install FFMPEG on OSX
> 10.6.8?
>
> I've tried brew and I got errors with git.  I manually installed git
> and got around it.  Now I'm getting stuck on Yasm.  I've manually
> installed it but it doesn't get past the error.
>
> brew install ffmpeg
>
> Warning: You are using macOS 10.6.
>
> We (and Apple) do not provide support for this old version.
>
> You may encounter build failures or other breakages.

You may have better luck with macports -- I use that instead of brew on OSX
10.5 ... 10.12.  I am pretty sure they support even older versions
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] gas-preprocessor.pl unknown arch: 'ppc'

2014-11-03 Thread Pavel Koshevoy

Hi,

I am trying to (re)build recent ffmpeg master 
(63e62cfbe23de8b362d94f783668620a2cd2b571) on OSX 10.5 ppc.  I have 
installed latest (2014-08-12) gas-preprocessor.pl from 
http://git.libav.org/?p=gas-preprocessor.git


When configuring the build it still complains and asks to install/update 
gas-preprocessor.  I am not sure whether this is a gas-preprocessor 
problem, or an ffmpeg build configuration problem. This used to work.  I 
don't know when it broke because configuring without gas-preprocessor is 
non-fatal, so it may have been broken for months and I haven't noticed.


One thing I've noticed is that -arch ppc doesn't work, but -arch powerpc 
does:


$ gas-preprocessor.pl -arch ppc -as-type apple-gas -- gcc -v
unknown arch: 'ppc'

$ gas-preprocessor.pl -arch powerpc -as-type apple-gas -- gcc -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-checking 
--prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
--build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 
--program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5577)


Here is an excerpt from config.log:

# /nfs/scratch/Developer/ffmpeg-git-src/configure --prefix=/Developer/ppc 
--disable-debug --disable-shared --enable-swscale --enable-avfilter 
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-l
ibtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug 
--enable-libvpx --enable-libspeex --enable-pthreads --enable-gpl 
--enable-version3 --enable-libopencore-amrnb --enable-libopencore-am
rwb --enable-postproc --enable-libx264 --enable-libxvid --enable-libass 
--enable-gnutls --enable-runtime-cpudetect --extra-cflags=-I/opt/local/include 
--extra-ldflags='-headerpad_max_install_names -L/opt/loca
l/lib'

...

gas-preprocessor.pl -arch ppc -as-type apple-gas -- gcc -v
unknown arch: 'ppc'
check_gas using 'gcc' as AS
check_as
BEGIN /var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S
1   .macro m n, y:vararg=0
2   \n: .int \y
3   .endm
4   m x
END /var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/opt/local/include -force_cpusubtype_ALL -mdynamic-no-pic -c -o 
/var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.tRd1aGKd.o /var/fold
ers/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S
/var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S:4:Junk 
character 92 (\).
/var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S:4:Rest of 
line ignored. 1st junk character valued 110 (n).
check_gas using 'gcc' as AS
check_as
BEGIN /var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S
1   .macro m n, y:vararg=0
2   \n: .int \y
3   .endm
4   m x
END /var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/opt/local/include -force_cpusubtype_ALL -mdynamic-no-pic -c -o 
/var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.tRd1aGKd.o /var/fold
ers/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S
/var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S:4:Junk 
character 92 (\).
/var/folders/zc/zcLuFx8PGxWB0xQUmne1nU+++yU/-Tmp-//ffconf.dZICFXiM.S:4:Rest of 
line ignored. 1st junk character valued 110 (n).
WARNING: GNU assembler not found, install/update gas-preprocessor

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] gas-preprocessor.pl unknown arch: 'ppc'

2014-11-03 Thread Pavel Koshevoy


On 2014/11/03 4:00, Pavel Koshevoy wrote:

Hi,

I am trying to (re)build recent ffmpeg master 
(63e62cfbe23de8b362d94f783668620a2cd2b571) on OSX 10.5 ppc.  I have 
installed latest (2014-08-12) gas-preprocessor.pl from 
http://git.libav.org/?p=gas-preprocessor.git


When configuring the build it still complains and asks to 
install/update gas-preprocessor.  I am not sure whether this is a 
gas-preprocessor problem, or an ffmpeg build configuration problem. 
This used to work.  I don't know when it broke because configuring 
without gas-preprocessor is non-fatal, so it may have been broken for 
months and I haven't noticed.


One thing I've noticed is that -arch ppc doesn't work, but -arch 
powerpc does:


$ gas-preprocessor.pl -arch ppc -as-type apple-gas -- gcc -v
unknown arch: 'ppc'



This happens on line 66 of gas-preprocessor.pl -- it checks the 
$comments dictionary for 'ppc', doesn't find it and gives up.  I've 
worked around the problem locally by adding 'ppc' = '#' to %comments on 
line 17.


Pavel

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user