[Libav-user] (no subject)

2011-04-03 Thread Mohamad Yazbeck
Dear all,I have recently started working on the ffmpeg libavcodec source codes especially the H264i want to know the reference frames used for prediction of each framei used -debug options but it doesnot provide this feature that i wantThanks _

[Libav-user] (no subject)

2011-08-25 Thread david . weber
Hey all, I have searched quite a bit, but haven't found a good answer. So I thought I'd post it here. I have a custom video device which gives me a simple framebuffer, (24-bit BGR). I am trying to stream it elsewhere, but would like to encode/compress it in realtime. On the client side,

[Libav-user] (no subject)

2013-01-11 Thread sangeeta chowdhary
Hi Team, I am Software Engineer, working on video adaption. I want to change video bit-rate, frame rate, resolution of the video according to the mobile handset used by the user, using C. I have tried to execute few examples like metadat.c( http://ffmpeg.org/doxygen/trunk/doc_2examples_2metadata_

[Libav-user] (no subject)

2013-03-08 Thread Haridas Sagar N
I will be getting live streams from network, i will be depacketizing it as soon as frames are available and store it in buffer for muxing into mp4 file,my problem is buffer size is limited(may be capable of holding 4 frames) so every time i read from buffer and write it to avformatcontext using

[Libav-user] (no subject)

2013-06-08 Thread Massimo Battistel
hello, I would like to know if there are some code samples and/or tutorials for programmatically output streaming (mpeg-ts over udp) using libavformat/avcodec. I can't find anything on ffmpeg web site. thanks, Max ___ Libav-user mailing list Libav-user@f

[Libav-user] (no subject)

2014-09-29 Thread Marcus Johnson
I'm trying to decode audio using libavformat and codec, it's working fine so far, but I'm having trouble getting the decoded buffer into a single array to hold all samples, I read that there's a function called avpicture_layout, and that's basically exactly what I need, except it's for AVPicture, a

[Libav-user] (no subject)

2015-04-17 Thread Ran Shalit
Hello, This is a general question only for help in understanding libavformat API. I am trying to understand the demuxing example in FFmpeg wiki. while (av_read_frame(fmt_ctx, &pkt) >= 0) { { if (pkt.stream_index == video_stream_idx) { /* decode video frame */ ret = avcodec_deco

[Libav-user] (no subject)

2015-05-13 Thread Sethuraman V
Hi All, Following is the code snippet that I am reusing from remuxing.c, but when I convert an image from YUV to RGB and again back to YUV, there are some glitches added to the video stream on the frames that went for conversion, rest of the frames are fine. Please let me know what I am missing o

[Libav-user] (no subject)

2016-12-21 Thread sea
In transcoding project of LeiXiaoHua(demo of usage of filters), if I use media file with h264 video stream as input file, the function avcodec_open2 will return -1. Media file with video stream in other format, such as mpeg4, mjpeg return 0 (OK). Why ? Someone meets the same problem?__

[Libav-user] ?????? (no subject)

2016-12-21 Thread sea
tbc Stream #0:1: Audio: aac, 32000 Hz, stereo, fltp -- -- ??: "Blake Senftner";; : 2016??12??21??(??) 11:46 ??: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfil

[Libav-user] ?????? (no subject)

2016-12-21 Thread sea
. -- -- ??: "Steven Liu";; : 2016??12??22??(??) 10:00 ??: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter."; ????: Re: [Libav-user] (no subject) 2016-12-22 9:40 GMT+08:00 Blake Senftner : Below is my code I

[Libav-user] (no subject)

2017-05-23 Thread Tamara Emmerichs
Yes, it's better. Thank you, Steven! ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

[Libav-user] (no subject)

2018-04-25 Thread Vitaut Tryputsin
___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

[Libav-user] (no subject)

2018-09-24 Thread Jimmy Bhaktha
Hi I am working on an application based on FFMPEG version 3.4.2 where the RTSP packets from the camera are captured and store using python. The decoder application is run later. The application receives a byte array which is the actual packet. The goal is to decode the received packet and conver

[Libav-user] (no subject)

2019-01-24 Thread lunatic . hai NuTz
I need to convert any format (for example, mp4, avi etc) to .webm with own ioContext. I build ffmpeg with vpx, ogg, vorbis, opus and create simple project. But when i write any frame i get error "Too many invisible frames. Failed to send packet to filter vp9_superframe for stream 0" I've alread

[Libav-user] (no subject)

2020-03-09 Thread Slav
Trying to read .mkv file file and write it to .bmp, but resulting .bmp is black-and-white and consists of multiple mini-images of what supposed to be written: int main() { av_register_all(); avformat_network_init(); avfilter_register_all(); //crashes on -Ofast without =NULL initia

[Libav-user] (no subject)

2020-05-01 Thread Jorhn Madsen
Hi! I have created simple RTSP player with FFmpeg(4.2.2) in C and want to understand what function in the FFmpeg source code does listen for incoming data before the parsing or decoding start ? My server sends additional data that is concatenated in the begningen of the packet that i want to remo

[Libav-user] (no subject)

2020-07-27 Thread Nikita Chkhaylo
Hi everyone! Could anybody tell me, are any disadvantages in decoding quality using FFmpeg lib instead of opus lib? Best regards, Nikita ___ Libav-user mailing list Libav-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visi

[Libav-user] (no subject)

2020-12-11 Thread Сергей Икол
Hello everybody! I need help solving my problem. on server (windows) I run command like ffmpeg -f dshow -rtbufsize 100M -report -i video="___":audio="___" -f segment -strftime 1 -segment_time 86400 -segment_format ts %Y-%m-%d_%H-%M-%S.ts on client (ubuntu) I try read this file (while server write

Re: [Libav-user] (no subject)

2011-09-07 Thread Luke Clemens
The magic is in avcodec_encode_video() and avcodec_decode_video2(). The documentation for it is in the header file where it's defined. There are some examples online. You setup a codec context, then pass an uncompressed image to avcodec_encode_video(), and it will spit out a compressed buffer. The

Re: [Libav-user] (no subject)

2011-09-08 Thread Eric Hsieh(Psychesnet)
Dear Luke, Thanks for your advance, unfortunately, my raw data is stored at memory, I get it directly. So, I can not use av_read_frame(), and I am working embedding system, we have memory usage limit for app and lib, we resize the ffmpeg lib to take off encodec and decodec function. So, I can not

Re: [Libav-user] (no subject)

2013-01-11 Thread sangeeta chowdhary
Hi Team, I am Software Engineer, working on video adaption. I want to change video bit-rate, frame rate, resolution of the video according to the mobile handset used by the user, using C. I have tried to execute few examples like metadat.c( http://ffmpeg.org/doxygen/trunk/doc_2examples_2metadata_

Re: [Libav-user] (no subject)

2013-01-11 Thread Carl Eugen Hoyos
sangeeta chowdhary writes: > I have tried to execute few examples like metadat.c > (http://ffmpeg.org/doxygen/trunk/doc_2examples_2metadata_8c-example.html) > but I am not able to compile. I fear that "not able to compile" is not enough information for anybody who wants to help you. > I have

Re: [Libav-user] (no subject)

2013-01-11 Thread sangeeta chowdhary
Hi Carl, I am installing ffmpeg using ffmpeginstall.3.2.1.tar.gz, but I am getting error - Installation of MPlayer-1.0rc1.tar.bz2 ... Completed Mplayer installation Failed :( , please visit the forum Please help me for the same. Regards, Sangeeta On Fri, Jan 11, 2013 at 3:59 PM, Carl

Re: [Libav-user] (no subject)

2013-01-11 Thread sangeeta chowdhary
cp: cannot create regular file `/usr/local/cpffmpeg/etc/mplayer/codecs.conf': No such file or directory Installation of MPlayer-1.0rc1.tar.bz2 ... Completed Mplayer installation Failed :( , please visit the forum This is the error. On Fri, Jan 11, 2013 at 4:37 PM, sangeeta chowdhary <

Re: [Libav-user] (no subject)

2013-01-11 Thread NITIN GOYAL
I think the error you are mentioning is related to installation and not at all related to the compilation as you have mentioned in your first mail. Please check why the installation got failed. May be you can check the content of config.log and try to see. BTW, there are many other ways to instal

Re: [Libav-user] (no subject)

2013-01-11 Thread sangeeta chowdhary
Hi Nitin, I have taken latest ffmpeg installer from http://ffmpeginstaller.com/download. Still I am getting error while installation. I didn't get config.log. This is the error - Removing old source Cloning into ffmpeg... ERROR: libfaac not found If you think configure made a mistake, make sure

Re: [Libav-user] (no subject)

2013-01-11 Thread NITIN GOYAL
Have u installed faac? may be u can try to install libfaac or just remove '--enable-libfaac' from ur configure list. It may fix this issue. > > I have taken latest ffmpeg installer from > http://ffmpeginstaller.com/download. Still I am getting error while > installation. > I didn't get config.log.

Re: [Libav-user] (no subject)

2013-01-13 Thread sangeeta chowdhary
Hi Nitin, ffmpeg is installed successfully. Now I am trying to compile one simple program like [root@node2 ffmpeginstaller.7.4]# gcc -I/usr/src/ffmpegscript/ffmpeg/ test.c /tmp/ccjXEhvl.o: In function `main': test.c:(.text+0x10): undefined reference to `av_register_all' collect2: ld returned 1 ex

Re: [Libav-user] (no subject)

2013-06-08 Thread Andrey Utkin
2013/6/8 Massimo Battistel : > hello, > I would like to know if there are some code samples and/or tutorials for > programmatically output streaming (mpeg-ts over udp) using > libavformat/avcodec. > I can't find anything on ffmpeg web site. An example of muxing. http://git.videolan.org/?p=ffmpeg.g

Re: [Libav-user] (no subject)

2014-09-30 Thread wm4
On Mon, 29 Sep 2014 20:31:49 -0400 Marcus Johnson wrote: > I'm trying to decode audio using libavformat and codec, it's working fine > so far, but I'm having trouble getting the decoded buffer into a single > array to hold all samples, I read that there's a function called > avpicture_layout, and

Re: [Libav-user] (no subject)

2014-09-30 Thread Marcus Johnson
Because I'm using Ffmpeg to decode audio to pcm, so I can encode it with my own format. I'll look into it, thanks. On Tue, Sep 30, 2014 at 10:38 AM, wm4 wrote: > On Mon, 29 Sep 2014 20:31:49 -0400 > Marcus Johnson wrote: > > > I'm trying to decode audio using libavformat and codec, it's working

Re: [Libav-user] (no subject)

2015-04-18 Thread NITIN GOYAL
yes and they will get decoded only as per DTS otherwise will get queued up.. On Fri, Apr 17, 2015 at 6:40 PM, Ran Shalit wrote: > Hello, > > This is a general question only for help in understanding libavformat API. > I am trying to understand the demuxing example in FFmpeg wiki. > > while (av_r

Re: [Libav-user] (no subject)

2016-12-21 Thread Blake Senftner
Is the h264 file you are using available online to test against? I have been using the h264 film trailers from here http://www.hd-trailers.net/movie/rogue-one-a-star-wars-story/ And they open and play without issue. Do you get the

Re: [Libav-user] (no subject)

2016-12-21 Thread Blake Senftner
bn, 30 tbc > Stream #0:1: Audio: aac, 32000 Hz, stereo, fltp > > > > > > > > ---------- 原始邮件 -- > 发件人: "Blake Senftner";; > 发送时间: 2016年12月21日(星期三) 晚上11:46 > 收件人: "This list is about using libavcodec, libavformat

Re: [Libav-user] (no subject)

2016-12-21 Thread Steven Liu
trained Baseline), yuv420p, 640x480, > 15.17 fps, 15 tbr, 1k tbn, 30 tbc > > Stream #0:1: Audio: aac, 32000 Hz, stereo, fltp > > > > > > > > > > > > > > > > -- 原始邮件 -- > > 发件人: "Blake Senftner";; >

Re: [Libav-user] (no subject)

2020-03-10 Thread Carl Eugen Hoyos
Am Di., 10. März 2020 um 07:25 Uhr schrieb Slav : > > Trying to read .mkv file file and write it to .bmp, but resulting .bmp is > black-and-white and consists of multiple mini-images of what supposed to be > written: (Without looking at your code) Are there three mini-images of different size? T

Re: [Libav-user] (no subject)

2020-03-10 Thread Slav
Thank you for your answer! It is exactly so: 3 smaller images in the middle and even smaller and more below. How can I convert it to RGB (24 bits)? And overall, how can I always get RGB images from any video file I open? Thanks in advance! вт, 10 мар. 2020 г. в 14:27, Carl Eugen Hoyos : > Am Di.

Re: [Libav-user] (no subject)

2020-03-10 Thread Carl Eugen Hoyos
Am Di., 10. März 2020 um 15:41 Uhr schrieb Slav : > > Thank you for your answer! > It is exactly so: 3 smaller images in the middle and even smaller and more > below. Maybe not yuv420p but probably the wrong pix_fmt > How can I convert it to RGB (24 bits)? And overall, how can I always get RGB

Re: [Libav-user] (no subject)

2020-03-10 Thread Slav
I hope I managed to avoid top-posting in gmail ^^ Trying to convert it to RGB with sws_scale(), but can't properly provide it with AVFrames. Here is 3 different ways I try to create AVFrames: https://paste.ubuntu.com/p/fdqFNVpJBM/ What could be the problem? Thanks in advance! ср, 11 мар. 2020 г.

Re: [Libav-user] (no subject)

2020-03-11 Thread kode54
On Wed, 2020-03-11 at 10:12 +0400, Slav wrote: > I hope I managed to avoid top-posting in gmail ^^ Nope, you didn't. Top posting, since you apparently didn't bother to look it up, means replying to a message by typing your reply above the quoted original message. GMail makes this really easy to do

Re: [Libav-user] (no subject)

2020-03-11 Thread Slaus
On Wed, 2020-03-11 at 00:58 -0700, kod...@gmail.com wrote: > On Wed, 2020-03-11 at 10:12 +0400, Slav wrote: > > I hope I managed to avoid top-posting in gmail ^^ > > Nope, you didn't. Top posting, since you apparently didn't bother to > look it up, means replying to a message by typing your reply

Re: [Libav-user] (no subject)

2020-12-11 Thread Gonzalo Garramuño
El 11/12/20 a las 10:10, Сергей Икол escribió: Hello everybody! Please tell me what I'm doing wrong? You are posting to the wrong mailing list.  This mailing list is for coding with libav* libraries.  You want to post to the ffmpeg-user mailing list. ___

Re: [Libav-user] (no subject)

2020-12-13 Thread Carl Eugen Hoyos
Am Fr., 11. Dez. 2020 um 14:10 Uhr schrieb Сергей Икол : > on server (windows) I run command like > ffmpeg -f dshow -rtbufsize 100M -report -i video="___":audio="___" -f segment > -strftime 1 -segment_time 86400 -segment_format ts %Y-%m-%d_%H-%M-%S.ts > > on client (ubuntu) I try read this file (

Re: [Libav-user] (no subject)

2020-12-13 Thread Сергей Икол
Yes, I tried to access the file locally and and everything was well. Actually I think my problem is related to mounting Windows disk on Ubuntu. So I think we can close this discussion. Thank you for your help. нд, 13 груд. 2020 о 12:19 Carl Eugen Hoyos пише: > Am Fr., 11. Dez. 2020 um 14:10 Uhr

Re: [Libav-user] (no subject)

2020-12-13 Thread mr N
Its difficult to use On Sun, Dec 13, 2020 at 2:59 AM Сергей Икол wrote: > Yes, I tried to access the file locally and and everything was well. > Actually I think my problem is related to mounting Windows disk on Ubuntu. > So I think we can close this discussion. > > Thank you for your help. > >