[FFmpeg-devel] Convert audio to DBFS

2017-03-01 Thread Chau Pham
Hi there I am doing audio converting and use ffmpeg. I looked into a ffmpeg sample program demuxing_decoding.c and inside decode_packet function ... size_t unpadded_linesize = frame->nb_samples * av_get_bytes_per_sample((AVSampleFormat)frame->format); fwrite(frame->extended_data[0

[FFmpeg-devel] Match per stream option macro

2016-02-22 Thread Chau Pham
Hello, Is there anyone help me to explain what does the Macro below do? This macro is in ffmpeg_opt.c #define MATCH_PER_STREAM_OPT(name, type, outvar, fmtctx, st)\ {\ int i, ret;\ for (i = 0; i < o->nb_ ## name; i++) {\ char *spec = o->name[i].specifier;\ if ((ret = che

Re: [FFmpeg-devel] Debugging option

2016-02-17 Thread Chau Pham
I cannot find any solution from your suggestion, it seems to waste time for me to do invaluable stuff, but finally, I found the way to debug whole project. 1) Ubuntu 14.04 LTS 64 bit 2) Eclipse Mars 64 bit, GDB 7.1, CDT 8.7 3) configuration debug option --disable-stripping --enable-debug=3 --ex

Re: [FFmpeg-devel] Debugging option

2016-02-17 Thread Chau Pham
Thank you, how can I use the debug-version of libavformat? Could you show me some more detail? how can I build libavformat debug version? "Please don't top-post. Did you re-build libavformat after changing the config options, and is your build of ffmpeg_g using the debug-version of libavformat

Re: [FFmpeg-devel] Debugging option

2016-02-17 Thread Chau Pham
Thank you, how can I use the debug-version of libavformat? Could you show me some more detail? how can Ibut libavformat debug version? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] Debugging option

2016-02-17 Thread Chau Pham
option On 17.02.2016 07:55, Chau Pham wrote: > sorry, " debug cannot go outside of ffmpeg.c" > > > From: ffmpeg-devel on behalf of Chau Pham > > Sent: Wednesday, February 17, 2016 6:50 AM > To: FFmpeg development discussions

Re: [FFmpeg-devel] Debugging option

2016-02-16 Thread Chau Pham
sorry, " debug cannot go outside of ffmpeg.c" From: ffmpeg-devel on behalf of Chau Pham Sent: Wednesday, February 17, 2016 6:50 AM To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Debugging option Good morning !! I jus

[FFmpeg-devel] Debugging option

2016-02-16 Thread Chau Pham
Good morning !! I just compiled debug version of ffmpeg in linux ubuntu with eclipse with options: --disable-stripping --enable-debug=3 --extra-cflags="-gstabs+" --disable-optimizations after compiling ,I can debug ffmpeg.c but only inside ffmpeg.c, debug cannot go into outside of ffmp

[FFmpeg-devel] Codec for GPS

2016-02-14 Thread Chau Pham
Hi Seniors what codec does ffmpeg use for GPS? Thank in advance Tim ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] FFplay with 2 video streams in concurrent time

2016-02-10 Thread Chau Pham
reams.. From: ffmpeg-devel on behalf of Paul B Mahol Sent: Friday, February 5, 2016 9:09 PM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] FFplay with 2 video streams in concurrent time On 2/5/16, Chau Pham wrote: > Dear Senior, > > > I would like

[FFmpeg-devel] FFplay with 2 video streams in concurrent time

2016-02-04 Thread Chau Pham
eo stream, is there anyway to play 2 video streams in concurrent time? because my avi content includes 2 video streams.. and others stream Thanks Chau Pham ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel