[FFmpeg-devel] [PATCH v17] avformat/dashdec: add dash demuxer base version

Timo Rothenpieler timo at rothenpieler.org
Wed Aug 30 14:50:05 EEST 2017


>> Just wanted to point out, as stated on IRC, that dashenc already has a
>> function that seems to safely solve the filename template issue, and looks
>> like it can be moved into a common file + header, and reused as is:
>>
>> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/dashenc.c;h=bdb332c71ab4aae87201c87c3d43938a07a9ed5c;hb=HEAD#l314
>>
> I have try to used that APIs, but it need some modify :
> template $Number-%d$ will ok, but $Number$ will wrong, maybe mux
> operation different to demux, or i misunderstand some thing?

This looks to me like just $Number$ should work fine as well.
It will expand to, basically, printf("%d", number);

http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/dashenc.c;h=bdb332c71ab4aae87201c87c3d43938a07a9ed5c;hb=HEAD#l289

If there is some feature missing from it, it can most likely easily be 
added without breaking dashenc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170830/8a9400f7/attachment.bin>


More information about the ffmpeg-devel mailing list