Convert APNG to TS
Turn APNG images into TS. H.264 video in an MPEG transport stream, at 50 frames per second unless video.fps says otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop APNG files on the dialor turn it to pick what to do
An animated PNG as H.264 video.The result is one TS file at 50 frames per second unless you change it.
What you get
A single TS file holding H.264 video in an MPEG transport stream. The frame rate is 50 frames per second unless you set Frame rate (fps) to something else.
Every frame keeps its own timing. The hold on the last frame is kept too.
What changes
Transparency is not kept. The video does not loop by itself, so it plays through once and stops.
Options
Set Frame rate (fps) to a value from 1 to 120. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
Set Speed to play the video faster or slower, from 0.25 to 4. A value of 2 is twice as fast and 0.5 is half as fast.
When it fails
If the file could not be parsed, the conversion stops with
input_corrupted. To go the other way, use TS to APNG.
APNG and TS.What each format is, and the options this conversion takes.
- 01 · speed
Speed
Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.
0.25 to 4 - 02 · video.fps
Frame rate (fps)
Frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
1 to 120 default 50
The formats
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
MPEG Transport Stream
MPEG transport streams, the container of broadcast and HLS video.
- Extensions
- .ts .m2ts .mts
- MIME type
- video
/mp2t - Kind
- Video
In your code.The same APNG to TS conversion through the API, for your app or your agent.
$ cv convert photo.apng photo.ts$ cv convert photo.apng photo.tsQuestions.What people ask about APNG to TS.
50 frames per second, unless you set Frame rate (fps). It accepts values from 1 to 120.
No. Transparency is not kept in the TS file.
No. The video does not loop by itself.
Yes. Set Speed between 0.25 and 4. A value of 2 plays twice as fast and 0.5 plays at half speed.