Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generated ts file unplayable #15

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments
Open

generated ts file unplayable #15

GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
0. pick a simple valid ts file (test.ts)
1. es2ts: generate a es file from test.ts: test.es
2. ts2es: generate test-es.ts from test.ts
3. test-es.ts is not playable any more

What is the expected output? What do you see instead?
The regenerated ts file should be playable (and functionally equivalent to the 
original ts file)

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

Please provide any additional information below.
Sample ts file (cut from Apple example). Small, only 193 packets.

Original issue reported on code.google.com by jfgao...@gmail.com on 27 Nov 2011 at 2:37

Attachments:

@GoogleCodeExporter
Copy link
Author

Sorry, there are typos. Here are the steps:

0. pick a simple valid ts file (test.ts)
1. generate a es file from test.ts
    ts2es test.ts test.es
2. es2ts: generate ts from test.es
    es2ts test.es test-es.ts
3. play the generate ts file: test-es.ts 
4. it is not playable 

Original comment by jfgao...@gmail.com on 27 Nov 2011 at 2:43

@GoogleCodeExporter
Copy link
Author

I've seen the same issue and have dug through the stream and found that the PES 
header does not have a PTS or DTS set and there is no mpeg-2 ts PCR packet.  
I've assumed but not verified that this is at least one of the problems.

Original comment by petersen...@gmail.com on 15 Aug 2013 at 10:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant