<html><head></head><body data-blackberry-caret-color="#00a8df" style="background-color: rgb(255, 255, 255); line-height: initial;"><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">No one who can help with my problem or point me in the right direction? </div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Thanks in advance? </div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Sam</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br name="BB10" caretmarkerset="INVALID" class="markedForCaretMarkerRemoval"></span></div> <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"> <div id="_persistentHeader" style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;"> <div><b>Van: </b>sam.verschueren@gmail.com</div><div><b>Verzonden: </b>woensdag 9 juli 2014 07:07</div><div><b>Aan: </b>libav-user@ffmpeg.org</div><div><b>Onderwerp: </b>C++ ffmpeg mp4 to mp3 transcoding</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div><br><div id="_originalContent" style=""><meta http-equiv="Content-Type" content="text/plain;"><style> body { font-family: "Calibri","Slate Pro","sans-serif"; color:#262626 }</style> <div>Hi devs<span style="font-family: Calibri, 'Slate Pro', sans-serif;"></span></div><div><span style="font-family: Calibri, 'Slate Pro', sans-serif;"><br></span></div><div><span style="font-family: Calibri, 'Slate Pro', sans-serif;"><br></span><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;">I am working on an application that converts the audio of an mp4 video to an mp3 file. I managed to compile ffmpeg with libmp3lame so I'm good to go. I don't really have experience with ffmpeg in C++ and after searching for solutions I'm kinda desperate now.</span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;"><br></span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;">The problem is in avcoded_encode_audio2(). The function is not returning, the application hangs at that line and never prints the output at the next lines. </span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;"><br></span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;">I submitted the question to stack overflow but with no response. It will probably be easier for you guys to click the link because the code will be easier to read then in this mail. </span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;"><br></span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;"> </span><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;">http://stackoverflow.com/questions/24537641/c-ffmpeg-mp4-to-mp3-transcoding</span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;"><br></span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;">Thanks in advance </span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;"><br></span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;">Sam</span></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, 'Droid Sans', DroidSansRegular, Arial, sans-serif; font-size: 15px; line-height: 18px;"><br></span></div>
<br><!--end of _originalContent --></div></body></html>