forked from axiom-team/astrXbian
FILE_RES = nb pixel hauteur
This commit is contained in:
parent
6cec7028e0
commit
c826068399
|
@ -93,7 +93,7 @@ TITLE=$(zenity --entry --width 300 --title "Titre" --text "Indiquez le titre de
|
||||||
YEAR=$(zenity --entry --width 300 --title "Année" --text "Indiquez année de la vidéo. Exemple: 1972" --entry-text="")
|
YEAR=$(zenity --entry --width 300 --title "Année" --text "Indiquez année de la vidéo. Exemple: 1972" --entry-text="")
|
||||||
|
|
||||||
# VIDEO RESOLUTION
|
# VIDEO RESOLUTION
|
||||||
FILE_RES=$(ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "${FILE}" | cut -d "x" -f 1)p
|
FILE_RES=$(ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 "${FILE}" | cut -d "x" -f 2)p
|
||||||
RES=$(zenity --entry --width 300 --title="Résolution" --text="Indiquez la résolution de la vidéo" --entry-text="${FILE_RES}" 720p 1080p SD HD 4K)
|
RES=$(zenity --entry --width 300 --title="Résolution" --text="Indiquez la résolution de la vidéo" --entry-text="${FILE_RES}" 720p 1080p SD HD 4K)
|
||||||
|
|
||||||
# VIDEO SEASON or SAGA
|
# VIDEO SEASON or SAGA
|
||||||
|
|
Loading…
Reference in New Issue