[x265] Passing multiple images to x265 CLI

Mario Rohkrämer contact at ligh.de
Sun Jun 24 14:08:50 CEST 2018


The current x265 CLI expects exactly one input file name. There is no  
logic coded to handle a sequence of input files to be processed. You will  
have to execute the encoder for one input file, wait for it to finish, and  
then start a new instance if there is more input to be encoded to a  
separate output file.

By the way, x265 does not support TIFF images as input, anyway: Only raw  
YUV video streams (with or without YUV4MPEG header).

To process a sequence of TIFF images as a video, you better use ffmpeg,  
which is able to read an image sequence named with a pattern you can  
describe with sprintf format strings. Also you would have to define the  
target frame rate explicitly as parameter for ffmpeg.

Alternatively, you would need to find a tool which can convert a sequence  
of TIFF images to a raw YUV stream with YUV4MPEG header if you prefer a  
separate x265 encoder (e.g. ffmpeg can output the format "-f yuv4mpegpipe"  
and feed x265 via | pipe).


Am 24.06.2018, 12:22 Uhr, schrieb Daniele Medda <drummedda at yahoo.it>:

> Hi everybody,
>
> I'm working on a research paper for my university and I'm trying to get  
> multiple images encoded by x265. I'll try to explain a little bit  
> better: I have 100 frames saved as single .tiff images and I would like  
> to get them converted in a x265 movie with a framerate of 30 fps. I have  
> tried passing them as <image_%04d.tiff> and also as <image_*.tiff>, but  
> x265 keeps stopping at frame number 2 with the following warning:
>
> x265 [warning]: extra unused command arguments given <image_0002.tiff>
>
> Is there a way to get this conversion done?
>
> I'm working with x265 v 2.3 (I need to use this version for research  
> reasons) on Linux, compiled from sources with 10 bits support.
>
>
> Thanks for the future help.
>
> Daniel
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel


-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de


More information about the x265-devel mailing list