Re: [Libav-user] Sunba H264 camera

2016-11-30 Thread Andrey Utkin
On Tue, Nov 29, 2016 at 09:35:35PM -0800, Len Day wrote: > There's a call to avformat_write_header later which seg faults. BTW, I > think based on what I see with wireshark it is not actually missing the > packets it reports as missing. > > I'm using a build from source of ffmpeg-3.1.1.tar.bz2

[Libav-user] [JOB] CCTV system developer

2016-05-21 Thread Andrey Utkin
Bluecherry LLC (USA) is looking for hiring software developer, especially the one familiar with FFmpeg libraries, for part-time job. For your curiosity, company sites are: http://www.bluecherrydvr.com/ http://bluecherry.net/ You can check what the system is like by installing it following this

Re: [Libav-user] scaling an img

2016-05-04 Thread Andrey Utkin
On Wed, May 04, 2016 at 10:39:58AM +, JULIAN GARDNER wrote: > I have tried to use the scaler to take a 8bpp CLUT image and resize this but > i get an error saying its not supported. > How do you think i should go about resizing a CLUT based image? > Will the libraries allow > 8bit CLUT - >

Re: [Libav-user] resampling audio and then encoding

2016-04-28 Thread Andrey Utkin
On Thu, Apr 28, 2016 at 02:09:21PM +, JULIAN GARDNER wrote: > Ok added the code from filtering_audio.c to create a filterchain, changed my > code to take the decoded frames and push into the filter. > filt_frame is returned and this is pushed into the avcodec_encode_audio2 and > guess what

Re: [Libav-user] resampling audio and then encoding

2016-04-28 Thread Andrey Utkin
On Thu, Apr 28, 2016 at 01:00:37PM +, JULIAN GARDNER wrote: > So my question is do I have to split the input to be the correct size or am i > missing something in the audio encoding setup to allow it to do the buffering > correctly? Apparently yes. I believe libavfilter API can do both

Re: [Libav-user] how to set filter's name in filter graph

2016-04-28 Thread Andrey Utkin
On Thu, Apr 28, 2016 at 04:54:27PM +0800, qw wrote: > Hi, > > I define the following filter graph: > > setpts=PTS-STARTPTS, fps=fps=20.00, scale=500:280; > drawtext="fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf: > text='Test Text'" > And avfilter_graph_parse_ptr(), and

Re: [Libav-user] Muxing sparse media streams

2016-04-26 Thread Andrey Utkin
On Thu, Apr 21, 2016 at 06:47:10PM +0300, Anton Yabchinskiy wrote: > Any advice is appreciated. When I had to handle IPTV streams which could have gaps, I used to pass audio to asyncts filter [1] in a mode which fills gaps, and video to fps filter [2] to make constant frame rate video from

[Libav-user] Looking for engine to render a lot of 2d canvas/overlays

2015-11-24 Thread Andrey Utkin
Hi, My project needs some handy interface to manage a lot of overlaid objects (text, picture, etc.) which can move continuously. Generating complex_filter specifications worked to some degree, but with the growth of complexity (tens of objects having their motion trajectories) there's a need of

