Skip to content

Commit

Permalink
agregando archivo de conversion a mp4 y se agrega autor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chek0rrdn committed May 15, 2023
1 parent 3a5010d commit e7215aa
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions conv_a_mp4_pru.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
#Autor: Edgar Alberto Pérez


# Verificar si se ha proporcionado un archivo de entrada
if [ $# -eq 0 ]; then
echo "Por favor, proporcione un archivo de entrada."
exit 1
fi

# Asignar nombres de archivo de entrada y salida
input=$1
output="${input%.*}_.mp4"

# Convertir el archivo de video al formato compatible con Roku
ffmpeg -i "$input" -c:v libx264 -profile:v high -level:v 4.0 -pix_fmt yuv420p -preset medium -crf 23 -c:a aac -b:a 192k -ac 2 "$output"

# Mostrar mensaje de finalización
echo "La conversión del archivo $input ha sido completada. El archivo resultante es $output."

# ./convert-to-roku.sh /ruta/a/mi/video.avi
1 change: 1 addition & 0 deletions quitar_espacios.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
#Autor: Edgar Alberto Pérez

# Función para renombrar archivos
function renombrar_archivos {
Expand Down
1 change: 1 addition & 0 deletions quitar_espacios_carpetas.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
#Autor: Edgar Alberto Pérez

# Función para renombrar carpetas
function renombrar_carpetas {
Expand Down

0 comments on commit e7215aa

Please sign in to comment.