Hello. 

I found some strange issue with threading I can't explain myself. I use libav
with multiple threads to decode videos simultaneously. Every time I open a
stream, I call dump_format. However, any thread that is not the one I used to
initialize libav, dumps corrupted codec names. See this example:

Input #0, flv, from
'http://www.youtube.com/get_video?video_id=YlVG4zaJ898&t=vjVQa1PpcFMCd1B-21fix2Z44jEfiYBf1cMecxNALFc=':
  Duration: 00:02:27.72, start: 0.000000, bitrate: 309 kb/s
    Stream #0.0: Video: ���...@�, yuv420p, 320x240, 245 kb/s, 25 tbr, 1k tbn, 
1k tbc
    Stream #0.1: Audio: @v, 22050 Hz, mono, s16, 64 kb/s

That happens even with strong synchronization of all libav calls, so actually no
simultaneous processing occurs at all. 

Any ideas?

many thanks, 

Paul


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

Reply via email to