[Libav-user] simple AVC format issue?

2013-06-08 Thread Andy Shaules
Hello, First time poster, long wrapper user. Ive used various avcodec wrappers and this is the first time Im using it directly. Im facing a rendering issue that I am assuming is just a rookie move. Pretty easy set up I have here. Let me describe a little context. Im pushing encoder output fr

[Libav-user] simple format trouble using avc ?

2013-06-08 Thread Andy Shaules
Hello, First time poster, long wrapper user. Ive used various avcodec wrappers and this is the first time Im using it directly. Im facing a rendering issue that I am assuming is just a rookie move. Pretty easy set up I have here. Let me describe a little context. Im pushing encoder output fr

Re: [Libav-user] simple format trouble using avc ?

2013-06-08 Thread Andy Shaules
I think Im on to something here.. context->flags |= CODEC_FLAG_GLOBAL_HEADER; and use extra_data rather than private data. hrrmm Trying again :) Andy On 6/8/2013 12:37 PM, Andy Shaules wrote: Hello, First time poster, long wrapper user. Ive used various avcodec wrappers and this is

Re: [Libav-user] Decoding single NALUs from x264 programmatically (no luck even with parser), works fine with concatenated NALUs

2013-06-10 Thread Andy Shaules
I always had to decode from the latest key frame up to the desired stream time nal, On 6/10/2013 2:36 PM, Faraz Khan wrote: Hi all, I'm trying to use ffmpeg as a decoder for a real-time x264 stream that I'm generating. It works fine if I try to decode entire frames, but if I try to decode a s

Re: [Libav-user] Audio 5.1 downsample to stereo broken in swresample?

2013-06-17 Thread Andy Shaules
On 6/17/2013 9:38 AM, Gonzalo Garramuño wrote: El 17/06/2013 11:28 a.m., Gonzalo Garramuno escribió: On 17/06/13 04:47, Nicolas George wrote: Can you reproduce the problem using the ffmpeg command-line tools? I just tried and the conversion works as expected. I found out the problem. It was a

Re: [Libav-user] H264+flv bad video stream

2013-06-21 Thread Andy Shaules
On 6/20/2013 4:51 PM, Alex Cohn wrote: On 20 Jun 2013 11:13, "Dragos Iordache" > wrote: > > Hi again, > > So I tested some more and the stream works ok with .\ffmpeg.exe -i .\test.h264 -c:v copy -f flv rtmp://live.justin.tv/app/live_

Re: [Libav-user] HW decoding on Android

2013-06-21 Thread Andy Shaules
On 6/21/2013 1:45 PM, Abel Alonso wrote: Hi! I'm developing a video player for Android devices using FFmpeg. This video player is already capable to play videos without hardware acceleration. As far as I know, since 0.9 version, FFmpeg can H/W decode H.264 files on Android devices, but I didn

Re: [Libav-user] HLS: Exactly constant segment duration

2013-08-19 Thread Andy Shaules
On 8/19/2013 3:03 AM, Anshul wrote: On 08/19/2013 03:18 PM, Andrey Mochenov wrote: Hi, Thank you for your answer. I suppose, IDR stands for Instantaneous Decoding Refresh. Please, explain: what do you mean under "set encoder with all idr"? What settings I need to use? Andrey. On Mon, Aug 19, 20

Re: [Libav-user] HLS: Exactly constant segment duration

2013-08-19 Thread Andy Shaules
On 8/19/2013 11:57 AM, Kalileo wrote: On Aug 19, 2013, at 16:48 , Andrey Mochenov wrote: Hi, Thank you for your answer. I suppose, IDR stands for Instantaneous Decoding Refresh. No, he means key frames, or i-frames, or however you want to call them, as opposed to p-frames or b-frames. P

Re: [Libav-user] Compile with g++

2013-10-10 Thread Andy Shaules
On 10/10/2013 4:34 PM, Bruce Wheaton wrote: On Oct 9, 2013, at 7:29 AM, James Board > wrote: Really? The title of the mailing list is Libav-user@ffmpeg.org . I'm asking whether libav can be used in C++ programs, if anyone uses libav in

Re: [Libav-user] How to determine the largest best_effort_timestamp?

2013-10-13 Thread Andy Shaules
On 10/12/2013 12:52 PM, James Board wrote: In a C program with libav, how can I determine what is the largest best_effort_timestamp for my input video file, which is AVI container and compressed with ffvhuff? ___ Libav-user mailing list Libav-user@

Re: [Libav-user] How to determine the largest best_effort_timestamp?

2013-10-15 Thread Andy Shaules
s the frame duration. On Sunday, October 13, 2013 2:20 PM, Andy Shaules wrote: On 10/12/2013 12:52 PM, James Board wrote: In a C program with libav, how can I determine what is the largest best_effort_timestamp for my input video file, which is AVI container and compressed wi

Re: [Libav-user] Problema with RTP stream (h264)

2013-10-17 Thread Andy Shaules
On 10/17/2013 6:54 AM, Camera Man wrote: [thunderbird is insisting on html output; trying again as forced plaintext] On 10/17/2013 03:52 PM, Carl Eugen Hoyos wrote: Thank you for this analysis! Is this documented anywhere else (afayk)? Not that I know of. I have been replying on this list

