#1
|
|||
|
|||
![]()
I'm setting up a plugin so that it saves videos with the title
"[*DATE*] *VIDEO_NAME* (*CHANNEL*) *WIDTH*p.avi". Original video title "Fate Zero Op 2 [NC]". jdownloader saves it with this name - "Fate Zero Op 2 [NC] (360p 24fps) mp4" What am I doing wrong?
Spoiler:
Last edited by Jiaz; 29.06.2022 at 13:30. |
#2
|
||||
|
||||
![]()
@K14M: you have to use *ext* placeholder else the whole pattern will be invalidated/not used.
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 29.06.2022 at 13:34. |
#3
|
|||
|
|||
![]()
Very illogical. Why then do you need *ext* if it can not be removed? What if I really need to change the extension of the video file?
|
#4
|
|||
|
|||
![]()
In general, I did this [*DATE*] *VIDEO_NAME* (*CHANNEL*) *WIDTH*p *ext*.avi
And how to make it so that in the date of the video, the month was indicated by a number and not by a word? |
#5
|
||||
|
||||
![]()
I just checked source and explained the reason why. I guess the *ext* is mandatory else the filename would be without file extension and ppl would wonder why it doesn't work as expected. We could change it to auto guess if the filename scheme contains sort of file extension or not and auto append *ext* if missing. problem is this won't be working in all cases, eg mycoolvideo.720, is this extension or just a number.
__________________
JD-Dev & Server-Admin |
#6
|
||||
|
||||
![]()
I'm sorry but I don't understand. just changing the extension won't change the content of the file. mp4 and avi are two different container formats and renaming mp4 container to .avi extension may work but also may fail, heavily depends on the used player software if it trusts extension or peeks fileformat/container. If you want to change the extension you should also convert/remux the file to match the new/different extension.
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 03.07.2022 at 11:22. |
#7
|
||||
|
||||
![]() Quote:
Quote:
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|