Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Thread Tools Search this Thread Display Modes
Old 9th May 2018, 17:44   #1  |  Link
Registered User
Join Date: Jul 2016
Posts: 17
How to play x265 bitstream?

I get some test sequences from http://ultravideo.cs.tut.fi/#testsequences.

Right now, I want to see the output file of x265.
From http://x265.readthedocs.io/en/latest...doption-output, the format of the output file is a raw bitstream.
However, it seems like I need a container to wrap it so that I can play the video. (Am I right?)
If so, how do I do this in my computer? (arch linux)
Or, can anyone give me some concepts or workflow about it?
Thanks a lot.
asdf013cv is offline   Reply With Quote
Old 9th May 2018, 21:22   #2  |  Link
Registered User
Join Date: Dec 2002
Posts: 5,565
Some players (e.g. mpv and ffplay) can play "raw" HEVC/H.265 bitstreams but if you want to seek (in contrast to just watch linearly from start to end) it can become problematic because the raw bitstream doesn't have any index. Seeking might work to some extend but the results can be erratic (inaccurate seeking, artifacts, not work at all).

If you have trouble seeking you can remux using mkvmerge. E.G.: mkvmerge -o "output.mkv" "input.265". Or you directly encode into an mkv or mp4 container using ffmpeg (it has integrated libx265).

Last edited by sneaker_ger; 9th May 2018 at 21:25.
sneaker_ger is offline   Reply With Quote
Old 10th May 2018, 05:00   #3  |  Link
Registered User
Join Date: Jul 2016
Posts: 17
Thanks a lot!
I use ffplay to play my bitstream, and it works.

Last edited by asdf013cv; 10th May 2018 at 05:14.
asdf013cv is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 22:22.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.