Re: [Libav-user] Encoding from file

2013-07-25 Thread Tushar Paithankar
Hi Tariqul Islam, Have to played the raw audio data...? Please just check that you are getting correct audio data (you can check with Audacity tool). Second question is r u giving data to encoder and decoder on frame basic means frame by frame...? If yes have you writing any parser to decide MP

[Libav-user] Fwd: mp3 file size inconsistency

2013-07-25 Thread Jean Porcherot
Hi, I am using ffmpeg 2.0 to read audio files from (Visual) C++ code. I had a hard time finding how to achieve this but it now works smartly for WAV files. However, for MP3 files, I am unable to read all samples: when opening the mp3 file in a mp3 editor (like Audicity), it reports me a number of

[Libav-user] Encoding from file

2013-07-25 Thread Tariqul Islam
Hello I am new to ffmpeg coding. In ffmpeg source code, encoding decoding example is given in encoding_decoding.c. In this file while working with audio, a raw audio is created, then encoded, then decoded into a c file. What i am trying to do is to read from that C file, encode and thus reconstruc

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Carl Eugen Hoyos
mikeversteeg writes: > Carl Eugen Hoyos wrote > > Works fine here, Carl Eugen > > Thanks, interesting! > So unless they fixed it in the past 24 hours, (They?) > how is this possible? I suggest you look at the configure lines. (This is not only the reason why you are required to always sen

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread mikeversteeg
Carl Eugen Hoyos wrote > Works fine here, Carl Eugen Thanks, interesting! So unless they fixed it in the past 24 hours, how is this possible? -- View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-can-t-decode-RTMP-stream-from-FMS-tp4658233p4658250.html Sent from t

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Adi Shavit
Thanks. :-) Adi On Thu, Jul 25, 2013 at 3:03 PM, Carl Eugen Hoyos wrote: > Adi Shavit writes: > >> I used the term "program" since that's what VLC calls >> selection the "channel" in a multi-program stream. >> I think this may be the same thing and the variable >> identifies which stream(s) belo

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit writes: > I used the term "program" since that's what VLC calls > selection the "channel" in a multi-program stream. > I think this may be the same thing and the variable > identifies which stream(s) belongs to which channel. > Correct? Sounds correct. (But I have never selected ch

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Carl Eugen Hoyos
Mike Versteeg writes: > rtmp://185.13.90.110/vidlivestream/_definst_/stream/test Works fine here, Carl Eugen $ ffmpeg -i rtmp://185.13.90.110/vidlivestream/_definst_/stream/test ffmpeg version N-54924-g5156d48 Copyright (c) 2000-2013 the FFmpeg developers built on Jul 25 2013 09:01:09 with gc

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Mike Versteeg
I just got permission to publish the stream details for testing, so if anyone wants to have a look it is rtmp://185.13.90.110/vidlivestream/_definst_/stream/test As you can see it works fine in normal flash players, but not in ffmpeg/ffplay/ffprobe. Mike _

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Adi Shavit
>> >> What's the relationship between "programs" and streams? > > (You mentioned programs, as said, I may have > misunderstand.) > In transport streams, audio and video streams > typically belong to a program, see ffmpeg -i file.ts for > an example. Ah, ok, I get it. I used the term "program" sinc

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit writes: > > > If so, how can I get the "program name" in a > > > named stream to know which one I'm processing? > > > > See AVFormatContext->programs[] and > > av_find_program_from_stream() and friends. > > What's the relationship between "programs" and streams? (You mentioned progra

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Adi Shavit
Hi Carl, > > > What I'm asking is if it is possible to demux > > and the decode all (desired) streams independently. > > Again, I may misunderstand, but I suspect you cannot > demux the streams of a transport stream independently > but you can only decode the resulting video and audio > streams in

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit writes: > What I'm asking is if it is possible to demux > and the decode all (desired) streams independently. Again, I may misunderstand, but I suspect you cannot demux the streams of a transport stream independently but you can only decode the resulting video and audio streams in

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Adi Shavit
Hi Carl, Thanks for the quick reply. What I'm asking is if it is possible to demux and the decode all (desired) streams independently. I guess the answer is yes. If so, how can I get the "program name" in a named stream to know which one I'm processing? Thanks, Adi >* I have a udp feed with

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit writes: > I have a udp feed with a multi-program stream. > I need to demux all the streams simultaneously. > Can avlib do this? I may misunderstand your question but I believe FFmpeg can only demux all streams of a transport stream (you can of course ignore the streams that you d

[Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Adi Shavit
Hi, I have a udp feed with a multi-program stream. I need to demux all the streams simultaneously. Can avlib do this? If so, is there somewhere I can see an example of how to do this? Can anyone point me in the right direction? Thanks, Adi ___ Libav-u

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Mike Versteeg
Has anyone ever made ffmpeg decode an RTMP stream from FMS at all? Mike Versteeg mikeversteeg.com On Wed, Jul 24, 2013 at 10:50 AM, Mike Versteeg wrote: > Same stream from Wowza server works fine, but when using Adobe FMS I > keep getting the same error (note it works fine in a flash player). >