I have to apology me. I made a stupid mistake! I wrote my header 
(av_write_headers) before I opened my new mediafile. Sorry! But sometimes I 
miss the wood for trees :-). Many thanks to Erik and to the others who reading 
my questions. Thank you!

regards,
Sven

Am 27.01.2011 um 00:47 schrieb Sven Alisch:

> I found (maybe) the problematic point. The muxer layer aspect ratio and the 
> codec aspect ratio were different.
> 
> I add the line:
> 
> track->streamContext->sample_aspect_ratio = 
> track->codec_context->sample_aspect_ratio;
> 
> Now the streamContext has the same aspect ratio. But now I get a segfault in 
> ff_mpegts_parse_packet.
> 
> I am frustated. 
> 
> Am 27.01.2011 um 00:07 schrieb Erik Van Grunderbeeck:
> 
>>>> Hi Erik! thanks for your answer. 
>>>> Yes I am sure. I debugged and saw that the numerator and denumerator from
>> timebase-struct is set correctly and definitively not 0. 
>> Might try to compile your FF libs with very basic support (ege no MMX, SSE,
>> assembler support) and see if you still get it?
> 
> This did not helped :-(. Interesting is, if I do the same with ffmpeg:
> 
> ffmpeg -i NatGeoHD.ts -vcodec copy -acodec copy test.ts
> 
> then it works. Interesting is, that ffmpeg uses a lavf encoder for creating 
> the test.ts. 
> 
> regards,
> Sven
> 
> 
>> 
>> Erik
>> 
>> _______________________________________________
>> libav-user mailing list
>> [email protected]
>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
> 
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to