Re: [Libav-user] Some encoding A/V synchronization questions

2013-11-13 Thread Andy Shaules
On 11/13/2013 7:40 PM, Ulf Magnusson wrote: Hi, I'm adding a movie recording feature to an emulator using libav. I've got video (x264), audio (Android VisualON AAC), and muxing (mp4) working, but since I make no special efforts to keep audio and video synchronized, they desynchronize after a few

Re: [Libav-user] packet flag AV_PKT_FLAG_KEY

2013-11-22 Thread Andy Shaules
On 11/22/2013 7:47 PM, Don Moir wrote: Not sure what AV_PKT_FLAG_KEY is supposed to mean. The assumption to me early on is it represented a key frame but not necessarily. Is it not a application flag ? Seems for at least H264 it doesnt have much meaning to application. If the packet dts value i

Re: [Libav-user] packet flag AV_PKT_FLAG_KEY

2013-11-23 Thread Andy Shaules
On 11/23/2013 12:05 AM, Don Moir wrote: - Original Message - From: Andy Shaules To: This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter. Sent: Saturday, November 23, 2013 12:55 AM Subject: Re: [Libav-user] packet flag AV_PKT_FLAG_KEY On 11/22/2013

Re: [Libav-user] Retrieving absolute timestamps from IP cameras

2013-11-26 Thread Andy Shaules
On 11/26/2013 12:34 AM, Dídac Pérez wrote: Hi all, I am using ffmpeg C++ libraries for connecting to network IP cameras and retrieve the video stream through RTSP. I need to synchronize the video frames to another video stream whose frames have timestamps that come from a GPS signal. The prob

Re: [Libav-user] HTTP tunneling with incoming RTSP AAC stream does not work

2014-10-11 Thread Andy Shaules
On 10/11/2014 3:05 AM, Taha Ansari wrote: Hi, Is there anybody out there who has faced a similar issue? I'm sure there would be... any feedback would be highly appreciated... On Fri, Oct 10, 2014 at 2:47 PM, Taha Ansari > wrote: On Thu, Oct 9, 2014 at 6:0

Re: [Libav-user] RTSP stream only received on port 554 via UDP

2014-10-14 Thread Andy Shaules
On 10/14/2014 6:59 AM, Ben Morris wrote: Hello, I am running an RTSP server using Live555 and receiving the stream using ffmpeg. The exact ffmpeg version is the Zeranoe build from September 13^th 2014. Everything runs as expected on localhost but when connecting to the server from a remote

[Libav-user] Getting sdp from opening rtsp uri

2014-10-25 Thread Andy Shaules
Hello, We're trying to read a custom attribute out of the sdp info from a 'describe' results. We could also put this attribute in the fmtp or anywhere really. We just are not sure how to read the sdp results even if we are to parse the attribute ourselves. Where is this available from in the

Re: [Libav-user] RTSP SDP Parsing Error

2015-02-27 Thread Andy Shaules
On 2/27/2015 9:09 AM, Mark Kenna wrote: On 13 February 2015 at 12:07, Mark Kenna > wrote: Hi I think there is a problem in the SDP parsing of RTSP.c. I have an SDP which has 2 tracks, one is H264 and the other is MJPEG. It appears that FFM

Re: [Libav-user] RTSP SDP Parsing Error

2015-03-04 Thread Andy Shaules
On 3/4/2015 5:44 AM, Mark Kenna wrote: On 27 February 2015 at 19:38, Andy Shaules <mailto:bowljo...@gmail.com>> wrote: On 2/27/2015 9:09 AM, Mark Kenna wrote: On 13 February 2015 at 12:07, Mark Kenna mailto:mark.ke...@sureviewsystems.com>> wrote: Hi

Re: [Libav-user] Audio and video remuxing not synchronized.

2015-06-15 Thread Andy Shaules
On 6/15/2015 10:47 AM, Talgorn François-Xavier wrote: This is a 2nd try to post this question. I still don't understand why my muxing is not synchronized. Anyone ? Thanks! In the remuxed MPEG4 movie, the video is late of something like 0.3 second. The main process is: 1) read pa

Re: [Libav-user] Parsing TS 188 bytes header

2015-08-12 Thread Andy Shaules
On 8/11/2015 11:32 PM, Self User wrote: Hi and thanks for the comment. I tried to do it but it is not helped me... The flow you wrote helps when I am decoding packets/frames. looks likes the read packet/frame methods are for the codecs themselves. I am trying to find some code that gives me t

Re: [Libav-user] RTSP relay using not working

2015-11-21 Thread Andy Shaules
On 11/21/2015 2:51 AM, Kiran wrote: Hi, I am implementing an RTSP relay using libavcodec (ffmpeg). Basically, it connects to an IP camera, which is an RTSP server, PULLs the stream and then PUSHes it to wowza. I am finding it very difficult to get any sample implementation for this in the inte

Re: [Libav-user] RTSP streaming with libav