Re: [Libav-user] FFMPEG: undefined reference to `avcodec_register_all' does not link

2014-07-07 Thread Andrey Utkin
Try linking also against libavformat and libavutil at last (maybe more - try linking with all generated libs to be safe). Also try different orders of -l options. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org

Re: [Libav-user] no picture from decoding single h264 keyframe

2014-04-03 Thread Andrey Utkin
is the kind of frame which gives such situation (packet is marked as keyframe, but decoding doesn't give a picture). -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] no picture from decoding single h264 keyframe

2014-04-03 Thread Andrey Utkin
: P (2) -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Remuxing video file

2014-02-03 Thread Andrey Utkin
tool? What ffprobe shows for output file? -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] How to send RTMP / AMF data with libavformat

2014-01-31 Thread Andrey Utkin
documented and/or conventional for RTMP protocol. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Song Duration

2013-12-11 Thread Andrey Utkin
2013/12/11 Yamusani Vinay yamusanivi...@gmail.com: Hi All, How to get duration of song in milliseconds.Is there any method available to get meta data of song. AFAIR AVFormatContext.duration. -- Andrey Utkin ___ Libav-user mailing list Libav-user

Re: [Libav-user] Saving a range of frames from a network camera (RTSP) to a mp4 file

2013-12-11 Thread Andrey Utkin
It would be easier to check if you make up a minimal but complete application that reproduces issue in stable way, and a sample source file or URL. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo

Re: [Libav-user] Live video stream playback is too fast

2013-12-05 Thread Andrey Utkin
minimal code snippet to reproduce the problem, helping would be easier. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] [FFmpeg-user] ffmpeg burst traffic problem

2013-12-05 Thread Andrey Utkin
. you could do ffmpeg (...options...) -f mpegts - | pv -L $BITRATE | socat (...options...) -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Multithreaded decoding of multi-program transport streams

2013-12-03 Thread Andrey Utkin
inside of libavcodec. Used nearly the only thing - opening new AVCodecContext. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] RTSP Pause: Times out

2013-09-03 Thread Andrey Utkin
to the server and therefore the connection times out and I lose the stream. How can I keep the connection alive? Maybe check the source code of RTSP-related code and try to fix it. Previously check that your assumption about the reason is right. -- Andrey Utkin

Re: [Libav-user] How to feed data to libav from ethernet streams with videoaudio threads

2013-08-16 Thread Andrey Utkin
problem, and compiles on linux (because the majority of developers doesn't use Visual Studio). -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] How to feed data to libav from ethernet streams with videoaudio threads

2013-08-15 Thread Andrey Utkin
***.avi which consists of video and audio threads. See avformat_new_stream(). Call it for each elementary stream you have, on the output file context. The rest depends on whether you transcode data or remux it (i.e. just copy AVPackets you got). -- Andrey Utkin

Re: [Libav-user] is possible to hack av_write_trailer to write moov atom at the beginning?

2013-07-11 Thread Andrey Utkin
Maybe you want to use quickstart option of mp4 muxer. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Memory leaks

2013-06-17 Thread Andrey Utkin
2013/6/17 ... ... bersa...@hotmail.fr: Are they known bugs ? No. How could I solve it ? Learn ffmpeg API, look at different examples of usage, debug reduced code cases. Good luck. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] mp3 decoding with ffmpeg

2013-06-17 Thread Andrey Utkin
recording. Check your original sample rate and the one used by your player. I'd suggest you producing a file in a media container, which holds such metadata as sample rate, channels number etc., this avoids such problems. You may produce formatted media files using libavformat. -- Andrey Utkin

Re: [Libav-user] mp3 decoding with ffmpeg

2013-06-17 Thread Andrey Utkin
holds such metadata as sample rate, channels number etc., this avoids such problems. You may produce formatted media files using libavformat. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] IP cam accessing directly and from dshow speed differences.

2013-06-15 Thread Andrey Utkin
between camera and ffmpeg, and i believe it caused the data loss. If you have any middleware like this, check it thoroughly. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] (no subject)

2013-06-08 Thread Andrey Utkin
://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/muxing.c;h=7305cc6284a0e04aaddd3d79a0bc830b9dd53256;hb=HEAD Also read installed header files, they explain API usage. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman

Re: [Libav-user] Problems decoding h264 (Baseline, yuvj420p) ip camera stream

2013-06-07 Thread Andrey Utkin
2013/6/6 Alexander Wischnewski aw.wi...@googlemail.com: As i said before, the camera itself is streaming rtsp via http tunnel but i had no problems with this so far. Obviously tunneling application looses stream data, and that is actual problem. -- Andrey Utkin

Re: [Libav-user] Setting mpegts_pmt_start_pid for hls segment/mpegts muxer or programmatically ?

2013-06-06 Thread Andrey Utkin
); av_dict_free(opts); -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Problems decoding h264 (Baseline, yuvj420p) ip camera stream

2013-06-06 Thread Andrey Utkin
Camera Man, this is HTTP, so no UDP-related problems. Topicstarter, is there possibility of fetching the stream slower than it is produced? If this is the case, camera may drop some content which it cannot transmit in time. -- Andrey Utkin ___ Libav-user

Re: [Libav-user] Problems decoding h264 (Baseline, yuvj420p) ip camera stream

2013-06-06 Thread Andrey Utkin
. Is there a way to change the http buffer size for incoming packets in ffmpeg ? What i don't understand is why you talk about RTSP and RTP while your URL is HTTP? -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman

Re: [Libav-user] Is there any way to programmatically get ffmpeg decoding error count or callbacks?

2013-06-05 Thread Andrey Utkin
, you are not required to restart everything after that. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] avcodec_close() crash

2013-06-05 Thread Andrey Utkin
suggest you to re-read avcodec.h and avformat.h for explanations on how to release context objects correclty, some places in your code are suspicious for me. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman

Re: [Libav-user] How to tell if a mp3 file was encoded with VBR?

2013-06-05 Thread Andrey Utkin
used right terms. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Receiving MPEGTS and fifo buffer overflows

2013-05-30 Thread Andrey Utkin
, but having overrun_nonfatal set to 1, you get decoding errors, but consequence is just quality degradation, and possibly lost frames. Correctly working application can live with it without need to restart etc. -- Andrey Utkin ___ Libav-user mailing list

Re: [Libav-user] Intermittent heap crash with Visual Studio 2005

2013-05-21 Thread Andrey Utkin
people can immediately compile it on their own and try debugging it. As far as i know majority of ffmpeg developers uses Linux, so consider making your minimal issue reproduction case to be working on Linux. -- Andrey Utkin ___ Libav-user mailing list

[Libav-user] Seeking for libavfilter functionality: overlay of grid over image, invert colors

2013-05-04 Thread Andrey Utkin
developers agree with inclusion of such filters into upstream? -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] AAC encoding error

2013-04-14 Thread Andrey Utkin
Hi Justin, I have just tried your code. With trivial changes to make it compile at work fine at my linux installation, it looks as posted below. I have to say it doesn't fail for me, it runs cleanly and returns normal retcode 0. Valgrind does not find any failures, too. So i won't further

Re: [Libav-user] AAC encoding error

2013-04-12 Thread Andrey Utkin
It would be easier to help you if you provide short but complete compilable (i.e. with main() and so on) snippet reproducing your problem. ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Update filter settings at runtime

2013-04-08 Thread Andrey Utkin
I'd also appreciate qualified answer to this question. If there will not be found any smart ability to do so, you can go with just recreating the whole filtergraph when settings change. I. e. you flush remaining frames from filtering mechanism, free AVFilterGraph, and create a new one for usage.

Re: [Libav-user] Disable probing on an individual stream??

2013-04-08 Thread Andrey Utkin
Please provide your minimized source code, which works the way you describe, and relevant media file sample, also high-debug-level output of it would be good. ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] creating a new filter...

2013-04-02 Thread Andrey Utkin
I can add to the above a couple of points. You are not obliged to send your filter to us, it you are going to use it just for yourself. But if you are going to share some useful code, some development community members may do some integration work for you, thus you get your target achieved

[Libav-user] [HOWTO] How to detect corrupted image files with ffmpeg/libavcodec

2013-03-25 Thread Andrey Utkin
. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] reading video with multiple video streams

2012-10-21 Thread Andrey Utkin
properties of certain elementary stream. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] reading video with multiple video streams

2012-10-21 Thread Andrey Utkin
with highest resolution, or just first in the list. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Bug in mpegts reader with H.264 video?

2012-09-24 Thread Andrey Utkin
AVPacket data. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] H264 live stream decoding and got_picture_ptr

2012-09-19 Thread Andrey Utkin
2012/9/6 Tony Glover t.glo...@nottingham.ac.uk: Can anybody shed some light on this or suggest an approach when the situation occurs? If (got_picture_ptr) process_decoded_frame(); else no_decoded_frame_to_process__its_ok__maybe_go_read_and_decode_next_packet(); -- Andrey Utkin

[Libav-user] Interrupt network wait in av_read_frame() to seek

2012-08-28 Thread Andrey Utkin
in http protocol driver, nor in hls, mpegts demuxers. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Conversion of PTS from MP4 to MPEG2-TS

2012-08-27 Thread Andrey Utkin
second. I don't remember same about MP4. You can convert timestamps from one timebase to another, using function av_rescale_q(). -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] avformat_find_stream_info memory leak

2012-08-27 Thread Andrey Utkin
. Valgrind will show you exact places of leak. If you cannot eliminate leaks in your application in such way, then make up minimal app that uses ffmpeg API _the same way your app does_, that reproduces the same valgrind output, and publish it in this maillist. -- Andrey Utkin

Re: [Libav-user] Streaming RTMP

2012-08-16 Thread Andrey Utkin
://127.0.0.1:1935/live/test.flv -loglevel debug -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] ffmpeg to publish to streaming server (Wowza)

2012-06-09 Thread Andrey Utkin
libs API and wrire an app. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] join two mp4 videos

2012-05-28 Thread Andrey Utkin
, it works when the characteristics of files is same. Also for remux method to work, mp4 files must be in Annex B format, it is quite fast to convert your source files to this mp4 flavour. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org

[Libav-user] Is it possible in some codec that AVFrame.pts is not derived from AVPacket.pts?

2012-05-24 Thread Andrey Utkin
? -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] How to redirect FFMPEG output to a socket

2012-05-03 Thread Andrey Utkin
`. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] use sws_scale to flip frame?

