Opened 15 years ago
Closed 14 years ago
#2233 closed enhancement (fixed)
A PERL script to be run as a userjob to export DVB radio recordings to MP3
Reported by: | Owned by: | Stuart Auchterlonie | |
---|---|---|---|
Priority: | trivial | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
How to use dvbradioexport.pl
dvbradioexport.pl %CHANID% %STARTTIME% %ENDTIME% exportdir bitrate --debug
%CHANID% = channel ID associated with the recording to export
%STARTTIME% = recording start time in either 'yyyy-mm-dd hh:mm:ss' or 'yyyymmddhhmmss' format
%ENDTIME = as %STARTTIME% but for the recording end time
exportdir = dir to export completed MP3 files to (note the user the script runs as must have write permission on that dir
bitrate = CBR bitrate in kbps (e.g. 192)
--debug = enable debugging information - outputs which commands would be run etc
Attachments (3)
Change History (6)
Changed 15 years ago by
Attachment: | dvbradioexport.pl added |
---|
comment:1 Changed 15 years ago by
Milestone: | unknown → 0.21 |
---|
comment:2 Changed 14 years ago by
Thanks for this script. I have used it but changed it to output pcm instead of mp3, because I burned the files to an audio CD. I used, for instance, '-acodec pcm_s16le -ar 44100 -f wav' instead of '-acodec mp3 -ab 192 -f mp3'. This should IMHO be configurable, i.e. command line option for specifying codec too. In case of pcm, the command line option 'bitrate' is then samplerate.
Changed 14 years ago by
Attachment: | dvbradioexport.2.pl added |
---|
slightly updated version of the script
Changed 14 years ago by
Attachment: | dvbradioexport.3.pl added |
---|
Updated to use perl bindings and work with storage groups.
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This needs to be updated to work with the latest ffmpeg command line. Also it would be wise to check the bitrate of the recorded stream before exporting so as to avoid upconverting the recording to a higher bitrate which is pointless and a waste of disk space.