Re: [FFmpeg-user] Configure error with fontconfig

2024-04-30 Thread Jim Worrall
> On Apr 30, 2024, at 13:53, Jim Worrall wrote: > > > >> On Apr 30, 2024, at 11:29, Jim Worrall wrote: >> >> >> >>> On Apr 30, 2024, at 09:41, Jim Worrall wrote: >>> >>> >>> >>>> On Apr 29, 2024, at

Re: [FFmpeg-user] Configure error with fontconfig

2024-04-30 Thread Jim Worrall
> On Apr 30, 2024, at 11:29, Jim Worrall wrote: > > > >> On Apr 30, 2024, at 09:41, Jim Worrall wrote: >> >> >> >>> On Apr 29, 2024, at 23:00, Ferdi Scholten wrote: >>> >>> This may not be due to ffmpeg itself, but I would

Re: [FFmpeg-user] Configure error with fontconfig

2024-04-30 Thread Jim Worrall
> On Apr 30, 2024, at 09:41, Jim Worrall wrote: > > > >> On Apr 29, 2024, at 23:00, Ferdi Scholten wrote: >> >> This may not be due to ffmpeg itself, but I would appreciate some help. >>> Configure says that pkg-config can’t find fontconfig.pc, but it

Re: [FFmpeg-user] Configure error with fontconfig

2024-04-30 Thread Jim Worrall
> On Apr 29, 2024, at 23:00, Ferdi Scholten wrote: > > This may not be due to ffmpeg itself, but I would appreciate some help. >> Configure says that pkg-config can’t find fontconfig.pc, but it seems to be >> in the PKG_CONFIG_PATH. >> >> # ./configure --cc=/usr/bin/gcc \ >> --prefix=$TARGET

[FFmpeg-user] Configure error with fontconfig

2024-04-29 Thread Jim Worrall
This may not be due to ffmpeg itself, but I would appreciate some help. Configure says that pkg-config can’t find fontconfig.pc, but it seems to be in the PKG_CONFIG_PATH. # ./configure --cc=/usr/bin/gcc \ --prefix=$TARGET \ --pkg-config-flags="--static" \ --extra-cflags="-I/usr/local/include"

Re: [FFmpeg-user] Is there a way to cut a video at an exact time ?

2024-04-13 Thread Jim Worrall
> On Apr 13, 2024, at 01:57, bbb wrote: > > Sorry for bothering you. It only behaves like this when I use "-codec copy". > Without that option it accepts the exact time I've specified. > > On 4/13/24 13:47, bbb wrote: >> I want to cut off the start of a video. When I tell ffmpeg to start at

Re: [FFmpeg-user] compile failure during make

2024-03-08 Thread Jim Worrall
> On Mar 8, 2024, at 03:20, Gyan Doshi wrote: > > > > On 2024-03-08 11:58 am, Gyan Doshi wrote: >> >> >> On 2024-03-08 06:06 am, Jim Worrall wrote: >>> I’ve been building ffmpeg on a Mac since 2017, and this is the first time >>> I’ve

[FFmpeg-user] compile failure during make

2024-03-07 Thread Jim Worrall
I’ve been building ffmpeg on a Mac since 2017, and this is the first time I’ve run into this kind of problem. I pulled the latest git head today. After getting all the dependencies set up, I configure ffmpeg successfully like this: ./configure \ --prefix=${TARGET} \

Re: [FFmpeg-user] build error

2017-12-28 Thread Jim Worrall
Thank you Carl Eugen. It was a completely fresh directory. Maybe an electron went awry. I wasn’t aware you could run make/gmake on individual files. When I went gmake libavformat/libavformat.version It seemed to work: GEN libavutil/libavutil.version GEN

[FFmpeg-user] build error

2017-12-27 Thread Jim Worrall
Hi, I’m building a fresh git clone of ffmpeg on freebsd using clang. The configure step goes fine with: ./configure --cc=/usr/bin/clang --pkg-config-flags="--static" --enable-static --disable-shared --enable-nonfree --enable-gpl --enable-hardcoded-tables --enable-version3 --enable-libfdk-aac

Re: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame.

2016-12-27 Thread Jim Worrall
> On 2016 Dec 26, at 11:36 AM, Moritz Barsnick wrote: > > Actually, the issue is easy to reproduce: > > $ ffmpeg -loglevel verbose -f lavfi -i testsrc2 -vf delogo=0:0:50:50 -t 1 -f > null - > If I change the delogo to delogo=1:1:50:50, I don’t get the error. Since there