2012-04-26 Thread Andrey Utkin
/libavfilter.html#format - for pixfmt conversion See doc/examples/filtering_video.c -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Encoding Audio+Video : Assigning PTS value for Audio Frame ?

2012-04-23 Thread Andrey Utkin
is not updated for long time, look at git repos of libav.org, ffmpeg.org. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] global headers problem when encoding/decoding h264

2012-04-19 Thread Andrey Utkin
the test output. Let test stream be bound to localhost tcp socket, for example. When you have the AVPacket, go muxing it into both outputs. Then, read the test stream, and display the resulting picture after decode. -- Andrey Utkin ___ Libav-user

Re: [Libav-user] Getting No frame: error

2012-04-19 Thread Andrey Utkin
on PC, and also with other players. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] compile for iOS with assembler

2012-04-12 Thread Andrey Utkin
2012/4/12 Gavin Kinsey gkin...@ad-holdings.co.uk: On Wednesday 11 April 2012 16:35:24 Andrey Utkin wrote: Hi. I can successfully build ffmpeg libs for iOS with --disable-asm, but i'd like to enable it and compilation fails. The ancient version of gcc shipped by Apple doesn't handle some

Re: [Libav-user] -itoffset issue

2012-04-11 Thread Andrey Utkin
, don't mind that it'll take many ffmpeg launches for now. I mean: 1. Cut off needed places of source media files to separate files. 2. Concatenate them as needed (possibly inserting silence where needed). 3. Create video (without audio) from images sequence. 4. Merge audio with video. -- Andrey

