On 22/12/15 20:19, Jon Davies wrote:
> $ find . -iname \*.aac | while read f; do ffmpeg -i "$f" -c copy
> -bsf:a aac_adtstoasc "${f%.aac}".m4a; done
>
Jon,

Mostly works - thank you. But some files are failing to be converted with an error message stating that the file cannot be found - but the reported file name is missing some at the start. For example file:

Richard Ingrams - The Life and Adventures of William Cobbett - Part 1 (R4 2005-06-27).aac

fails with the error message:

d Adventures of William Cobbett - Part 1 (R4 2005-06-27).aac: No such file or directory

The section "Richard Ingrams - The Life an" has been omitted.

This is happening in multiple directories but only to some of the files in each directory. For example, there are five "Life and Times" files, two are converted and three are not. Then, for Nineteen Ninety-Eight, three are converted and three are not.

Do you have any ideas please?

Regards

Clive

PS - For reasons I can't explain my replies are not getting through (and they are not html). They leave but don't appear to arrive but new emails seem fine. Hence, this method of replying.

To BG99 - thank you for your help. The line works fine.

_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to