Artwork

محتوای ارائه شده توسط HPR Volunteer and Hacker Public Radio. تمام محتوای پادکست شامل قسمت‌ها، گرافیک‌ها و توضیحات پادکست مستقیماً توسط HPR Volunteer and Hacker Public Radio یا شریک پلتفرم پادکست آن‌ها آپلود و ارائه می‌شوند. اگر فکر می‌کنید شخصی بدون اجازه شما از اثر دارای حق نسخه‌برداری شما استفاده می‌کند، می‌توانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal
Player FM - برنامه پادکست
با برنامه Player FM !

HPR4287: Schedule audio recordings on the command line

 
اشتراک گذاری
 

Manage episode 459689346 series 108988
محتوای ارائه شده توسط HPR Volunteer and Hacker Public Radio. تمام محتوای پادکست شامل قسمت‌ها، گرافیک‌ها و توضیحات پادکست مستقیماً توسط HPR Volunteer and Hacker Public Radio یا شریک پلتفرم پادکست آن‌ها آپلود و ارائه می‌شوند. اگر فکر می‌کنید شخصی بدون اجازه شما از اثر دارای حق نسخه‌برداری شما استفاده می‌کند، می‌توانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal
TuxJam co-host Kevie does a follow up show to episode 4249 with a look at scheduling a stream recording using crontab and the ffmpeg command. The two things that we will need to set this up are the audio stream url and the time of the show. To set this up we need to go setup a new Cron task: crontab -e and navigate to the bottom of the file. The first thing that it will expect you to enter is the timing for this task, this will be written as * * * * * with the information needed being converted into an appropriate number: minute hour day of month month day of week (0-59) (0-23) (1-31) (1-12) (0-7) * * * * * Then we need to enter ffmpeg -i followed by the stream URL. It is important that we include the duration of the recording, so that this doesn't output a huge file. To set the time enter -t HH:MM:SS making sure to replace the HH(hours) MM(minutes) and SS(seconds) with numbers. Almost done. The last thing we need to do is to enter the location for the file to go along with the name /path/filename.ogg. So in short form the command is * * * * * ffmpeg -i https://streamurl -t HH:MM:SS /path/filename.ogg. The example used in the show for Dan Lynch's Mid Week Pick and Mix: 00 19 * * 4 ffmpeg -i https://arrowestream.radioca.st/;?ver=737183.mp3 -t 02:00:00 ~/Recordings/DanLynchPickMix.ogg
  continue reading

4373 قسمت

Artwork
iconاشتراک گذاری
 
Manage episode 459689346 series 108988
محتوای ارائه شده توسط HPR Volunteer and Hacker Public Radio. تمام محتوای پادکست شامل قسمت‌ها، گرافیک‌ها و توضیحات پادکست مستقیماً توسط HPR Volunteer and Hacker Public Radio یا شریک پلتفرم پادکست آن‌ها آپلود و ارائه می‌شوند. اگر فکر می‌کنید شخصی بدون اجازه شما از اثر دارای حق نسخه‌برداری شما استفاده می‌کند، می‌توانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal
TuxJam co-host Kevie does a follow up show to episode 4249 with a look at scheduling a stream recording using crontab and the ffmpeg command. The two things that we will need to set this up are the audio stream url and the time of the show. To set this up we need to go setup a new Cron task: crontab -e and navigate to the bottom of the file. The first thing that it will expect you to enter is the timing for this task, this will be written as * * * * * with the information needed being converted into an appropriate number: minute hour day of month month day of week (0-59) (0-23) (1-31) (1-12) (0-7) * * * * * Then we need to enter ffmpeg -i followed by the stream URL. It is important that we include the duration of the recording, so that this doesn't output a huge file. To set the time enter -t HH:MM:SS making sure to replace the HH(hours) MM(minutes) and SS(seconds) with numbers. Almost done. The last thing we need to do is to enter the location for the file to go along with the name /path/filename.ogg. So in short form the command is * * * * * ffmpeg -i https://streamurl -t HH:MM:SS /path/filename.ogg. The example used in the show for Dan Lynch's Mid Week Pick and Mix: 00 19 * * 4 ffmpeg -i https://arrowestream.radioca.st/;?ver=737183.mp3 -t 02:00:00 ~/Recordings/DanLynchPickMix.ogg
  continue reading

4373 قسمت

Tất cả các tập

×
 
Loading …

به Player FM خوش آمدید!

Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.

 

راهنمای مرجع سریع

در حین کاوش به این نمایش گوش دهید
پخش