etomahawk / tstools

Automatically exported from code.google.com/p/tstools
0 stars 0 forks source link

VLC shows: picture is too later to display #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download h264 and aac file at 
https://github.com/china-east-soft/h264-aac_to_ts/raw/master/demo/video.h264 
and https://github.com/china-east-soft/h264-aac_to_ts/raw/master/demo/audio.au
2. run ./bin/esmerge demo/audio.au demo/video.h264 xxx.ts 
3. the using VLC to play the xxx.ts file, it can not works well

What is the expected output? What do you see instead?

I want to the output file can be played fine.

What version of the product are you using? On what operating system?

I test the master branch code on both ubuntu and Mac OSX

Please provide any additional information below.

It can be played fine if using the ffmpeg to mux 

Original issue reported on code.google.com by liu19850...@gmail.com on 13 Sep 2013 at 9:34

GoogleCodeExporter commented 9 years ago
I solve this bug by adding an "not logic" in esmerge.c

the result of this line is as below:

if (!is_I_or_IDR_frame(access_unit))

hope it work to you, good luck!

Original comment by tandi...@gmail.com on 17 Apr 2015 at 7:26