Re: [Libav-user] libavcodec usage inside Cinelerra-GG [LONG]

2019-11-04 Thread Andrew Randrianasulu
В сообщении от Sunday 03 November 2019 13:56:09 Carl Eugen Hoyos написал(а): > Am So., 3. Nov. 2019 um 11:53 Uhr schrieb Andrew Randrianasulu > : > > > For what exactly I should look? > > You claim that AVStream->time_base is changing (which sounds strange to me > bu

[Libav-user] libavcodec usage inside Cinelerra-GG [LONG]

2019-11-02 Thread Andrew Randrianasulu
Hello, developers and users of libav! I'm a bit of user (more tester than serious user) of video editing software called Cinelerra-GG This is evolution of original Cinlerrra NLE, and current version uses ffmpeg/libavcodec 4.2 From manual available at https://cinelerra-gg.org/download/ (see

[Libav-user] Correction (for libavcodec usage inside Cinelerra-GG [LONG])

2019-11-02 Thread Andrew Randrianasulu
I included link to our bugtracker issue #330, but it was not meant to say FFmpeg should be absolutely blamed on this - just that my primitive fprintf debugging showed something like jumping around at seek timestamps (due to cinelerra-GG using different seek method, relative to ffplay/mplayer)

Re: [Libav-user] libavcodec usage inside Cinelerra-GG [LONG]

2019-11-04 Thread Andrew Randrianasulu
В сообщении от Monday 04 November 2019 20:51:06 Carl Eugen Hoyos написал(а): > Am Mo., 4. Nov. 2019 um 16:27 Uhr schrieb Andrew Randrianasulu > : > > > my diff for ffmpeg.c: > > > > diff --git a/cinelerra-5.1/cinelerra/ffmpeg.C > > b/cinelerra-5.1/ci

Re: [Libav-user] libavcodec usage inside Cinelerra-GG [LONG]

2019-11-04 Thread Andrew Randrianasulu
В сообщении от Monday 04 November 2019 20:51:06 Carl Eugen Hoyos написал(а): > Am Mo., 4. Nov. 2019 um 16:27 Uhr schrieb Andrew Randrianasulu > : > > > my diff for ffmpeg.c: > > > > diff --git a/cinelerra-5.1/cinelerra/ffmpeg.C > > b/cinelerra-5.1/ci

Re: [Libav-user] libavcodec usage inside Cinelerra-GG [LONG]

2019-11-03 Thread Andrew Randrianasulu
В сообщении от Sunday 03 November 2019 09:01:42 Carl Eugen Hoyos написал(а): > Am Sa., 2. Nov. 2019 um 23:32 Uhr schrieb Andrew Randrianasulu > : > > > I think I can also link in > > https://www.cinelerra-gg.org/bugtracker/view.php?id=330 > > because IMO it shows

Re: [Libav-user] libavcodec usage inside Cinelerra-GG [LONG]

2019-11-03 Thread Andrew Randrianasulu
В сообщении от Sunday 03 November 2019 13:15:27 Carl Eugen Hoyos написал(а): > Am So., 3. Nov. 2019 um 07:43 Uhr schrieb Andrew Randrianasulu > : > > > > В сообщении от Sunday 03 November 2019 09:01:42 Carl Eugen Hoyos написал(а): > > > Am Sa., 2. Nov. 2019

Re: [Libav-user] libavcodec usage inside Cinelerra-GG [LONG]

2019-11-03 Thread Andrew Randrianasulu
В сообщении от Sunday 03 November 2019 13:56:09 Carl Eugen Hoyos написал(а): > Am So., 3. Nov. 2019 um 11:53 Uhr schrieb Andrew Randrianasulu > : > > > For what exactly I should look? > > You claim that AVStream->time_base is changing (which sounds strange to me > bu

[Libav-user] yet another round around teh BluRay muxing

2019-11-08 Thread Andrew Randrianasulu
https://github.com/justdan96/tsMuxer tsMuxer Vision This project is for tsMuxer - a transport stream muxer for remuxing/muxing elementary streams. This is very useful for transcoding and this project is used in other products such as Universal Media Server. EVO/VOB/MPG, MKV/MKA,

Re: [Libav-user] blu-ray muxing in mpegts

2019-11-08 Thread Andrew Randrianasulu
В сообщении от Friday 08 November 2019 23:16:21 Carl Eugen Hoyos написал(а): > > > Am 09.11.2019 um 00:45 schrieb Andrew Randrianasulu > > : > > > > should I try to post this to ffmpeg's ticket 7842 ? > > (No, as it was closed.) > Feel free to post it if yo

[Libav-user] Pulldown support in libx264?

2019-11-17 Thread Andrew Randrianasulu
Hello, all! I was trying to see if x264's cli option "piulldown" can be ported to libx264/ffmpeg. Not as simple as copy/pasta, it seems :O in x264.c (from x264 source tree) I see this: /* set up pulldown */ if( opt->i_pulldown && !param->b_vfr_input ) { param->b_pulldown = 1;

Re: [Libav-user] Transcode with the some properties

2019-11-04 Thread Andrew Randrianasulu
В сообщении от Monday 04 November 2019 14:22:32 Boris написал(а): > Le lun. 4 nov. 2019 à 11:47, Andrew Randrianasulu > a écrit : > > > В сообщении от Monday 04 November 2019 12:29:10 Boris написал(а): > > > Hello, > > > I want to transcode video with exactly

Re: [Libav-user] Transcode with the some properties

2019-11-04 Thread Andrew Randrianasulu
В сообщении от Monday 04 November 2019 14:22:32 Boris написал(а): > Le lun. 4 nov. 2019 à 11:47, Andrew Randrianasulu > a écrit : > > > В сообщении от Monday 04 November 2019 12:29:10 Boris написал(а): > > > Hello, > > > I want to transcode video with exactly

Re: [Libav-user] Transcode with the some properties

2019-11-04 Thread Andrew Randrianasulu
В сообщении от Monday 04 November 2019 12:29:10 Boris написал(а): > Hello, > I want to transcode video with exactly the same properties of the input > video in the output video. > I use the transcoding.cc code. In the static int open_output_file(const > char *filename) function, I set encoder

Re: [Libav-user] Incorrect compressed audio

2020-01-25 Thread Andrew Randrianasulu
В сообщении от Sunday 26 January 2020 01:30:44 Jonathan Noble написал(а): > Hi, > I don't know why I am not getting a reply to my previous e-mails, so I am > trying again. Please let me know if they were there. > > I have a pipeline of reader->decoder->encoder->writer where the codec > parameters

Re: [Libav-user] OV518

2020-04-27 Thread Andrew Randrianasulu
В сообщении от Monday 27 April 2020 16:25:36 - - написал(а): > Hello, > > I would like to use an old webcam for webrtc with firefox. My Firefox > (86.6.0esr, latest on CentOS 7) aborts before playing the webcam. As far as I > know, firefox uses ffmpeg for video playback. So I kindly ask

[Libav-user] Upd: Re: Fwd: Re: [Cin] Hang on trimming audio tracks?

2020-06-15 Thread Andrew Randrianasulu
-- Пересланное сообщение -- Тема: Re: [Libav-user] Fwd: Re: [Cin] Hang on trimming audio tracks? Дата: Вторник 09 июня 2020 Отправитель: Andrew Randrianasulu Получатель: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.

Re: [Libav-user] Fwd: Re: [Cin] Hang on trimming audio tracks?

2020-06-07 Thread Andrew Randrianasulu
В сообщении от Sunday 07 June 2020 19:24:50 Carl Eugen Hoyos написал(а): > Am So., 7. Juni 2020 um 11:18 Uhr schrieb Andrew Randrianasulu > : > > > Sorry for forwarding this message > > Please run a bisect to make your message somewhat useful. running it .. so far h

Re: [Libav-user] Fwd: Re: [Cin] Hang on trimming audio tracks?

2020-06-07 Thread Andrew Randrianasulu
В сообщении от Sunday 07 June 2020 23:28:28 Carl Eugen Hoyos написал(а): > Am So., 7. Juni 2020 um 22:16 Uhr schrieb Andrew Randrianasulu > : > > > > В сообщении от Sunday 07 June 2020 19:24:50 Carl Eugen Hoyos написал(а): > > > Am So., 7. Juni 2020 um 11:18 Uhr s

[Libav-user] Fwd: Re: [Cin] Hang on trimming audio tracks?

2020-06-07 Thread Andrew Randrianasulu
thanks to Andrew for this early warning so we can be prepared for it. On Fri, Jun 5, 2020 at 8:45 AM Andrew Randrianasulu wrote: > Hello, I tried to edit simple video in CinGG > > Bascally put video track over music track, taken from two > separate videos, downloaded from Youtube. > >

Re: [Libav-user] Fwd: Re: [Cin] Hang on trimming audio tracks?

2020-06-08 Thread Andrew Randrianasulu
В сообщении от Sunday 07 June 2020 23:28:28 Carl Eugen Hoyos написал(а): > Am So., 7. Juni 2020 um 22:16 Uhr schrieb Andrew Randrianasulu > : > > > > В сообщении от Sunday 07 June 2020 19:24:50 Carl Eugen Hoyos написал(а): > > > Am So., 7. Juni 2020 um 11:18 Uhr s

Re: [Libav-user] Fwd: Re: [Cin] Hang on trimming audio tracks?

2020-06-09 Thread Andrew Randrianasulu
В сообщении от Tuesday 09 June 2020 01:23:55 Carl Eugen Hoyos написал(а): > Am Di., 9. Juni 2020 um 00:14 Uhr schrieb Andrew Randrianasulu > : > > > argh, it turned out at least on my end even > > commit 75384bc464411fb2291105dca84b8bc411188350 (HEAD, tag: n4.2) > >

[Libav-user] Getting field_order in dv demuxer early?

2020-11-14 Thread Andrew Randrianasulu
Hello, all! I was trying to get field order autodetection working in CinelerraGG (our developer sadly died, so I can't ask him anymore ...) I get field_order like this: int FFMPEG::ff_interlace(int stream) { /* reads from demuxer because codec frame not ready */ int interlace =

[Libav-user] AAC decoding warning (still plays fine)

2021-01-30 Thread Andrew Randrianasulu
So, I recompiled mplayer (+ffmpeg git at d43a27ab6fc89b402b5c0d650f0387edf828502b) just because I bumped libdvdred (5.0.3->6.1.0 -> .so bump :} ) It still plays this stream, but I noticed warning: mplayer http://animego.ddns.net:1010/anime.aac -cache 900 MPlayer SVN-r38247-10.0.1 (C)

[Libav-user] Mpeg2video framerates?

2021-06-14 Thread Andrew Randrianasulu
I was trying to simplify some code i do not understand enough (framerate calculations inside our program (*)) For some reason ffmpeg's mpeg2video encoder only one exporting. supported_framerates.. And I was thinking it will restrict itself to fps less than 60 (looking at table) Yet, it seems

Re: [Libav-user] Fill AVFrame from a Cairo surface

2021-08-26 Thread Andrew Randrianasulu
On Thursday, August 26, 2021, Colossus wrote: > On Thu, 26 Aug 2021 at 21:20, Paul B Mahol wrote: > >> send/receive packet/frame works in loops, and you need to follow examples, >> sorry but my free consulting time is over. >> > > Sorry but my software is open source and my problem is to fill >

[Libav-user] under-renamed function name in libwebpenc_common?

2021-09-13 Thread Andrew Randrianasulu
https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/libwebpenc_common.c there is ff_ prefixed 'ff_libwebp_error_to_averror' but down the file it called as just 'libwebp_error_to_averror' and this of course fails to compile with old enough libwebp (I tried ffmpeg 2.8.17 and libwebp

Re: [Libav-user] Difference between libavformat and lavformat

2021-07-24 Thread Andrew Randrianasulu
On Saturday, July 24, 2021, Marco Antonio wrote: > Hi devs, I have a question. > > When using pkg-config cflags to find the path for libavformat headers, it > comes with the usual path (/usr/include/ffmpeg), but it also points to a > -lavformat. > for me it returns only includes: $ pkg-config

[Libav-user] 'nb_index_entries' in 'AVStream' gone in ffmpeg 5

2022-04-01 Thread Andrew Randrianasulu
Hello! I try to make our software (Cinelerra-gg, non-linear video editor [0]) compile-able with latest ffmpeg, right now I down to 7 errors: ffmpeg.C:726:11: error: no member named 'nb_index_entries' in 'AVStream' if( st->nb_index_entries > 0 ) tstmp = st->index_entries[0].timestamp; ~~ ^

[Libav-user] 'nb_index_entries' in 'AVStream' gone in ffmpeg 5

2022-04-02 Thread Andrew Randrianasulu
ome. The Freelance who "fixed" bluray for ffmpeg > 4.4 got Covid and never heard back from him which is unfortunate because he > had some experience with ffmpeg. > > On Fri, Apr 1, 2022 at 2:02 PM Andrew Randrianasulu via Cin < > c...@lists.cinelerra-gg.org> wrote: > >&

[Libav-user] android_camera build breakage?

2023-10-25 Thread Andrew Randrianasulu
libavdevice/android_camera.c:651:56: error: no member named 'side_data' in 'struct AVCodecParameters' 651 | side_data = av_packet_side_data_new(>codecpar->side_data, | ^ libavdevice/android_camera.c:652:56: error: no member

[Libav-user] libcamera_android build fix?

2023-10-25 Thread Andrew Randrianasulu
diff --git a/libavdevice/android_camera.c b/libavdevice/android_camera.c index 602b59047d..c981985f10 100644 --- a/libavdevice/android_camera.c +++ b/libavdevice/android_camera.c @@ -648,8 +648,8 @@ static int add_display_matrix(AVFormatContext *avctx, AVStream *st)

[Libav-user] "Remove obsolete MMX(EXT) functions”

2022-06-23 Thread Andrew Randrianasulu
I disagree with this way of making old hardware even slower. Guess I can always compile git snapshot or revert those, but aren't changes like this better to be done after branching, at very minimum? PS: I found this view more in line with my values http://viznut.fi/texts-en/permacomputing.html

Re: [Libav-user] hot-swapping filtergraph?

2022-06-20 Thread Andrew Randrianasulu
пн, 20 июн. 2022 г., 09:00 Cameron Jacobson : > First, I just wanted to thank you for this library. I've used it for its > built-in command-line tools in the past, but this time I'm exploring > deeper. The motivation for this side-project is strictly out of curiosity > and in trying to build a

[Libav-user] B0 defined on termux and break ffmpeg

2022-07-23 Thread Andrew Randrianasulu
I try to build ffmpeg as part of cinelerra-gg videoeditor, and because I also build inside termux/arm on Android I run into problem at least starting from ffmpeg-4.4 For some reason B0 defined in system headers and leaks into libavcodec. I unconditionally undef'ed it in 3 files (see attached

Re: [Libav-user] B0 defined on termux and break ffmpeg

2022-07-23 Thread Andrew Randrianasulu
вс, 24 июл. 2022 г., 00:33 Nicolas George : > Hi. > > Andrew Randrianasulu (12022-07-24): > > I try to build ffmpeg as part of cinelerra-gg videoeditor, and because I > > also build inside termux/arm on Android I run into problem at least > > starting from ffmpeg-4.4

[Libav-user] Question about wrapped_avframe

2022-07-27 Thread Andrew Randrianasulu
Our software (cinelerra-gg) uses array of pixelformats from libavcodec encoders for presenting user with menu to choose from yuv4mpeg encoder does not have this array populated so menu basically useless ... I tried to make this patch ~ $ cat

Re: [Libav-user] B0 defined on termux and break ffmpeg

2022-07-24 Thread Andrew Randrianasulu
вс, 24 июл. 2022 г., 15:17 Nicolas George : > Andrew Randrianasulu (12022-07-24): > > /data/data/com.termux/files/usr/include/asm-generic/termbits.h:118:12: > > note: expanded from macro 'B0' > > #define B0 000 ^ > > This is strange: B0 is indeed a constant that sh

Re: [Libav-user] B0 defined on termux and break ffmpeg

2022-07-24 Thread Andrew Randrianasulu
вс, 24 июл. 2022 г., 20:58 Andrew Randrianasulu : > > > вс, 24 июл. 2022 г., 15:17 Nicolas George : > >> Andrew Randrianasulu (12022-07-24): >> > /data/data/com.termux/files/usr/include/asm-generic/termbits.h:118:12: >> > note: expanded fro

Re: [Libav-user] B0 defined on termux and break ffmpeg

2022-07-24 Thread Andrew Randrianasulu
вс, 24 июл. 2022 г., 21:32 Andrew Randrianasulu : > > > вс, 24 июл. 2022 г., 20:58 Andrew Randrianasulu : > >> >> >> вс, 24 июл. 2022 г., 15:17 Nicolas George : >> >>> Andrew Randrianasulu (12022-07-24): >>> > /data/data/com.termux/fi

Re: [Libav-user] Multithread decode and scaler

2022-08-24 Thread Andrew Randrianasulu
чт, 25 авг. 2022 г., 06:16 wolverin via Libav-user : > The only advice I can give you at this point is to examine how ffmpeg > itself does and see how your program differs. > > > But I do not know where to look in ffmpeg, the source text of it is very > confusing and there are few examples > > >

Re: [Libav-user] Creating Panned MP3 Clips

2022-12-31 Thread Andrew Randrianasulu
вс, 1 янв. 2023 г., 09:10 Terry Corbet : > I have recently discovered how to use the Audacity Envelope Tool to turn > a standard stereo MP3 file into a modified one in which throughout the > entire duration of the clip the apparent source of the sounds will > traverse from left to right. may be

Re: [Libav-user] Creating Panned MP3 Clips

2023-01-01 Thread Andrew Randrianasulu
On Sun, Jan 1, 2023 at 12:57 PM Paul B Mahol wrote: > > > On Sun, Jan 1, 2023 at 7:36 AM Andrew Randrianasulu < > randrianas...@gmail.com> wrote: > >> >> >> вс, 1 янв. 2023 г., 09:10 Terry Corbet : >> >>> I have recently discovered how to

[Libav-user] bitstream filtering

2022-11-21 Thread Andrew Randrianasulu
Hello! Our software (cinelerra-gg) had some code for using bitstream filtering at muxing stage, but it was not functional (crashes) I tried to use this code as example https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/tee.c and added initialization (av_bsf_init()) now simple filters

Re: [Libav-user] hello world

2023-02-12 Thread Andrew Randrianasulu
вс, 12 февр. 2023 г., 23:19 mr N : > Hi, i try to learn how to use ffmpeg with c++ i need a c++ example of how > to record and save a video or audio using ffmpeg > probably not simplest example, but some branches of Cinelerra (written in c++) use ffmpeg/libav*

Re: [Libav-user] lut3d metadata in mov?

2023-05-27 Thread Andrew Randrianasulu
сб, 27 мая 2023 г., 18:02 Paul B Mahol : > > > On Sat, May 27, 2023 at 4:48 PM Andrew Randrianasulu < > randrianas...@gmail.com> wrote: > >> So I was wondering if some kind of 3d lut can be saved in media files >> directly ...and answer seems to be yes? >> &

[Libav-user] lut3d metadata in mov?

2023-05-27 Thread Andrew Randrianasulu
So I was wondering if some kind of 3d lut can be saved in media files directly ...and answer seems to be yes? https://github.com/google/lut3d_utils "A tool for manipulating production metadata, specifically tone map metadata (3D LUT), in MP4 and MOV files. It can be used to inject 3D LUT metadata

[Libav-user] does swscale support rgbf32 conversions?

2023-11-20 Thread Andrew Randrianasulu
I am trying to add fp32 tiff reading via ffmpeg for cinelerra-gg. we have this routine: convert_ctx = sws_getCachedContext(convert_ctx, ip->width, ip->height, pix_fmt, frame->get_w(), frame->get_h(), ofmt, SWS_POINT, NULL, NULL, NULL); if( !convert_ctx ) { fprintf(stderr,

[Libav-user] new channels api in 5.1 and up?

2024-04-08 Thread Andrew Randrianasulu
lder ffmpeg so I am on my own here. Attached two patches against cinelerra-gg git where I tried to make it compile and work. It compiles and partially works, but ac3 encoding is a bust ... From fb56a47b515fc487125d7503767ef4e71a9e017e Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu Date: Sun