Re: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame.

2016-12-25 Thread Jim Worrall
> On 2016 Dec 24, at 12:43 AM, 周红 <271697...@qq.com> wrote: > > Hello, Everyone, > I got ffmpeg 3.2.2 compile on my linux centOS 6.2 width gcc 5.3。I used to use > ffmpeg 2.8 static binaray, but when I switch to 3.2.2 > > [zhouhong@localhost bin]$ /home/zhouhong/Downloads/ffmpeg-3.2/ffmpeg -y

Re: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X

2016-12-15 Thread Jim Worrall
Moritz pinpointed the problem to missing/lost x264.h. In my mac system that is at /usr/local/include, so if you can find it, you could perhaps move it there. If that doesn’t work, I second the suggestion of Luke to use homebrew to install a lot of these dependencies and such. It works well

Re: [FFmpeg-user] Rotating output in transcode pipeline with C

2016-12-14 Thread Jim Worrall
I don't fully understand your question, but you can rotate video clockwise 90* as you input it by adding -vf "transpose=1" before -i -vf transpose=2 should rotate it counter-clockwise. On Tue, Dec 13, 2016 at 8:28 AM, Victor dMdB wrote: > Hi! > > I have an input stream which

Re: [FFmpeg-user] Rotating output in transcode pipeline with C

2016-12-14 Thread Jim Worrall
Oh, if you need to remove the metadata, assuming the rotation metadata belongs to the stream, add -map_metadata:s -1 to the command, or just -map_metadata -1 to remove all metadata, stream or global. On Wed, Dec 14, 2016 at 4:05 PM, Jim Worrall <conioph...@gmail.com> wrote: > I do

Re: [FFmpeg-user] how to concatenate several flv files into one flv file

2016-11-17 Thread Jim Worrall
On Thu, Nov 17, 2016 at 6:21 AM, qw wrote: > >> There are several flv file, such as file1.flv, file2.flv, and > >> file3.flv, which have different encoding settings. How to concatenate > >> several flv files into one single flv file? > Since your files have different

Re: [FFmpeg-user] Encoding Apple-Quicktime compatible videos ? - Broken videos on Apple

2016-10-08 Thread Jim Worrall
> On 2016 Oct 8, at 3:27 PM, Alexey Eromenko wrote: > > Okay, for now I was forced to open a bug report #5882 > https://trac.ffmpeg.org/ticket/5882 Well, it seems obvious from "library configuration mismatch” there is something wrong with

Re: [FFmpeg-user] Encoding Apple-Quicktime compatible videos ? - Broken videos on Apple

2016-10-08 Thread Jim Worrall
> On 2016 Oct 8, at 2:38 PM, Alexey Eromenko wrote: > >> I haven’t looked at your file, but the first thing I would do is compare >> your encoding settings (which, as far as I can see, you still haven’t >> posted) to the video specifications of the playback device. For your

Re: [FFmpeg-user] Encoding Apple-Quicktime compatible videos ? - Broken videos on Apple

2016-10-08 Thread Jim Worrall
> On 2016 Oct 8, at 4:29 AM, Alexey Eromenko wrote: > > Here is an example broken video file: -- (video data was blurred on purpose.) > https://drive.google.com/open?id=0BycgkMZbeQOzaXpFRVJ5T09VeTQ > > This broken video cannot be played on iTunes/Quicktime, beyond about 50 >

Re: [FFmpeg-user] Decimating video frames to shorten movie

2016-07-07 Thread Jim Worrall
> On 2016 Jul 5, at 2:52 PM, Rae, Philip John wrote: > > For some reason my installation balked at the lbx264 part of the command > despite the lbx264 library being used successfully elsewhere. > > ffmpeg -r 5timesoriginalspeed -i source.ext -c:v lbx264 -c:a copy -r >

Re: [FFmpeg-user] mac OS X avfoundation not listing audio devices

2016-05-15 Thread Jim Worrall
> On 2016 May 15, at 4:55 AM, Moritz Barsnick wrote: > > On Sun, May 15, 2016 at 20:50:14 +1000, Paul Evans wrote: >> I am trying to list all devices on my MacBook Pro running El Capitan, but am >> surprised that the only device listed is the FaceTime HD Camera. >> FFMPEG was