[Libav-user] compile for iOS with assembler

2012-04-11 Thread Andrey Utkin
in backend: Invalid operand for inline asm constraint 'i'! make: *** [libavfilter/allfilters.o] Error 1 -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] avcodec_open seg fault?

2012-04-10 Thread Andrey Utkin
post, describing the exact scenario you need, and we'll show you ways to do that, and maybe other api usage examples closer to what you need. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Compiling ffmpeg libraries on Windows 64-bit with x264 decoding support

2012-04-10 Thread Andrey Utkin
? Is there any other tutorial you could point me toward? To _decode_ h264, you don't need x264 library support. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Opening an UDP stream for reading :usingavformat_open_input()?

2012-04-06 Thread Andrey Utkin
AVIO_FLAG_READ)) s-local_port = port; Indeed, i was wrong. My apologies. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] AVFilter abuffer Buffering limit reached

2012-04-06 Thread Andrey Utkin
];          [L1] [l2] amerge, aconvert=s16:stereo [out] Did you try it with ffmpeg utility? Just to check that it's not ffmpeg internal problem. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Opening an UDP stream for reading : usingavformat_open_input()?

2012-04-05 Thread Andrey Utkin
. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-16 Thread Andrey Utkin
I'd try configure options used here http://win32.libav.org/ if no luck, then contact libav.org (ffmpeg fork) guys as they maintain these builds, to ask what environment they use. Their recommendations should lead you to successful build of ffmpeg, as forks are not so far diverged. -- Andrey

