Hello, i use ffmpeg with Tvheadend to transcode DVB to my mobilephone. In some 
case I habe no sound, But Video or no Video, But sound, or the Video has 
freezer. After close ffmpeg and Start again its work Fine. How can i implement 
a automatic detection to restart ffmpeg?

Now my pipe is:


#!/bin/bash
url=$1
su
/usr/local/bin/ffmpeg \
-i $url \
-i /home/logo/HD.png \
-filter_complex overlay=main_w-overlay_w-10:main_h-overlay_h-10 \
-vcodec h264_qsv \
-b 2000k \
-minrate 2000k \
-maxrate 2000k \
-bufsize 2000k \
-preset fast \
-s 1280x720 \
-acodec aac \
-ab 128k \
-ar 44100 \
-ac 2 \
-strict \
-2 \
-metadata service_provider="Team" \
-metadata service_name=$name \
-f mpegts pipe:1

exit 0

Best reguards
Spyer
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to