Re: [FFmpeg-user] libtheora, libmp3lame, vidstab, libvorbis, and libxvid not found on OS X

2016-04-20 Thread Jim Worrall
On Wed, Apr 20, 2016 at 7:00 AM, Rodrigo Polo wrote: > > It works and compiles, but I though maybe someone could fix/update the > instructions in this guide: > > https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX#CompilingFFmpegyourself > > Apparently I misunderstood.

Re: [FFmpeg-user] libtheora, libmp3lame, vidstab, libvorbis, and libxvid not found on OS X

2016-04-15 Thread Jim Worrall
> On 2016 Apr 15, at 2:39 PM, Rodrigo Polo wrote: > > I did, Do you read my entire first mail where I said that I didn't included > because it looks like all the libraries had the same issue and that for that > reason I included all software and libraries version?

Re: [FFmpeg-user] libtheora, libmp3lame, vidstab, libvorbis, and libxvid not found on OS X

2016-04-14 Thread Jim Worrall
> On 2016 Apr 14, at 12:21 PM, Rodrigo Polo wrote: > > Indeed, I can view it but I can't respond to it because I wasn't sucribed, > the person who responded didn't read the complete email, the errors where > there: > > ERROR: libtheora not found > ERROR: libmp3lame >=

Re: [FFmpeg-user] libtheora, libmp3lame, vidstab, libvorbis, and libxvid not found on OS X

2016-04-13 Thread Jim Worrall
> On 2016 Apr 13, at 2:37 AM, Rodrigo Polo wrote: > > Hi, I follow the guide you have here to compile FFmpeg on OS X: > https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX . . . > So the final config command is: > > ./configure \ > --prefix=/usr/local \ > --enable-gpl

Re: [FFmpeg-user] Faac Reinstall Error

2016-03-19 Thread Jim Worrall
> On 2016 Mar 17, at 3:41 AM, Onder BOYDAK | Eglence Fabrikasi > wrote: > I am trying on Mac OsX Yosemite > brew reinstall ffmpeg --with-faac > brew reinstall ffmpeg --with-faac --enable-cross-compile Homebrew is great for installing all the libraries and

Re: [FFmpeg-user] how to concate two wmv files ?

2016-02-15 Thread Jim Worrall
> On 2016 Feb 15, at 11:59 AM, G Alexander wrote: > > what is this homework? this post is from someone who is clueless about video. > > unless the two wmv’s have the same bitrate, fps, etc and audio properties etc > you cannot “concatenate” them and have decent

[FFmpeg-user] Can't pass bit depth to x265 from ffmpeg

