Hello,
I'm trying to figure out how hardware video decoding works on MacOS, but I
could not get the example program (doc/examples/hw_decode.c) to work. When
I run it with any video file, it complains "Failed to get HW surface
format". The full output is uploaded here: https://pastebin.com/Tz1VkYgq
ase )
where "video_timebase" is the timebase of the video PTS values and
"us_timebase" is the microsecond timebase: num = 1, den = 100.
- Richard Hussong
>
> In data lunedì 21 agosto 2023 11:15:06 CEST, Paul B Mahol ha scritto:
>
> > On Mon, Aug 21, 2023 at
mpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
libav-user-requ...@ffmpeg.org with subject "unsubscribe".
Best Regards,
Richard Lince,
Founder & Managing Director
bluebox.video <https://www.bluebox.video>
+44(0)7841665146
logo__
*---source code attached*
--Reynolds
Best Regards,
Richard Lince,
Founder & Managing Director
bluebox.video <https://www.bluebox.video>
+44(0)7841665146
logo___
Libav-user mailing list
Libav-user@ffmpeg.org
https://ffmpeg.org/mailma
Hi, is the AV out of sync by a constant or does it drift further over time?What information do you have on your timestamps?What format is the audio on the wire for you to have to decode it?On 19 Aug 2022 19:22, Reynolds Kosloskey wrote:
Hello all!
I am working on a hobby project that does
On Wed, Mar 23, 2022 at 2:53 AM Hillel Rosensweig via Libav-user <
libav-user@ffmpeg.org> wrote:
> Hello all,
>
> I am trying to output raw video (from file or device)
> packets to stdin so that they can be picked up by
> another program running on my system.
>
> Any suggestions on how to do this
ve_packet until you get an AVERROR_EOF return.
That will return all the queued packets in the codec.
--
> *Van:* Libav-user namens Richard Hussong <
> rhuss...@westpond.com>
> *Verzonden:* dinsdag 27 april 2021 18:47
> *Aan:* This list is about usi
On Sun, Apr 25, 2021 at 8:15 PM laddoe wrote:
> Hello,
>
> I'm trying to use h264 with intra frame coding, but I can't seem to
> understand why my code isn't fully working. I can see that the first 13
> frames aren't written to the file while all the other frames are. I have
> 120 images that nee
need to call
avcodec_send_frame once more with a NULL frame pointer to put the encoder
in draining mode, then receive as usual. See the ffmpeg docs at
https://ffmpeg.org/doxygen/4.0/group__lavc__encdec.html for further details.
- Richard
> ___
> L
.
When encoding, it is the same, with avcodec_send_frame and
avcodec_receive_packet.
- Richard
On Tue, Sep 8, 2020 at 6:09 AM Jérôme SALAYET
wrote:
> Hello,
>
> I recently want to use the last FFMPEG release version to decode video
> packets. avcodec_decode_video2 is deprecated so I
The interrupt_callback is not an error callback; it is called periodically
during length operations. You need to return 0 from your decode_interrupt()
if you want to continue processing. Otherwise, you get the "immediate exit
requested" error.
- Richard
On Fri, Jul 31, 2020 at 10:42
On Mon, Jun 8, 2020 at 8:16 AM retep peter wrote:
> Hello Richard,
> How can I download ffmpeg 2.8.15 source for Ubuntu developers?
>
You can download the original source package and the Ubuntu patches from
https://packages.ubuntu.com/source/xenial/ffmpeg (look near the bottom of
e
libraries will be installed somewhere, by default /usr/local/lib, I
believe. I don't know for sure if libavutil.so.54 is compatible with
libavutil-ffmpeg.so.54, though it is likely that it is. If so, you may be
able to use LD_PRELOAD to load the libraries you need before running, but I
do
also allowed multiple PLAY commands to
be sent without the PAUSE/PLAY as an optimization option.
Cheers,
Richard.
On 28/05/2020 23:18, Demers, Sebastien wrote:
Hi All,
I'm using ffmpeg to stream from our video server live stream (Genetec Security
Center 5.9.1). It is recording as well th
n_buf(&avContext->pb, &buffer);
if (nbytes > 0) {
// whatever
}
av_free(buffer);
You need to do this little dance for each block of output data you want to
process.
- Richard
> Kind regards
>
> Jesper
>
> ___
> Libav-user ma
Sorry, but I've never modified those values myself and I don't know how
they work. I think you'll have to read the source code for the JPEG encoder
to find out.
- Richard
On Mon, May 18, 2020 at 1:37 PM Виктор Мулин <17se...@gmail.com> wrote:
> Thanks for the an
On Mon, May 18, 2020 at 7:38 AM Виктор Мулин <17se...@gmail.com> wrote:
> Hello! When using the mjpeg codec to convert an image from bmp to jpg
> format, a picture with one quantization table is created. I need two
> standard tables described in the jpeg iso / iec 10918-1 T.81 standard in
> Append
On Sun, May 10, 2020 at 5:16 AM qw wrote:
> Hi,
>
> I have one question about movenc.c:
>
> https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/movenc.h#L116
>
> What does it mean, i.e. 'active picture (w/o VBI) height for D-10/IMX' ?
> And, what is D-10/IMX?
>
VBI stands for "vertical blan
"av_samples_alloc Error!!!");
>
> else {
>
> Ret= swr_convert(pSwrContext, static_cast(&buffer),
> pAVFrame->nb_samples, (const uint8_t**)pAVFrame->data,
> pAVFrame->nb_samples);
>
> if (Ret< 0) emit UpdateLog("swr_convert Error!!!")
On Thu, Apr 30, 2020 at 9:27 AM Denis Gottardello
wrote:
>
>
> Hi, I need to extract audio packets from an rtsp stream and to listen them
> with a Qt program.
>
> The examples are based on avcodec_decode_audio4 function but it is
> deprecated.
>
> Now I already have an audio packet. Now I have to
Excellent Richard you're correct,
Thought I must be missing something here. I've tested with multiple
FFMPEG / Live555 rtsp server implementations with success.
Cheers and keep well.
On 13/04/2020 21:24, Richard Hussong wrote:
On Mon, Apr 13, 2020 at 11:43 AM Paul B Mahol &
On Mon, Apr 13, 2020 at 11:43 AM Paul B Mahol wrote:
> On 4/13/20, Richard Lince wrote:
> > Hi all,
> >
> > I've done a little more digging with a bug which I believe must be quite
> > common, string parsing at "av_url_split" for authentication
55e7-07be-38b7-83a3-fec9072713de"
last commit (however always perhaps broken)
https://github.com/FFmpeg/FFmpeg/commit/554576b6cfe79a91d37e14d3617ca417562085db#diff-b45fad75a4dfb82ef50e978d38dc2649
Cheers.
Rich.
On 08/04/2020 16:42, Richard Lince wrote:
Hi,
I'm looking
Hi,
I'm looking at a way to use a base64 digest string as input into the
"avformat_open_input" call for the credentials portion.
Sure that you would normally use:
rtsp://user:pass@192.168.0.30/live/ch00_0
format as an example, however, this format does not account for invalid
characters that ar
On Mon, Dec 9, 2019 at 12:19 PM Philippe Noël <
philippe_n...@college.harvard.edu> wrote:
> Hi,
>
> What is the most efficient/fastest way to send AVpacket frame data (stored
> in data) through a socket?
>
> I understand that since it is a byte array, I think I would need to
> memcpy + serialize i
give you specific help with timing out, but it isn't
hard to construct a timeout for yourself.
- Richard
>
> ___
> Libav-user mailing list
> Libav-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsub
bly just
pick one of its presets and use that. The accepted answer to this old post
shows how you can do that using av_dict_set():
https://stackoverflow.com/questions/19146587/how-do-you-enable-veryfast-libx264-preset-from-code-using-libavcodec
- Richard
On Tue, Oct 8, 2019 at 1:58 PM Adhuran Adhu
you what went wrong.
- Richard
On Tue, Oct 8, 2019 at 1:22 PM Adhuran Adhuran via Libav-user <
libav-user@ffmpeg.org> wrote:
> Dear All,
>
> I am trying to use ffmpeg source code top encode video streams in linux. I
> used the code provided in this link
> https://ffmpeg.org/do
On Sun, Sep 15, 2019 at 9:17 PM Dorian Green
wrote:
> hello, I am trying to become more adept at using the libav libraries and have
>
> practising them. The problem I am having is that swscale at the bottom of my
>
> code listed here always returns bad src image pointers. this below is the main
>
Ondrej -
If you are in charge of the receiving client, it could receive the
non-seekable stream and re-mux it into a seekable container using ffmpeg or
the libraries. I don't know any other way to accomplish what you want, but
I am not an ffmpeg expert.
- Richard Hussong
On Wed, Sep 18, 20
1, it will have the same value as
AV_PTS_WRAP_ADD_OFFSET, and there will no longer be a proper enumeration.
The code to handle PTS wrap is complicated - I wouldn't mess with it,
myself. Since it is in the libavformat core, it could affect all muxers and
demuxers.
- Richard Hussong
On Wed, May 29,
Hello,
How can an AVFilter determine whether its input is VFR or CFR?
If the input is CFR, how can it get the frame rate in FPS?
I would like to do this in advance of processing any frames, that is,
in init() or config_input().
Please see the implementation below:
static int is_vfr(AVFilterLink *
.
No need, I see the issue.
Attached is the original picture, and the results of supplying 1-byte
aligned and 16-byte aligned YUV to avcodec_encode_video2().
On Feb 17, 2017, at 5:02 PM, Richard Kern wrote:
On February 17, 2017 at 4:53:03 PM, Steve Green (steve.gr...@flosports.tv)
wrote
On February 17, 2017 at 4:53:03 PM, Steve Green (steve.gr...@flosports.tv)
wrote:
This is the basic pipeline that I have:
BGRA frames -> sws_scale() -> YUV frames -> avcodec_encode_video2() ->
av_interleaved_write_frame()
.. and this works perfectly with x264 and most of the time with
h264_video
On February 17, 2017 at 4:18:38 PM, Steve Green (steve.gr...@flosports.tv)
wrote:
While trying to debug a problem using YUV420P with h264_videotoolbox, I
came across AV_PIX_FMT_VIDEOTOOLBOX in the encoder code. Depending on what
I discover here, I might be back in another thread about a YUV issue.
On January 29, 2017 at 2:25:25 PM, films (postsoup-at-yahoo@ffmpeg.org)
wrote:
Hi Folks.
I am trying to write .mp4 files with H.264 and AAC from generated images
and audio. My app is linked to libAVFormat, libAVCodec etc plus some
necessary OSX frameworks
If I let libAVFormat select the code
found why it didn't work for me - I seem to have been running
the wrong binary, not the one I was compiling.
Richard
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
dacity to use new
gstreamer plug-ins, and every download of Audacity doesn't have to ship
with every possible codec library.
Richard
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
brary.
And the examples provided in the code seem to suggest that i can use filters
programmatically, as opposed to just on the command line.
I guess I need a better guide on the ins and outs of doing that.
Thanks.
Richard
On Mar 27, 2013, at 5:22 AM, Paul B Mahol wrote:
> On 3/26/13, Richar
I think I'm passing all the right parameters to avfilter_graph_create_filter,
but I still get a return value of -22, which seems to indicate a parameter
problem. I'm missing some detail here….
Can anyone tell me what's wrong with the call to avfilter_graph_create_filter
in the function below?
inputs->name = av_strdup("out");
inputs->filter_ctx = buffersink_ctx;
inputs->pad_idx = 0;
inputs->next = NULL;
Thank you in advance.
Cheers,
Richard Schilling___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
re
chock-full of metadata and can always be ignored by the caller if
they're really not interested.
I'd be very grateful for any information on this subject as it's
incredibly difficult to pass these packets back via any other route and
re-sync them with the other packets.
On 24/07/12 16:28, Nicolas George wrote:
Multi-pass encoding is designed to achieve a certain average bitrate, and
manage it over the whole file to give more bits to the parts that need more.
The -q option sets the quantizer value (which, for any given frame, is
directly related to the quality l
?
[This also occurs with divverent's encoding branch mplayer2.
Additionally when I try to do 2-pass CBR encoding with ffmpeg, I get a
segfault as pict_type is a huge number when it is meant to be 1<4 for
the index of an array.]
Richard
==
1st pass stdout:
ffmpeg version N-42847-gdc
g on this bug. But first of all, I would like
to know if anyone else has solved it or made progress on it?
Richard
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
45 matches
Mail list logo