Re: [Libav-user] 'Undefined reference'-error when using functions of libavcodec, compiling in Linux

2012-03-16 Thread Andrey Utkin
'PackMan'. You lack libraries' header files. Find and install packages that contain files /usr/include/libavformat/avformat.h, /usr/include/libavcodec/avcodec.h . I hope you got the point. I don't know exact package names for suse and ubuntu. -- Andrey Utkin

Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-16 Thread Andrey Utkin
2012/3/16 Carl Eugen Hoyos ceho...@ag.or.at: Andrey Utkin andrey.krieger.utkin@... writes: I'd try configure options used here http://win32.libav... Since this packages have several severe problems, please do not suggest them here. I did not suggest packages itself. I advised to look

Re: [Libav-user] MPEG2 Encoding with a determined bit_rate

2012-03-13 Thread Andrey Utkin
with timestamps in encoder's AVCodecContext.time_base. Printing pts of frames/packets you produce can help in debugging it. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] [libav-api] h264 decoding delay higher than it could be in a real-time app

2012-03-11 Thread Andrey Utkin
media containers support? If so, what happens if you change container of media, produced by camera? (Just a speculation, with hope to be useful.) -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav

Re: [Libav-user] av_read_frame returns -32

2012-03-10 Thread Andrey Utkin
to most of maillist readers. Or we lack info to analyze. there a minimal working example of decoding video frames? http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/decoding_encoding.c;hb=HEAD#l405 -- Andrey Utkin ___ Libav-user mailing list

Re: [Libav-user] av_read_frame returns -32

2012-03-10 Thread Andrey Utkin
consider working with recent ffmpeg versions. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] av_read_frame returns -32

2012-03-06 Thread Andrey Utkin
() is returning -32 I can't find any documentation about what this return value means. Errno=32 represents Broken pipe. Most probably it can happen if you receive source video by network protocol. You didn't tell what is the file and how you reach it from your app, so above is just guess. -- Andrey

Re: [Libav-user] adjusting bitrate with AvCodecContext not functioning

2012-03-04 Thread Andrey Utkin
much exactly resulting bitrate differs from desired one. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] encoding bitrate wrong

2012-03-01 Thread Andrey Utkin
, and .rc_buffer_size (try also bitrate value, as trial value). This possibly makes sense only if libx264 encoder is used. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Simple packet-by-packet copy does not work for h264+mp4

2012-03-01 Thread Andrey Utkin
You didn't show how do you initialize contexts. You probably miss avformat_find_stream_info() call, or/and somewhat wrongly or incompletely copy file and codecs contexts settings (look at avcodec_copy_context()) -- Andrey Utkin ___ Libav-user mailing

Re: [Libav-user] Simple packet-by-packet copy does not work for h264+mp4

2012-03-01 Thread Andrey Utkin
as an example. But watch out - it is not general-purposed, but just for exact use case. https://github.com/krieger-od/imgs2video/blob/master/cat.c Also there's very simple skeleton of remultiplexing: https://gist.github.com/1950618 -- Andrey Utkin

Re: [Libav-user] building as .dll and .framework

2012-02-29 Thread Andrey Utkin
contribute to upstream such script for framework-izing. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] AC3 - LPCM - MPEG2 PES

