[x265] Passing multiple images to x265 CLI

Daniele Medda drummedda at yahoo.it
Sun Jun 24 16:12:09 CEST 2018


Thanks for the reply. I was already using ffmpeg for the task and I was 
mistakenly expecting for x265 to work in a similar way. I will convert 
the frames into a YUV video stream.



Il 24/06/2018 14:08, Mario Rohkrämer ha scritto:
> 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
>
>



More information about the x265-devel mailing list