:
av_opt_set_int(ist-dec_ctx, refcounted_frames, 1, 0);
Is the encoding/decoding example flawed? Should it be passing c instead of
c-priv_data to av_opt_set()?
Thanks,
Michael Bradshaw
[1]: https://www.ffmpeg.org/doxygen/trunk/decoding_encoding_8c-example.html
On Sat, Nov 17, 2012 at 3:41 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
Michael Bradshaw mjbshaw@... writes:
I've got a series of images taken with a camera that
I need to process with libav*. Is there any way to check
the EXIF data to determine rotation/orientation for the
image (so
On Tue, Oct 30, 2012 at 8:10 PM, lingshan kong konglings...@duoku.com wrote:
hi
I need some help with decoding AAC stream of audio.
What version of FFmpeg libraries are you using? There are some old
functions you're using (like avcodec_open()). Also, try following the
Audio Decoding (starts at
I have a weird issue that I'm trying to figure out, and I'm not sure
if I'm doing something wrong or if it's a bug in FFmpeg's code, and
I'm hoping someone can help me determine which.
If I demux a file by simply repeatedly calling av_read_frame(), I get
the same output packets as ffprobe
I'm using avfilter to rescale video (and convert it to the right pixel
format) and convert audio (to the right sample format, sample rate,
and channel_layout) (I'm also buffering audio using asetnsamples to
fill frames with a consistent number of samples). While reading the
source video and source
On Tue, Oct 23, 2012 at 2:38 PM, Stefano Sabatini stefa...@gmail.com wrote:
On date Tuesday 2012-10-23 13:03:27 -0600, Michael Bradshaw encoded:
I'm using avfilter to rescale video (and convert it to the right pixel
format) and convert audio (to the right sample format, sample rate
On Sun, Oct 21, 2012 at 2:24 AM, Svetlana Olonetsky
svetlana.olonet...@gmail.com wrote:
Hi,
I am reading video files using ffmpeg in C++.
I have some videos from users with multiple video streams.
For example, running ffmpeg directly gives stream info:
Stream #0:0: Video: mjpeg, yuvj420p,
I'm just wondering more about what swr_set_compensation() does. I'm
not fully understanding the docs about it and the ffplay code isn't
incredibly clear to me. Can I use it to skip the first few samples of
input audio (that is, say my source has samples 0-100, and my output
wants samples 20-120,
On Tue, Oct 16, 2012 at 9:33 PM, Don Moir donm...@comcast.net wrote:
Also just don't use AV_SEEK_BYTE because you will end up with logic that is
worse. Most things like this lend themselves to timestamps anyway. But agree
there were several cases in the past that a seek returned 0 instead of -1
On Oct 16, 2012 2:11 AM, Quy Pham Sy phamsyqu...@gmail.com wrote:
Hi,
I made a simple console test base on Dranger 's tutorial code by
replace deprecated function by the new versions.
here the full source code:
https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial01.c
On Tue, Oct 16, 2012 at 12:56 PM, Denis i...@denisgottardello.it wrote:
In data lunedì 15 ottobre 2012 16:00:02, Stefano Sabatini ha scritto:
decoding_encoding.c only works with stream-based formats, and is only
meant to show encoding/decoding API rather than muxing, so in general
it won't
I'm trying to reliably seek to the very start of a file. Seeing as
avformat_seek_file is still in beta and isn't finished, I'd rather
not rely on it, so I'm using av_seek_frame (plus I've been advised to
stay away from avformat_seek_file until it's properly implemented).
However, I can't figure
On Tue, Oct 16, 2012 at 6:06 PM, Quy Pham Sy phamsyqu...@gmail.com wrote:
Hi,
[...]
What is wrong with these code that might cause the leak?
Thanks,
Jack
Is this an accidental repost?
___
Libav-user mailing list
Libav-user@ffmpeg.org
On Thu, Oct 11, 2012 at 4:06 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
Michael Bradshaw mbradshaw@... writes:
I've just been hunting down a bug in one of our programs, and I
tracked it down to the number of channels reported by ffmpeg. When I
first open the AVFormatContext and do
On Wed, Oct 10, 2012 at 11:34 AM, Matthew Lawrence
matthew.c.lawre...@gmail.com wrote:
[...]
What steps can I take (other than hiring a lawyer) to assert my rights?
Pretty much nothing. You can ask for it all you want, and they can say
no all they want. IANAL, so I've no clue who's in the
On Wed, Oct 10, 2012 at 5:33 PM, Michael Bradshaw
mbrads...@sorensonmedia.com wrote:
On Wed, Oct 10, 2012 at 11:34 AM, Matthew Lawrence
matthew.c.lawre...@gmail.com wrote:
[...]
What steps can I take (other than hiring a lawyer) to assert my rights?
Pretty much nothing. You can ask
On Thu, Sep 6, 2012 at 3:31 PM, Rafael do Nascimento Pereira
r...@25ghz.net wrote:
[...]
The BMP image is shown correctly. I really don't know if i made some
mistake in this proccess,
or this is the way the ffmpeg library actually works.
It's the way BMP files work. They're stored upside
On Thu, Aug 16, 2012 at 1:26 PM, Jorge Fonseca jcbfons...@gmail.com wrote:
Hi All,
I have a C program using FFmpeg API that:
- load bmp files and create a video file.
Its works correctly.
-
Now, i need to create the same video from a RAW data (char array).
I allocating a
On Sun, Aug 5, 2012 at 5:51 AM, Don Moir donm...@comcast.net wrote:
I see this has been reported as ticket #1575 but why this is reported as an
enhancement and not a bug, god only knows.
This should not be a documentation issue and in my way of thinking, its a
bug. We don't need gray areas
On Aug 4, 2012 6:11 AM, Christian Brümmer christian.bruem...@gmx.de
wrote:
Hi,
i am using FFmpeg for H264 Decoding on an Android Device.
Out of curiosity, is there a reason you aren't using Android's native
decoder? It may be more optimized for the device than FFmpeg too. Sorry I
don't know
On Thu, Aug 2, 2012 at 9:33 AM, gilles pouliquen gil...@solidanim.comwrote:
But yeah I would definitly love to see the ffmbc anyway fork but I can't
find the source code :( ...
You mean you can't find the FFmbc source? http://code.google.com/p/ffmbc/
--Michael
On Thu, Aug 2, 2012 at 12:10 PM, Roger Pack rogerdpa...@gmail.com wrote:
Could you provide a sample that does not seek to a keyframe with
ffmpeg -ss x -i input out.png
(I tested this yesterday on random mpeg2video samples and afaict,
it did work.)
With me, I get this:
with this file:
On Wed, Aug 1, 2012 at 9:27 AM, aviad rozenhek avia...@gmail.com wrote:
here's a command line to create a TS file with black frames from nothing
in ffmpeg
ffmpeg -f lavfi -i color=black:320x240:25 out.ts
how do I do the same with avconv?
Wrong mailing list? This is the FFmpeg mailing list.
On Thu, Jul 19, 2012 at 2:01 PM, Michael Bradshaw
mbrads...@sorensonmedia.com wrote:
[...]
I guess we should define what would be considered erroneous seeking
to make sure I'm on the same page as everyone, as it's possible I'm
not. Would these be considered problematic:
1) Seek is performed
On Mon, Jul 23, 2012 at 11:12 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
Michael Bradshaw mbradshaw@... writes:
Anyone have any answers on these two things? If the answer to the
above would be yes can anyone else verify that ffmpeg -dump
-loglevel debug -ss 38 -i 704x480-m2v-ac3.mpg
On Mon, Jul 23, 2012 at 12:50 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
[...]
You are probably right, I assumed that from a users' perspective,
the only relevant question is if above command line returns a gray
frame or the next keyframe.
Ah, I see. I think that's where the confusion is
On Sat, Jul 21, 2012 at 11:14 AM, max slomoff maxslom...@gmail.com wrote:
hello,
i would like to offer a job:
i am looking for a programmer with skills in ffmpeg and sdi video signals
i have 5k to get started
got some free time this summer?
please respond with a little about your background.
On Thu, Jul 19, 2012 at 12:18 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
Michael Bradshaw mbradshaw@... writes:
But when I seek, the first packet returned out of the demuxer is
not a keyframe packet, and I have to read several (~45ish) packets
until I encounter a keyframe.
Could you
On Thu, Jul 19, 2012 at 12:42 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote:
[...]
Afair, Reimar believes the seek function should not try hard to find
a keyframe because seeking faster is more important.
I think the current functionality is OK, provided it's documented
well. Though to be honest
On Thu, Jul 19, 2012 at 1:54 PM, Hendrik Leppkes h.lepp...@gmail.com wrote:
[...]
If you want to do accurate seeks with only avformat, you have to add a lot
of boilerplate on top of it right now - or if you want to do accurate seeks
even with ffmpeg. Sure, if you tell it to seek, it'll output
On Mon, Jul 16, 2012 at 10:15 AM, Alexandre Millette
amill...@matrox.com wrote:
On a somewhat related note, can the sws_scale behavior that I was seeing be
considered a bug?
Yes. It's either a bug in your code or in sws_scale. The fact that
ffmpeg doesn't reproduce it makes me lean towards it
On Tue, Jun 26, 2012 at 1:11 PM, Simon Daniels simondaniel...@gmail.com wrote:
Hi Michael -- after reading into things a bit more, I agree that it's risky
what I'm doing. However, I only need about 3 frames per second so maybe
waiting for a key frame isn't the end of the world...
Is there a
On Wed, Jun 27, 2012 at 3:37 AM, Michael Niedermayer michae...@gmx.at wrote:
On Tue, Jun 26, 2012 at 03:38:47PM -0600, Michael Bradshaw wrote:
On Tue, Jun 26, 2012 at 2:16 PM, Michael Bradshaw
mbrads...@sorensonmedia.com wrote:
Hi,
I'm encoding an AMR-NB stream, and I see that the libopen
On Wed, Jun 27, 2012 at 5:58 PM, Tim Pitman tapitma...@gmail.com wrote:
Alrighty,
I was relying on the return value from avcodec_decode_video2.
Basically I assumed that if it was 0 then the picture was valid.
However, I was curious about what got_picture was for so if changed:
if (ret 0)
On Wed, Jun 27, 2012 at 6:26 PM, Tim Pitman tapitma...@gmail.com wrote:
Interesting. However, I'm using x264 with --intra-refresh and --tune
zerolatency (no b frames).
Sorry, I missed that part.
___
Libav-user mailing list
Libav-user@ffmpeg.org
On Tue, Jun 26, 2012 at 12:34 PM, Simon Daniels
simondaniel...@gmail.com wrote:
// Is this a packet from the video stream?
if (packet.stream_index == videoStreamIndex frameLocation++ % frameSkip
== 0)
{
// Decode video frame
avcodec_decode_video2(pCodecCtx, pFrameYUV, isFrameFinished,
On Tue, Jun 26, 2012 at 2:16 PM, Michael Bradshaw
mbrads...@sorensonmedia.com wrote:
Hi,
I'm encoding an AMR-NB stream, and I see that the libopen-core-amrnb
encoder has the CODEC_CAP_DELAY capability set. If I call
avcodec_encode_audio2() with a NULL frame (like the docs say to when
On Fri, Jun 22, 2012 at 2:02 PM, Jeremy Graham jgra...@cs.unc.edu wrote:
In either case, I was actually interested in decoding frames as they appear
in the network socket so that I can get the images from the camera to do
some real-time processing. With that in mind, would you happen to have
On Tue, Jun 12, 2012 at 8:12 PM, Michael Niedermayer michae...@gmx.at wrote:
On Tue, Jun 12, 2012 at 11:44:03AM -0600, Michael Bradshaw wrote:
avformat_find_stream_info() attempts to find the file's and streams'
durations, but it will guess them based on the bitrate if it can't
determine
As long as you comply with the LGPL, you can sell your program. See the
License page on ffmpeg.org for more information.
You should be aware, however, that depending on how you configure ffmpeg,
you may have to use the GPL. Be sure to not --enable-gpl when configuring
ffmpeg.
Also be aware that
On Thu, May 24, 2012 at 10:21 PM, Kalileo kali...@universalx.net wrote:
On May 25, 2012, at 04:35 , Michael Bradshaw wrote:
On Thu, May 24, 2012 at 2:05 PM, Andrey Utkin
andrey.krieger.ut...@gmail.com wrote:
Is there a particular reason FFmpeg streams so slowly?
Coz while you decode, you
I've written a plugin for a program that uses FFmpeg to read and
decode a video file, and then passes the decoded frames to an encoder
(not FFmpeg) that consumes them. A big motivation for this plugin is
FFmpeg's ability to stream videos over HTTP. However, I've found this
to be incredibly slow,
On Thu, May 24, 2012 at 2:05 PM, Andrey Utkin
andrey.krieger.ut...@gmail.com wrote:
Is there a particular reason FFmpeg streams so slowly?
Coz while you decode, you don't fetch, and while you fetch, you don't
decode. That's what switching overhead and lack of parallelism in your app
result
On Thu, May 17, 2012 at 5:43 AM, Dnegel X. dnegel...@gmail.com wrote:
However, the decoded frameYUV-data is of type uint8_t, and I would
expect
to get something able to store 10bit values like a uint16_t. So, what is
returned in this 8bit array in this case? How can I proceed to get the
On May 16, 2012, at 11:44 , Wagner Patriota wrote:
I can't compile the last version of FFMPEG with libx264... it says:
ERROR: libx264 version must be = 0.118.
I have the latest version from the libx264 website...
Make sure you've built and installed libx264 correctly. I don't think
the
On Thu, May 3, 2012 at 1:39 PM, Wagner Patriota
wagner.patri...@gmail.com wrote:
Hey guys, sorry... but it's VERY VERY simple... I did it in about 10 or 15
minutes after I figured out how URLProtocol works...
I just rewrote the URLProtocol... that's it... I created a new one, based on
file.c
On Sat, Apr 14, 2012 at 10:40 AM, Lucas Soltic soltic.lu...@gmail.comwrote:
So I don't think I did anything fancy, but I still can't find out why the
video seeking is inaccurate. I would be really grateful if someone had
ideas about this issue.
There's two reasons I can see why you would be
I have a couple questions regarding seeking and timestamps.
1) If seeking in a video is a possible,
will avformat_seek_file(formatContext, -1, 0, timestamp, timestamp, 0) ever
fail? If this does fail and seeking is still possible, what can be done to
seek?
2) If I call
48 matches
Mail list logo