[FFmpeg-user] Which function calls libvorbis.c::oggvorbis_encode_frame()?

Journeyer Jeonghum journeyerhum at gmail.com
Tue Feb 21 02:56:30 CET 2012


Hi, Tom

Thank you very much!
This tip would be very helpful for me.

Have a good day all of you..

Regards
Jeonghum Joh

2012/2/21 Tom Evans <tevans.uk at googlemail.com>:
> On Sun, Feb 19, 2012 at 1:26 PM, Journeyer Jeonghum
> <journeyerhum at gmail.com> wrote:
>> Hi,
>>
>> I am now studying ffmpeg source code expecially about vorbis encoder part.
>>
>> When I try a command below,
>>
>> ffmpeg -i "winlogon.wav" -t 60 -ar 44100 -ab 128k -ac 2 -acodec
>> libvorbis winlogon.ogg
>>
>> I can see that oggvorbis_encode_frame() in libvorbis.c is executed!
>>
>> Now I want to know which function calls oggvorbis_encode_frame().
>
> Since you are already using gdb:
>
>> gdb ffmpeg
>> br oggvorbis_encode_frame
>> # alternatively, br libvorbis.c:300 (replace 300 with line number)
>> run  -i "winlogon.wav" -t 60 -ar 44100 -ab 128k -ac 2 -acodec  libvorbis winlogon.ogg
>> # wait for breakpoint to be hit
>> bt
>
> You may want to make your build a bit more debug friendly, eg by
> configuring with --enable-debug=3 and --disable-stripping.
>
> Cheers
>
> Tom
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



-- 
----------------------------------------
Journeyer Jeonghum Joh
journeyerhum at gmail.com
----------------------------------------


More information about the ffmpeg-user mailing list