2016-04-06 Thread Andy Shaules
On 4/6/2016 12:52 AM, Yu Ang Tan wrote: I have seen this question being asked many times: How can I stream video using libav? The answers usually go along the lines of Live555, VLC, or Wowza. At the same time, I know that avformat_open_input() supports rtsp URL as a video input, and the same

Re: [Libav-user] libx264 randomly causing image tearing

2016-06-16 Thread Andy Shaules
On 6/15/2016 12:50 PM, DeHackEd wrote: On 06/15/2016 03:12 PM, Nicolas George wrote: L'octidi 28 prairial, an CCXXIV, DeHackEd a écrit : Everything is working fine except for one anomaly. Occasionally I get this "tearing" effect (screen shot link at bottom of message) for a split second where i

Re: [Libav-user] Streaming from camera to server

2016-09-10 Thread Andy Shaules
On 9/10/2016 12:56 AM, Timur Guseynov wrote: Hi. I am new to C++ and FFmpeg and wanted to write application that streams video from camera (webcam at least) to some server. I've seen StreamingGuide and wanted to know how to implement it. I thin

Re: [Libav-user] Decoding RTP streams with in-band SDP

2016-09-16 Thread Andy Shaules
On 9/16/2016 6:06 AM, Eric Reichert wrote: On 9/16/16, 8:30 AM, "Libav-user on behalf of Carl Eugen Hoyos" wrote: 2016-09-16 14:24 GMT+02:00 Eric Reichert : > The streams I’m working with are of the Annex B variety. I would have expected that the rtp specification fo

Re: [Libav-user] How can i encode s16/s16p to acc

2016-12-23 Thread Andy Shaules
On 12/23/2016 3:53 AM, He Lei wrote: FFMpeg codes is clone from git, that is version 3.0 I cross Compile to the win32 platform; And enabled these encoders/decoders: aac,s16be,s16le,s16be_planar,s16le_planar Enabled muxers/demuxers: s16be,s16le,s16be_planar,s16le_planar None of the other.

Re: [Libav-user] re-encoding and transcode (codec copy) on same file.

2017-04-11 Thread Andy Shaules
On 4/10/2017 4:37 PM, YIRAN LI wrote: 2017-04-10 7:16 GMT+10:00 bowljoman >: sorry if this client top posts, but to answer, you can do 1 of 2 things. assume it is different and insert it before returning to the unprocessed clip. or you can check if the

Re: [Libav-user] Resample frame to specified number of samples

2017-07-21 Thread Andy Shaules
On Jul 19, 2017 10:59 AM, "Kerry Loux" wrote: Hello all, I have an application where I am opening an audio file that was sampled at 44100 Hz, decoding it, resampling to 16000 Hz, encoding it again (AAC) then broadcasting it on an RTSP stream. On the receiving end, I decode the incoming AAC pack

Re: [Libav-user] Resample frame to specified number of samples

2017-07-25 Thread Andy Shaules
On Jul 24, 2017 5:44 AM, "Kerry Loux" wrote: On Fri, Jul 21, 2017 at 11:38 PM, Andy Shaules wrote: > > > On Jul 19, 2017 10:59 AM, "Kerry Loux" wrote: > > Hello all, > > I have an application where I am opening an audio file that was sampled at >

Re: [Libav-user] Help to convert MP4 to JPEG using libav* dlls downloaded from FFMPEG 3.3.2 for windows

2017-08-01 Thread Andy Shaules
On Jul 30, 2017 5:01 PM, "venkatesh iyengar" < venkatesh_mk-at-yahoo@ffmpeg.org> wrote: Hello, From one week I am trying to convert MP4 to JPEG going thru different forums for examples, so far no success. Can you please share the link where you have seen it working successfully or you had it

Re: [Libav-user] Freeswitch+Libav with NVENC encoder gives Could not open codec (-12)(Cannot allocate memory)

2017-09-09 Thread Andy Shaules
On Sep 6, 2017 6:23 AM, "José Lopes" wrote: Hello, I am trying to use Video Conferences (MCU) from Freeswitch with libav (ffmpeg 3.2 from jessie-backports) with NVIDIA Tesla P4 (encoder nvenc). You can check the code of Freeswitch at https://freeswitch.org/stas h/projects/FS/repos/freeswitch/br

Re: [Libav-user] Adding alpha channel to h264 encoder

2017-09-16 Thread Andy Shaules
On Sep 15, 2017 9:49 AM, "Davood Falahati" wrote: Dear Michael, Thanks for your reply. I changed the codec to qrtle and I found that there is an alpha channel added. My problem, however, exists. I translate opencv Mat with alpha plane to AVFrame. But in the resultin video I don't see the added a

Re: [Libav-user] Find out RTSP/H264 stream framerate or PTS

2017-09-22 Thread Andy Shaules
On Sep 22, 2017 11:40 AM, "Sergio Basurco" wrote: Hi, Please correct me if I'm wrong: In order to display a decoded stream, I need either the exact framerate, or the PTS for the decoded frames. I'm only using avcodec, and my own RTSP client and H264 parser. What are the values that need to be s