i have 2 bash scripts wich i am trying to use which require avconv
when i run the scripts i get the error
bash: avconv: command not found
but since i dont know where to find avconv in either pacman or cower i was wandering if i could change the scripts to use ffmpeg instead
here are my scripts
stream.sh
#!/bin/bash
avconv -re -v error -fflags +genpts -i "$1" -c copy -f mpegts pipe:1
livestreamer.sh
#!/bin/bash
livestreamer -O "$1" best | avconv -re -v error -fflags +genpts -i pipe:0 -bsf h264_mp4toannexb -vcodec libx264 -acodec ac3 -f mpegts pipe:1
Asked by harry mckay
(9 rep)
Jan 4, 2019, 04:02 PM
Last activity: Jan 4, 2019, 06:02 PM
Last activity: Jan 4, 2019, 06:02 PM