>I wrote a Transcoder it works fine so far, in generell its X Container/Format to MP4/H264.
>We have a 20min File (5GB) its a QuickTime Movie (DNxHD36) the MP4 Output works fine with VLC (no sync issue).
>But if i open it with Quicktime Player (v 10.x) i get a async audio after 5min, if i using the Scrubbing Bar from the Player it resync and >after 5min playtime it gets out of sync again.
 
Hi me again,

i now test a little bit with the transcoder.c example from ffmpeg 2.x and i changed it a little bit so that it transcodes to h264/aac.
and there i get the same "out of sync" issues. (ofc im only do trial and error)
Is it possible that maybe libfaac has some trouble, i'm not 100% sure but i believe i compiled ffmpeg libs with libfaac and read somewhere there might some problems with it. Someone knows anything about this? Is it possible in general? Are there some analytic Tools?
Is it possible to see which value QT decodes/reads... so that i gain some data?

On the other hand... if i google about "quicktime sound out of sync" i get some entries but not ffmpeg related... hmm... i hate these digging and not knowing whats going on.

This is what i use for encoder context in your transcoder example, just the basis:

video:
enc_ctx->codec_id = AV_CODEC_ID_H264;
enc_ctx->sample_aspect_ratio = dec_ctx->sample_aspect_ratio;
enc_ctx->pix_fmt = AV_PIX_FMT_YUV420P;
enc_ctx->level = 31;
enc_ctx->profile = ""> AVDictionary * codec_options( 0 );
av_dict_set( &codec_options, "preset", "slow", 0 );
av_dict_set(&codec_options, "vprofile", "baseline", 0);

audio:
enc_ctx->profile = ""> enc_ctx->codec_id = AV_CODEC_ID_AAC;
enc_ctx->sample_rate = 48000;
enc_ctx->channels = 2;
enc_ctx->channel_layout = AV_CH_LAYOUT_STEREO;
AVDictionary * codec_options( 0 );
av_dict_set(&codec_options, "strict", "experimental", 0);

 
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to