Re: [Libav-user] how to obtain sps and pps

2011-11-15 Thread Alex Cohn
On Wed, Nov 16, 2011 at 02:43, Yingzhou Zhang wrote: > Hey guys,here is one simple question: how do I obtain sps and pps from H264 > stream(over RTP).I know through header & 0x1f==7 || header & 0x1f ==8 to > determine them,but what about their length? As any other NAL unit, the size is either par

[Libav-user] how to obtain sps and pps

2011-11-15 Thread Yingzhou Zhang
Hey guys,here is one simple question: how do I obtain sps and pps from H264 stream(over RTP).I know through header & 0x1f==7 || header & 0x1f ==8 to determine them,but what about their length? Plus how to use them to "init" decoder? I have been googled around,got a little confused,thanks for your

Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-15 Thread Bruce Wheaton
On Nov 15, 2011, at 2:16 AM, Carl Eugen Hoyos wrote: > Bruce Wheaton writes: > >> I have a fairly simple .mov with one track of stereo PCM 16-bit audio. >> Quicktime has the channels tagged as left and right. When I open the file >> with >> libavformat & libavcodec, I get the 'Unimplemented con

Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-15 Thread Bruce Wheaton
On Nov 15, 2011, at 1:41 PM, Carl Eugen Hoyos wrote: > Bruce Wheaton writes: > >>> Does it play properly with ffplay (or MPlayer)? >>> Can it be read by ffmpeg? >> >> I don't have ffplay active now, I'll enable it. FFMPEG fails as below. The >> resulting video is empty. >> $ ./ffmpeg -i Opening

Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-15 Thread Carl Eugen Hoyos
Bruce Wheaton writes: > > Does it play properly with ffplay (or MPlayer)? > > Can it be read by ffmpeg? > > I don't have ffplay active now, I'll enable it. FFMPEG fails as below. The > resulting video is empty. > $ ./ffmpeg -i Opening\ Video\ PJ\ 720p29.97.mov test.mov [...] > encoder 'aac' is

Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-15 Thread Bruce Wheaton
On Nov 15, 2011, at 2:16 AM, Carl Eugen Hoyos wrote: > Bruce Wheaton writes: > >> I have a fairly simple .mov with one track of stereo PCM 16-bit audio. >> Quicktime has the channels tagged as left and right. When I open the file >> with >> libavformat & libavcodec, I get the 'Unimplemented con

Re: [Libav-user] Unimplemented container channel layout Bug

2011-11-15 Thread Carl Eugen Hoyos
Bruce Wheaton writes: > I have a fairly simple .mov with one track of stereo PCM 16-bit audio. > Quicktime has the channels tagged as left and right. When I open the file with > libavformat & libavcodec, I get the 'Unimplemented container channel layout' > warning and it won't play properly (in m

[Libav-user] mux mpeg-ts file into an rtp context

2011-11-15 Thread Sabine B
Hello! Any help? Does anybody have an idea where the mistake could be? Thanks a lot! Best regards, Sabine -- Forwarded message -- From: Sabine B Date: Thu, Nov 10, 2011 at 4:05 PM Subject: mux mpeg-ts file into an rtp context To: libav-user@ffmpeg.org Hello! I try to mux an