Re: [Libav-user] How to decode arbitrary frame

2013-07-18 Thread James Board
From: Thomas To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." Sent: Thursday, July 18, 2013 8:55 AM Subject: Re: [Libav-user] How to decode arbitrary frame >You can use avformat_seek_file() followed by avco

[Libav-user] RTP Packetization/Depacketization using libavformat

2013-07-18 Thread Diego Carvalho
Hi all, Could someone give me an example on how to packetize an encoded frame that is in the memory into RTP packets using libavformat. I saw that the code uses AvFormatContext but the only example I saw that uses this structure is when reading from a file. In this case, the start point is a in me

Re: [Libav-user] How to decode arbitrary frame

2013-07-18 Thread Thomas
Am 18.07.2013 14:42, schrieb James Board: I have the doc/examples programs compiled and running. I use the program demuxing.c to decode an AVI file. From the source code, it looks it calls its own subroutine decode_packet() to decode the next video or audio packet, and that subroutine calls avc

[Libav-user] How to decode arbitrary frame

2013-07-18 Thread James Board
I have the doc/examples programs compiled and running.  I use the program demuxing.c to decode an AVI file.  From the source code, it looks it calls its own subroutine decode_packet() to decode the next video or audio packet, and that subroutine calls avcodec_ecode_video2()to decode the next fram

Re: [Libav-user] "Internal error, slice end before start" may cause a crash

2013-07-18 Thread Julian Herrera
On 18/07/2013 12:34, Carl Eugen Hoyos wrote: Julian Herrera writes: frame #2: 0x002dd6e6 astra`mpeg_decode_slice(s=0x0f9eaa00, buf=0x03985a14) + 7854 at mpeg12.c:1813 This looks outdated. Is the problem also reproducible with current git head? It's been a long time since I last updat

Re: [Libav-user] "Internal error, slice end before start" may cause a crash

2013-07-18 Thread Carl Eugen Hoyos
Julian Herrera writes: > frame #2: 0x002dd6e6 astra`mpeg_decode_slice(s=0x0f9eaa00, > buf=0x03985a14) + 7854 at mpeg12.c:1813 This looks outdated. Is the problem also reproducible with current git head? Carl Eugen ___ Libav-user mailing list L

[Libav-user] "Internal error, slice end before start" may cause a crash

2013-07-18 Thread Julian Herrera
Hello, I've developed a MPEG2-TS video player for iPad using ffmpeg and sometimes I get the following error message whilst performing a seek operation: "internal error, slice end before start" Most of times the video keeps playing normally after the operation is finished, but a few times (a

Re: [Libav-user] how to handle missing pts values to keep audio sync (mpegts->mp4)

2013-07-18 Thread Carl Eugen Hoyos
wm4 writes: > > You did not test FFmpeg but an intentionally > > broken version that contains several hundred > > known bugs and regressions not reproducible > > Then why is ffmpeg merging from it on a daily basis? You cut the important part;-( Although FFmpeg is merging on a daily basis,

Re: [Libav-user] how to handle missing pts values to keep audio sync (mpegts->mp4)

2013-07-18 Thread Patrick Fischer
> Hello   I have tested a newer Version of the application ffmpeg.   Now it is in sync! But not fix my problem. I need sync with my application.   Now I have to take a look what i did different then the application ffmpeg. Update the ffmpeg libs for my application will be the next step.   Reg

Re: [Libav-user] how to handle missing pts values to keep audio sync (mpegts->mp4)

2013-07-18 Thread wm4
On Thu, 18 Jul 2013 09:15:12 + (UTC) Carl Eugen Hoyos wrote: > Patrick Fischer writes: > > > If i use the application ffmpeg i got also an async mp4: > >   > > ffmpeg -i  ~/Videos/defekte_streams/asyncron_1.ts test.mp4 > > ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1 > > You did not test

Re: [Libav-user] how to handle missing pts values to keep audio sync (mpegts->mp4)

2013-07-18 Thread Carl Eugen Hoyos
Patrick Fischer writes: > If i use the application ffmpeg i got also an async mp4: >   > ffmpeg -i  ~/Videos/defekte_streams/asyncron_1.ts test.mp4 > ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1 You did not test FFmpeg but an intentionally broken version that contains several hundred known bu

[Libav-user] how to handle missing pts values to keep audio sync (mpegts->mp4)

2013-07-18 Thread Patrick Fischer
> Hello!   This is my first mail on this list. So i hope i didn't got the wrong mailinglist.   Im writing an program which received a mpeg ts udp stream and convert it to mp4 on the fly. Sometimes i have a problem with async audio.   [mpegts @ 0x35fd580] PES packet size

Re: [Libav-user] Issue installing ffmpeg-php on Ubuntu 12.04

2013-07-18 Thread Carl Eugen Hoyos
Aaron Golub writes: > I'm attempting to use your ffmpeg installation > for Ubuntu 12.04 and I'm having trouble getting > ffmpeg-php installed. ffmpeg-php is an independent software project that is not supported here. Additionally, it is not developed since a very long time, so it is probably

Re: [Libav-user] non-existing PPS referenced console message on QNX

2013-07-18 Thread Carl Eugen Hoyos
Pavel Vazharov writes: > You are right, I'm wrong about the decoding part. > What do you mean with "failing command line" and > "encoding command line"? > We are using library functions You could test if the problem is also reproducible if you use the ffmpeg executable. Carl Eugen _