"moov atom not found" means the problem is on the wrapper, not on the codec.
Nothing changes if you modify codec parameters.
Regards
Francesco
3 febbraio 2024 23:01, "Joe Button" wrote:
> Hi!
>
> I'm trying to write a ProRes file, specifically ProR
;,err);
err = -6; goto _setc_exit;
}
message is "Error opening codec mpeg2video (Not yet implemented in FFmpeg,
patches welcome)".
The same code works fine using 4.3.1 libraries.
Anyone experieces the same problem ?
regards
Francesco
--
gt;sample_aspect_ratio.num = 1;
pCodecCtx->sample_aspect_ratio.den = 1;
pCodecCtx->rc_buffer_size = 1200;
avcodec_open2(pCodecCtx, pcodec, _option);
There is a setting I forgot ? Someone experienced same error ? Can anyone help ?
regards
--
/***
Hi all,
I have a performance problem regarding image acquisition from a
large number of cameras (they are greater than 100) in a *python* program.
Currently, I use cv2 with a ffmpeg pipeline.
*What I want to do*
I want to do some image processing on those cameras multiple times in a
minute.
s behavior ? How
can I detect effective compressed frame size ?
regards
Francesco
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
}
goto stp_b2mx;
}
smerr = avcodec_receive_packet(pCodecCtx_xd, );
if(smerr<0)
{
if(av_strerror(smerr,str_err,256)==0){ stre.printf("Error returned
from avcodec_receive_packet (%s)",str_err); }
else { stre.printf("Error (%d) returned fro
On 06/11/2017 17.47, Philippe Gorley wrote:
On 2017-11-06 11:40 AM, Francesco, Cuzzocrea wrote:
Hi to all
I found that ffmpeg can decode PRORES, while it seems that avcodec
doesn't.
If I issue:
ffmpeg.exe -i test_prores.mov test.mp4
it convert the mov prores file correctly, whilst using
coding of PRORES frame ?
Regards
--
/***\
*Ing. Francesco Cuzzocrea
* e-mail: france...@bltitalia.com
\***/
___
L
ug
--arch=amd64
but same result. Same result too if I don't specify architecture:
/configure --enable-yasm --enable-gpl --enable-static --disable-debug
May be that libmfx can't be statically linked ?
Regards
Francesco
___
Libav-user mailing
profiles the profile exist with frame size
1440x1080i and 90Mbps. What I'm missing ?
regards
Francesco
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
)
returned from encoded video",str_err); }
else { stre.printf("Error (%d) returned from encoded video",errv); }
}
/***\
*Ing. Francesco Cuzzocrea
*company:BLT Italia srlweb: http://www.bl
dea of what am I doing
wrong?
>Best,
>
>
>
>
>__ Informazioni da ESET NOD32 Antivirus, versione del database
delle firme digitali 9892 (20140604) __
>
>Il messaggio è stato controllato da ESET NOD32 Antivirus.
>
>http://www.nod32.it;>www.nod32.it
>
>
>
>
>
, pkt.data, pkt.size,
pkt.flags_PKT_FLAG_KEY);
}
}
in the loop when I call av_bitstream_filter_filter I receive error -22
(invalid parameter).
The poutb pointer is allocated with size equal to packet size (pkt.size) and
no sps or pps
are inserted.
Where is the mistake ?
/tls_schannel.c:437:25 error: 'SEC_I_CONTEXT_EXPIRED' undeclared
(first use in this function)
How can I solve ?
Regards
/***\
*Ing. Francesco Cuzzocrea
*company:BLT Italia srlweb: http://www.blt.it
*address:via
irst chunk size starts with (hex):
00 02 f0 84
any suggestion or idea ?
Regards
Francesco
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
Hi to all
I am using libavcodec in order to compress in mpeg2 xdcam (4:2:2, long gop).
How can I set the distance, in the GOP, between two anchor frames, (that is the
M parameter of the GOP structure) ?
regards
___
Libav-user mailing list
In latest version of libavcodec library the CODEC_FLAG2_STRICT_GOP flag is not
present. There is an equivalent ? The results is that with the same
settings the GOP now has a size of 10 instead of 12.
regards
Francesco
___
Libav-user mailing list
Libav
Anyone can explain what parameter, in AVCodecContext structure, are
influenced by these settings ?
Used codec is mpeg2.
regards
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
I'm attempting to encode in XDCAM format with closed GOP, fixed GOP size of
12 and GOP
sequence IBBPBBPBBPBB. Changing value of b_frame_strategy in AVCodecContext
the best
result is obtained using the value of 0 (while value of 1 produces only P
frames, and
value of 2 produces non constant GOP
I make a mistake in writing. Parameter pCodecCtx-max_b_frames is equal to 2
not to 8 as I wrote. I added some other settings:
pCodecCtx-intra_dc_precision = 10;
pCodecCtx-rc_max_available_vbv_use = 1;
pCodecCtx-rc_min_vbv_overflow_use = 1;
but nothing changes.
that shoiuld be set ?
regards
Francesco
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
Hi to all
I am using ffmpeg libraries in order to create .vob files and all works fine.
(I use the code in the example muxing.c)
Now I am attempting to set the start timecode in order to simplify
concatenation of two .vob files. That is the idea is to have two .vob
files: one, for example, from
Hi to all
I have written a code for decoding IMX-D10 at 30, 40 and 50 M and works
fine. Attempting to decode XDCAM 4:2:2 at 1920x1080 it seems that only
first frame (I-Frame) is decoded. After this I receive the error
0xbe1b7 from avcodec_decode_video2 routine. Here is the code:
pCodec =
the next
frame. Now i want to encode this frames in h264.
Any suggestion is appreciated.
Thanks,
Francesco Damato
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
the
width = width+1 when calling sws_getContext. Could it be a bug in swscale
since I do no scaling?
Thanks a lot.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
--
Francesco Damato
av_free_packet after calling avcodec_encode_video2()). Thanks very much
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
--
Francesco Damato
___
Libav
.
That's okay, but I'd really like to understand how it works behind the
scenes so I know it works for sure.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
--
Francesco Damato
swr_convert() in this case.
I will be glad to any advice.
Thank you.
WBR,
Andrew Sherepenko
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
--
Francesco Damato
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
--
Francesco Damato
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
,bytesRead);
}
free(video_buf);
return bytesRead;
}
** **
*From:* libav-user-boun...@ffmpeg.org [mailto:
libav-user-boun...@ffmpeg.org] *On Behalf Of *Francesco Damato
*Sent:* Wednesday, October 16, 2013 8:05 PM
*To:* This list is about using libavcodec
-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
--
Francesco Damato
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
and encode
them into h264??
I saw the example decoding_encoding.c that generates a video from dummy
pictures... but how do I replace this part and read and encode my rawvideo
file?
Can you help me, there are other examples or books available?
Thanks!!!
--
Francesco Damato
a padded linesize?
Could anyone tell me how I can eliminate the black border?
Thanks.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
--
Francesco Damato
Hi,
I am an engineering student and i am writing a C program to encode
to mpeg2 video read from file, send it to a stream and then decode
it.
I saw the example decoding_encoding.c that generates a video from
dummy pictures... but how do I replace this part
examples available?
Thanks!!!
Francesco
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
Hi,
I am writing a program to encode to mpeg2 video read from file, send it
to a stream and then decode it.
I saw the example decoding_encoding.c that generates a video from dummy
pictures... but how do I replace this part and read and encode my video?
anyone can help me, there are other
Great Renè, Great ! ! !
I'm interested.
Thanks
At 18.43 20/02/2013 +0100, you wrote:
Hello
FYI
More or less as a result of the discussion about the ff_log2_tab multiply
defined issue, I started toying with the possibility to pull in all members
of static archives ... and ended up creating an
At 17.59 18/01/2013 +, you wrote:
francesco@... writes:
I update my project from ffmpeg libavcodec library
version 0.7.11 to the 1.0 one. In this last the flags
CODEC_FLAG2_INTRA_VLC and CODEC_FLAG2_NON_LINEAR_QUANT
are deprecated and not defined at all. When I compress
in mpeg2 4
Hi to all
I am using last release of ffmpeg libraries (mainly libavcodec) in orde to
compress im MPEG2 format D10 IMX 50, and I found that
these two flags are set at zero in the output stream, while using old
version of libavcodec libraries both was set. I set the flag:
pQTCodecCtx-flags |=
Hi to all
I am compressing in MPEG2 4:2:2 format long GOP (gop_size=11) and closed GOP.
I noted that each time that avcodec_encode_video returns a value different
from zero (always 25 when bit_rate is 5000) in the data there are
more than one picture header (identified by mark 00 00 01
At 10.50 26/06/2012 +, you wrote:
francesco@... writes:
Did anyone compress in MPEG2 using CODEC_FLAG_CLOSED_GOP ?
It works ? If I set this flag the avcodec_open2 function returns -1.
Wasn't an error shown explaining the reason?
Carl Eugen
Hi to all
I am attempting to encode in MPEG2 XDCAM long gop 50Mbit using libavcodec,
but I think that some settings are wrong and I can't setup values correctly.
Here is the code that generates first 20 blocks of data in separate files:
/* find the video encoder */
pcodec_xd =
Hi to all
I am attempting to transcode compressed SD video in JP2K format to MPEG-2
compressed video at 30, 40 and 50Mbit
using libavcodec only for compressing. Here is the code:
pQTcodec = avcodec_find_encoder(CODEC_ID_MPEG2VIDEO); // find the mpeg2
video encoder
if (!pQTcodec) {str1=Unable
How can I set It ? In the examples included I didn't find this.
best regards
At 09.09 03/04/2012 +0200, you wrote:
2012/4/3 france...@bltitalia.com
Hi to all
I am attempting to transcode compressed SD video in JP2K format to MPEG-2
compressed video at 30, 40 and 50Mbit
using libavcodec
I set the pts and the pkt_pts but nothing changes. Keep account that I
have only I-Frames.
best regards
At 09.33 03/04/2012 +0200, you wrote:
How can I set It ? In the examples included I didn't find this.
best regards
At 09.09 03/04/2012 +0200, you wrote:
2012/4/3 france...@bltitalia.com
Hi to all
examinig mpeg2 stream I saw that some files have user text. Usually the
header is the
00 00 01 B2 user text, 37 char
typical is the export in AVID IMX 50 from Quicktime. There is a way to
include text using libavcodec ? I experimented that setting the
CODEC_FLAG_SVCD_SCAN_OFFSET in
Hi to all
how can I set the Intra_vlc_format ? The flag
CODEC_FLAG2_INTRA_VLC is deprecated and in the 7.1 version is
not supported. (The program after updating libavcodec library gives
error in compiling).
In the deprecaed flag list is written Use MPEG-2 intra VLC table. .
How can I set it ?
Hi to all
how can I set the presence of intra quantizer matrix in the output
data during encoding with avcodec_encode_video ?
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
At 19.04 15/03/2012 +0200, you wrote:
On Mar 15, 2012 12:33 PM, france...@bltitalia.com wrote:
Hi to all
have anyone attempted to encode in 4:3 format ? I can't do. If I
set:
AVRational vform;
codec = avcodec_find_encoder(CODEC_ID_MPEG2VIDEO);
if (!codec) { Memo1-Lines-Add(Unable to
Hi to all
have anyone attempted to encode in 4:3 format ? I can't do. If I
set:
AVRational vform;
codec = avcodec_find_encoder(CODEC_ID_MPEG2VIDEO);
if (!codec) { Memo1-Lines-Add(Unable to find codec ); goto
_Encod1Frame_err;}
pCodecCtx = avcodec_alloc_context3(codec);
Hi to all
I am attempting to convert in mpeg2 with a bitrate of 30Mbit/sec and with a
50Mbit/sec but it seems that the bit rate variation doesn't work.
Here is my routine that gets as input a buffer with my originary coded frame
(not interlaced),
decompress and interlace it and recompress using
Hi to all
i have the subsequent problem. I wrote my own URLProtocol routines as in
the subsequent:
unsigned char InputCompressed[0x40]; // 4M buffer
unsigned long bufPnt, fileSize;
int myReadFunction (URLContext *h, uint8_t *buf, int buf_size)
{
if(((bufPnt + buf_size)
Hi to all
I'm attempting to encode in PIX_FMT_YUYV422 using libavcodec.
It's not clear to me the format of input raw data. I understood that
all pixel should be in 16 Bit format, but in buffer, how should be inserted
data ? That is, if locpFrame is a pointer to an AVFrame, I should insert;
works well for the first frame, in the second frame the
function av_probe_input_format fails. Any idea ?
best regards
/***\
*ing. Francesco Cuzzocrea
*company:BLT Italia srlweb: http://www.blt.it
*address
At 17.51 09/01/2012 +0100, you wrote:
Hi to all
I can't decode a field because avcodec_decode_video2 returns 0 in the third
parameter either if the stream is correct (i displayed it with other
programs). Here is the code:
pCodec=avcodec_find_decoder(pCodecCtx-codec_id);
if(pCodec==NULL) {
Psygnosis YOP Format
DE yuv4mpegpipeYUV4MPEG pipe format
/***\
*ing. Francesco Cuzzocrea
*company:BLT Italia srlweb: http://www.blt.it
*address:via Rosselli, 91 city: Lido di CAMAIORE
*country
56 matches
Mail list logo