user-1088
24-11-2016, 08:57 PM
Hi
(Windows 7, Get_iplayer 2.97, ffmpeg 3.0)
I'm attempting to use ffmpeg within get_iplayer to extract the .aac file from a .m4a & then delete the original .m4a. ffmpeg appears to have no internal delete option so I'm trying to use Windows old DOS commands.
<snip> of relevant command:
To test it I'm using DOS 'ren' rename command. The full command downloads the m4a, but ffmpeg creates a zero size .aac file & then finishes. If I run one of either 'ffmpeg or 'ren' without the other, they both work as expected.
I've tried separating them out so there are two '--command' but whichever order they're in it only processes the latter.
I've run out of ideas. Anybody able to help?
2 side questions:
Is there a difference between --fileprefix & --file-prefix?
Is there a 'paste code' option in this forum?
Cheers
Dave F.
(Windows 7, Get_iplayer 2.97, ffmpeg 3.0)
I'm attempting to use ffmpeg within get_iplayer to extract the .aac file from a .m4a & then delete the original .m4a. ffmpeg appears to have no internal delete option so I'm trying to use Windows old DOS commands.
<snip> of relevant command:
Code:
--command="ffmpeg.exe -i \""<filename>"\" -acodec copy \""C:\Downloads\R&M\<fileprefix>.aac"\" ren \""<filename>"\" \""zxc.mp3"\""
To test it I'm using DOS 'ren' rename command. The full command downloads the m4a, but ffmpeg creates a zero size .aac file & then finishes. If I run one of either 'ffmpeg or 'ren' without the other, they both work as expected.
I've tried separating them out so there are two '--command' but whichever order they're in it only processes the latter.
I've run out of ideas. Anybody able to help?
2 side questions:
Is there a difference between --fileprefix & --file-prefix?
Is there a 'paste code' option in this forum?
Cheers
Dave F.