{"action":"opened","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/377","repository_url":"https://api.github.com/repos/bytedeco/javacv","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/377/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/377/events","html_url":"https://github.com/bytedeco/javacv/issues/377","id":145942996,"number":377,"title":"why I use av_interleaved_write_frame to write avpacket ,but screen showed blurred ","user":{"login":"wooden1985","id":18283068,"avatar_url":"https://avatars.githubusercontent.com/u/18283068?v=3","gravatar_id":"","url":"https://api.github.com/users/wooden1985","html_url":"https://github.com/wooden1985","followers_url":"https://api.github.com/users/wooden1985/followers","following_url":"https://api.github.com/users/wooden1985/following{/other_user}","gists_url":"https://api.github.com/users/wooden1985/gists{/gist_id}","starred_url":"https://api.github.com/users/wooden1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wooden1985/subscriptions","organizations_url":"https://api.github.com/users/wooden1985/orgs","repos_url":"https://api.github.com/users/wooden1985/repos","events_url":"https://api.github.com/users/wooden1985/events{/privacy}","received_events_url":"https://api.github.com/users/wooden1985/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-05T10:06:29Z","updated_at":"2016-04-05T10:06:29Z","closed_at":null,"body":"I use  \" avcodec_encode_audio2(audio_c, audio_cache_pack, frame, got_audio_packet) \" to get some avpackets,and add to a list. when I do it again, I delete the avpackets from the list,and I use  \" avcodec_encode_audio2(audio_c, audio_cache_pack, frame, got_audio_packet) \" to get some avpackets again,add to a list,at the end,I use \" synchronized (oc) {\r\n            if (interleaved && video_st != null) {\r\n                if ((ret = av_interleaved_write_frame(oc, audio_pkt)) < 0) {\r\n                    throw new Exception(\"av_interleaved_write_frame() error \" + ret + \" while writing interleaved audio frame.\");\r\n                }\r\n            } else {\r\n                if ((ret = av_write_frame(oc, audio_pkt)) < 0) {\r\n                    throw new Exception(\"av_write_frame() error \" + ret + \" while writing audio frame.\");\r\n                }\r\n            }\r\n        } \",it can get a video file,but when I play it,the screen showed blurred.why?\r\n\r\n Please forgive my bad  English"}}