Initializing... drag & drop files here
Supports: APNG, PNG
This page walks through turning an animated PNG into an MPEG transport stream (.ts) — the packetised container that broadcast, IPTV, and HLS tooling expects. You will end up with a silent, opaque video clip that carries every frame of the animation at its original timing, plus the settings that decide its codec, size, and the colour that replaces the APNG's transparency.
.apng and animated .png are accepted, and each file in the batch becomes its own transport stream..ts file. Uploads travel over an encrypted connection, run on our servers, and are deleted automatically after a few hours — no sign-up, no watermark.Three settings do almost all the work on this page, and they interact.
| Video Codec for TS | What it is | Pick it when |
|---|---|---|
| H.264 (default) | ISO/IEC 14496-10 AVC — the modern broadcast and streaming baseline | Almost always: HLS segments, IPTV, any current player |
| H.265 | HEVC — roughly half the bitrate of H.264 at similar quality | Bandwidth matters and every device in the chain decodes HEVC |
| MPEG-2 | ISO/IEC 13818-2 — the original digital-TV video codec | Legacy broadcast gear, DVD authoring, capture hardware from the DVB/ATSC era |
| MPEG-4 / Xvid / DivX | MPEG-4 Part 2 ASP encoders | Feeding an old media player or hardware profile that predates H.264 |
| MPEG-1 | ISO/IEC 11172-2 — the VCD-era codec | Maximum compatibility with very old decoders, at a real quality cost |
.ts extension even though they can decode the contents. Try VLC or mpv first; if the file has to open everywhere, convert APNG to MP4 instead.A transport stream is the right target only when something downstream genuinely speaks MPEG-TS: an HLS packager, an IPTV or playout server, a hardware encoder, or a capture workflow. RFC 8216 — the HLS specification — lists MPEG-2 Transport Streams as one of the permitted media segment formats and requires each segment to open with its PAT and PMT tables, which is why segmenters still hand .ts files around today. Outside that world the format buys you nothing: browsers will not play a raw .ts inline, editors often refuse to import one, and cloud storage previews ignore it. If you just want a shareable clip of your animation, APNG to MP4 or APNG to WebM is the better ending. And if the animation should stay an animation rather than become video, APNG to GIF keeps it as a looping image.
Yes. An animated PNG is detected as a frame sequence and fed through the video pipeline exactly like a GIF, so all frames land in the stream with the timing stored in the source file. That is different from the still-image targets on this site, where only the first frame is used. There is no "image duration" setting on this page for the same reason — the animation already carries its own timing.
Because the source has none. An APNG is an image format with no sound, and the converter does not synthesise a silent audio track, so the muxer writes a video-only stream. That is legal MPEG-TS and plays fine, but a handful of broadcast tools expect at least one audio elementary stream — if yours does, mux one in afterwards with your own tooling.
It is an MPEG transport stream, defined in ISO/IEC 13818-1 (also published as ITU-T H.222.0). The format carries audio, video, and metadata as small fixed-size 188-byte packets, a design meant for lossy delivery channels: if part of the stream is lost, a decoder can resynchronise at the next packet instead of losing the whole file. That is why it underpins DVB and ATSC broadcast, IPTV, and HLS segments.
No. The encoder writes ordinary opaque video, and transparent pixels are composited onto the Background Color before encoding — that is what the control is for. If the transparency is the point of the animation, keep it in an image format that supports alpha: APNG to GIF keeps every frame plus a transparent colour index, and APNG to WebP returns the first frame as a still with a full alpha channel.
H.264 unless something specific asks otherwise: it is the default here and what HLS packagers, IPTV set-tops, and every current player expect. Choose MPEG-2 when you are feeding genuinely old broadcast or DVD-era equipment, H.265 when bandwidth matters more than compatibility, and MPEG-4 / Xvid / DivX only to satisfy a legacy hardware profile.
Usually much smaller. APNG stores every frame losslessly with DEFLATE, so a few seconds of animation can run to several megabytes; a constant-quality H.264 encode of the same frames typically collapses that by an order of magnitude. Flat-colour animation with large uniform areas compresses especially well. The exception is a very short APNG of a tiny sprite, where container overhead can leave the two files comparable.
| Question | TS | MP4 |
|---|---|---|
| Standard | ISO/IEC 13818-1 (MPEG-2 Systems) | ISO/IEC 14496-14 |
| Designed for | Broadcast, IPTV, HLS segments, live capture | Storage, download, general playback |
| Loss resilience | High — a decoder resyncs at the next 188-byte packet | Low — a damaged header can break the file |
| Browser / social upload | Not played inline; usually rejected | Universally accepted |
| Seeking and metadata | Weak — no index, no chapters | Strong — index, chapters, cover art |
Pick TS when a packager, streaming server, or piece of hardware requires it, and MP4 for everything else.
It is uploaded over an encrypted (TLS) connection, converted on our servers, and deleted automatically after a few hours. There is no sign-up, no watermark, and files are never shared or made public.