2012-02-28 Thread Andrey Utkin
2012/2/28 Pavel Sokolov pa...@sokolov.me: 27.02.2012 22:11, Andrey Utkin пишет: 2012/2/27 Pavel Sokolovpa...@sokolov.me: How I can convert this data to LPCM? Isn't _that_ called LPCM? I'm not an expert on media formats, so i can be wrong in some point. So comments from other people

Re: [Libav-user] Recommended thread count to record video from rendering software

2012-02-28 Thread Andrey Utkin
to, and why? I'd use 0, if i am sure that only one instance of my app is launched. Otherwise, i'd stay with 1 to avoid overloading CPU and host going slowly responsive. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman

Re: [Libav-user] AC3 - LPCM - MPEG2 PES

2012-02-27 Thread Andrey Utkin
2012/2/27 Pavel Sokolov pa...@sokolov.me: How I can convert this data to LPCM? Isn't _that_ called LPCM? -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Andrey Utkin
meaning to be rude, Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Andrey Utkin
receive last data portion, use that data actually etc. For immediate interruption (closing) of stream reading, use avio_open2() int_cb parameter (see libavformat/avio.h). -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Andrey Utkin
you, again, for advices!:) I have no questions anymore Then could you expose how your loop looks like? Or even dream on which API calls do you want? There's a WIP on non-blocking protocol functions, BTW. grep NONBLOCK libavformat/*.h -- Andrey Utkin

Re: [Libav-user] AC3 - LPCM - MPEG2 PES

2012-02-24 Thread Andrey Utkin
yes. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] AC3 - LPCM - MPEG2 PES

2012-02-24 Thread Andrey Utkin
:11:26) BBB: so then you have multiple pointers -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Help Required - FFmpeg usage in own product

2012-02-23 Thread Andrey Utkin
is used on server side, and is not distributed to consumers. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Question regarding old deprecated functions

2012-02-20 Thread Andrey Utkin
. If crash takes place - give full backtrace. For meaningful backtrace, build everything with debug options. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] help with raw fifo as movie src overlay

2012-02-15 Thread Andrey Utkin
, it's impossible. For API that's re-initializing all filtering stuff. You can do it, but it's a lot of code. You must read your streams and push to filters manually, not by 'movie' filter. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] help with raw fifo as movie src overlay

2012-02-15 Thread Andrey Utkin
. I completely don't understand the question. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] help with raw fifo as movie src overlay

2012-02-14 Thread Andrey Utkin
]' -s 1288x360 -vcodec rawvideo /home/fifo/mpegpipe99.yuv This should skip first second of video from first source. Amount of time can be adjusted (second operand in gte( ). I can't test it, so i'm looking forward for your results. -- Andrey Utkin

Re: [Libav-user] Re-encoding a time interval in existing video

2012-02-12 Thread Andrey Utkin
the decoding information lies in the frames. Please correct me if i am not right. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] a proxy problem of libav

2012-02-11 Thread Andrey Utkin
libavformat/http.c:101 For POSIX systems, use setenv(). For Windows, there're SetEnvironmentVariable(). -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Getting options

2012-02-11 Thread Andrey Utkin
2012/2/10 Patrick Zielinski ptot...@live.ca: I don't get the unit and opt_flags parameter, let's say I want to get width from an ACCodecContext, how do I do it? int width = codecCtx-width; // see avcodec.h -- Andrey Utkin ___ Libav-user mailing list

[Libav-user] Re-encoding a time interval in existing video

2012-02-11 Thread Andrey Utkin
with H.264 and its flavours. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] AVFilter overlay change image

2012-02-10 Thread Andrey Utkin
AFAIK filter 'movie' is used for animated watermark. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] got_picture_ptr of avcodec_decode_video2 always returns 0 for a particular MTS file

2012-02-09 Thread Andrey Utkin
can check specific decoder module used in your file, and find out in which cases got_picture is set to 0. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] got_picture_ptr of avcodec_decode_video2 always returns 0 for a particular MTS file

2012-02-07 Thread Andrey Utkin
frame indeed happens regularly. So you had mistake of perception. -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

  1   2   >