2016-02-14 Thread Jim Worrall
I compiled libx265 statically with support for bit depths 8, 10, and 12. I first deleted old x265 executable and libx265* files. When I was finished, x265 —version confirmed that I had all 3 bit-depth options: x265 [info]: HEVC encoder version 1.9 x265 [info]: build info [Mac OS X][clang

Re: [FFmpeg-user] x265 on osx

2016-01-26 Thread Jim Worrall
> On 2016 Jan 19, at 7:52 PM, G A wrote: > > i probably made the mistake of installing x265 lib via homebrew, ugh, i’m > transcoding some video > and get this from the display > > x265 [info]: HEVC encoder version 1.8+1-5dcc9d3a928c400b > x265 [info]: build info [Mac

[FFmpeg-user] Reports not getting x265 info

2016-01-09 Thread Jim Worrall
I’m doing long transcodes on my local server to avoid tying up my laptop. Unfortunately much of the console output gets lost in the process. So I’m using the report-writing feature of ffmpeg by creating a FFREPORT environment variable. This is great, but with libx265, none of the x265 info

Re: [FFmpeg-user] Reports not getting x265 info

2016-01-09 Thread Jim Worrall
> On 2016 Jan 9, at 7:21 AM, Nicholas Robbins > <nickrobbins-at-yahoo@ffmpeg.org> wrote: > >> On Saturday, January 9, 2016 9:11 AM, Jim Worrall <conioph...@gmail.com> >> wrote: > >>> I’m doing long transcodes on my local server to avoi

Re: [FFmpeg-user] Reports not getting x265 info

2016-01-09 Thread Jim Worrall
;barsn...@gmx.net> wrote: > > On Sat, Jan 09, 2016 at 09:36:54 -0700, Jim Worrall wrote: > >> If I’m understanding right, that would mean that redirecting ffmpeg’s >> stderr and stdout would not capture libx265’s output? > > That's not correct. As a Unix shell only has

Re: [FFmpeg-user] Reports not getting x265 info

2016-01-09 Thread Jim Worrall
> On 2016 Jan 9, at 9:02 AM, Moritz Barsnick <barsn...@gmx.net> wrote: > > On Sat, Jan 09, 2016 at 07:11:16 -0700, Jim Worrall wrote: > >> This is great, but with libx265, none of the x265 info gets into the >> report - it is missing. With libx264, the libx264 outp

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-06 Thread Jim Worrall
> On 2016 Jan 6, at 4:04 AM, Andy Furniss wrote: > I guess superfast hides the gain of the first pass. I am not sure I > would want to encode with it using 3M ABR - which is quite low, but > then libx265 is quite slow. Normally I use ‘medium', or now ‘slow' because I’ve got

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> On 2016 Jan 5, at 8:38 AM, Andy Furniss wrote: > > Should be that, the png is a different issue/feature - I don't know > what's correct or not. I guess you saw my other post that showed the > gamma difference. Whether you see it or not is going to be down to the >

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> I’m not really looking for perfection, just don’t want the transcodes to be > darker on any device. > > So my testing has shown, for both libx264 and libx265, the problem is > solved (meaning the pngs come out with the same luminosity, which > is good enough for me) either of two ways, using

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> > Ouch, did the new file show as 709 with > > ffmpeg -i newfile.mkv > > I can't reproduce this one myself x265-params seems to work. > If for some reason the newfile didn't get flagged as 709 then it could be > possible to get brighter with different colours in a scene. Yes. The ORIGINAL

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> Yes, that's probably it. > > Maybe you could try below to see if the original shows 709 - > > ffmpeg -analyzeduration 100M -probesize 100M -i original.m2ts > > FWIW I just noticed another issue - using pass 1 and pass 2 via ffmpeg > doesn't work for libx265. > > It does work if you use it

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> On 2016 Jan 5, at 3:13 PM, Jim Worrall <conioph...@gmail.com> wrote: > >> Currently I just get an empty ffmpeg2pass-0.log and pass 1 is as slow as >> pass 2. As expected he result is worse as well. >> > Uh-oh, I thought that’s what was supposed to happen (ex

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> On 2016 Jan 5, at 5:17 PM, Andy Furniss wrote: > I snipped some other "evidence" in my last post. > > If you want to check outputs between the two ways look at the last > lines of the larger block of x265 [info]. > > with ffmpeg the last 2 lines of both pass 1 and 2 are

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> On 2016 Jan 5, at 6:06 PM, Andy Furniss wrote: > I would double check your command line(s) - if they seem OK paste it/them > along with the full output(s). > You are so right. I had pass=1 twice (I’m going to hide under a rock now). Now I get: x265 [info]: tools: rd=2

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-05 Thread Jim Worrall
> On 2016 Jan 5, at 4:28 PM, Andy Furniss <adf.li...@gmail.com> wrote: > > Jim Worrall wrote: >> >>> On 2016 Jan 5, at 3:13 PM, Jim Worrall <conioph...@gmail.com> >>> wrote: >>> >>>> Currently I just get an empty ffmpeg2pass

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-04 Thread Jim Worrall
> On 2016 Jan 4, at 1:33 PM, Carl Eugen Hoyos wrote: > > How did you produce the screenshots? ffmpeg -i in.mkv -vf fps=1/6 %03din.png > > I do see that one of the png files you uploaded > is lighter but when I look at the 91st frame of > the file you uploaded, it is darker

[FFmpeg-user] ffmpeg makes some sources darker

2016-01-04 Thread Jim Worrall
I’ve been using ffmpeg with libx265 to transcode Star Wars blurays to smaller files. Episodes 1 and 2 went perfectly. I made screenshots from identical points and they were virtually indistinguishable. When I did Episode 3, I noticed that the screenshots from the transcode were darker than

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-04 Thread Jim Worrall
> > Strange, unless there is something in the pngs that causes a different viewer > to produce different output. > > I looked again (display from ancient imagemagic) and can't see any difference > - psnr/ssim agree. > > The pngs are not the same md5sum wise OK - you’re definitely getting way

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-04 Thread Jim Worrall
> On 2016 Jan 4, at 3:29 PM, Andy Furniss wrote: > I think it's because the master is flagged as rec709 but the yuv and I > guess hevc aren’t. Although my opinion is not worth much, I suspect you are onto it here. > > Some players (not mplayer) would assume 709 for >= 720p

Re: [FFmpeg-user] ffmpeg makes some sources darker

2016-01-04 Thread Jim Worrall
> On 2016 Jan 4, at 5:11 PM, Carl Eugen Hoyos wrote: > > You could test to set them with the following: > -color_primaries bt709 -color_trc bt709 -colorspace bt709 > (with a faster preset), it shouldn't make a > difference but who knows... > > And please also test with

Re: [FFmpeg-user] libx264 very bad scaling with 4 real CPU cores (no HT)

2015-12-04 Thread Jim Worrall
On Fri, Dec 4, 2015 at 4:06 AM, D wrote: > On 03.12.2015 22:22, Lou wrote: > >> On Thu, 3 Dec 2015 16:43:28 +0100 >> D wrote: >> > The other thing I find weird with -preset is that one can use -crf setting > with it. I thought a preset would cover this

Re: [FFmpeg-user] (no subject)

2015-11-21 Thread Jim Worrall
> On 2015 Nov 21, at 12:57 PM, Ming Luo wrote: > > Hi, guys, > > I installed ffmpeg-2.8.2 on Mac and run in command line: > > ffmpeg -i firstTake.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb > firstTake.ts > > and get the following result with some errors. For

Re: [FFmpeg-user] cutting and merging video and audio with different audio configs

2015-10-17 Thread Jim Worrall
I would try the concat filter. It should allow you to map the video and audio as you like. There are good examples here: https://trac.ffmpeg.org/wiki/Concatenate#filter > On 2015 Oct 17, at 4:27 AM, Kevin Wells wrote: > > Hi, I have two videos which I want to cut and

Re: [FFmpeg-user] croping a video while keeping the rest of the data in the container

2015-10-13 Thread Jim Worrall
> On 2015 Oct 13, at 11:20 AM, daggs wrote: > > I want to the following, take a mkv file (with multiple audio and subtitles > included for example) and crop the video so in the end I have same file like > the original but with the video stream cropped. > > how I can do that?

Re: [FFmpeg-user] Can't get acrossfade to work properly

2015-09-26 Thread Jim Worrall
ading them by 'duration' number of seconds. After video and audio streams are combined with overlay and acrossfade, respectively, they are faded in and out with fade and afade for final output. > On 2015 Sep 20, at 8:43 AM, Jim Worrall <conioph...@gmail.com> wrote: > >

Re: [FFmpeg-user] Can't get acrossfade to work properly

2015-09-20 Thread Jim Worrall
23% 7% [libx264 @ 0x7fca53009e00] kb/s:2538.20 > On 2015 Sep 19, at 9:26 AM, Paul B Mahol <one...@gmail.com> wrote: > > On 9/19/15, Jim Worrall <conioph...@gmail.com> wrote: >> . . . >> The clips are available at: >> https://dl.dropboxusercontent

[FFmpeg-user] Can't get acrossfade to work properly

2015-09-19 Thread Jim Worrall
I am attempting to use ffmpeg to develop a finished video from raw video, with fading audio and video in at the beginning, crossfading them between clips, and fading them out at the end. I have three, 10-second clips for testing (actually came out to 10.04, 10.04, and 10.01). For some earlier

Re: [FFmpeg-user] Can't get acrossfade to work properly

2015-09-19 Thread Jim Worrall
Well, it doesn’t quite work. It seems to work for the audio, but it messes up the video as noted. What would you suggest? > On 2015 Sep 19, at 9:26 AM, Paul B Mahol <one...@gmail.com> wrote: > > On 9/19/15, Jim Worrall <conioph...@gmail.com> wrote: >> I am attempti

Re: [FFmpeg-user] Failing to build ffmpeg with ffplay support

2015-09-17 Thread Jim Worrall
On Mac OS X, I find the easiest way to install all the dependencies for ffmpeg, including sdl, is using homebrew. This is a huge convenience as some of the packages are very difficult to compile. Just install homebrew and let it do it’s magic. For example, the initial command I used after

Re: [FFmpeg-user] Failing to build ffmpeg with ffplay support

2015-09-17 Thread Jim Worrall
I think my earlier post didn’t go out, but sorry for double posting if it did. On Mac OS X, I suggest you install all the ffmpeg dependencies, including sdl, using homebrew. It is very easy. This is a huge convenience as some of the packages are very difficult to compile. Just install