Recovering corrupted m4a recordings

Clash Royale CLAN TAG#URR8PPP up vote
3
down vote
favorite
I have been using Ubuntu on my school computer this year, I usually record the lectures that I can't hope to keep up with the prof, I have permission to do this. I have been using the default audio recorder that you can install with sudo apt-get install audio-recorder because it was the easiest to use. Earlier in the semester they recordings were fine. But now they are corrupt as soon as the recording is done. They are in the .m4a format.
I have tried many tutorials, including editing the hex data of the recording, no luck. I do not know where the recording starts since when I try to make a new recording it is corrupt off the bat. I have tried using ffmpeg to get this error, moov atom not found, which looking up does nothing to help solve the problem. Or I get an error saying protocol not found. Did you mean in.m4a? which is the name of the file, that I typed in correctly. ffmpeg returns a âÂÂprotocol not foundâ error. Then it says do you mean the file that I did put in. Faad returns this error: Unable to find correct AAC sound track in the MP4 file. Also I tried an mp4 repair service and it works so the file should be able to be fixed. But it would cost $86 for it, and I need to fix 6 recordings.
I have tried uninstalling and reinstalling the restricted codecs.
Any help would be greatly appreciated.
sound ffmpeg aac m4a
add a comment |Â
up vote
3
down vote
favorite
I have been using Ubuntu on my school computer this year, I usually record the lectures that I can't hope to keep up with the prof, I have permission to do this. I have been using the default audio recorder that you can install with sudo apt-get install audio-recorder because it was the easiest to use. Earlier in the semester they recordings were fine. But now they are corrupt as soon as the recording is done. They are in the .m4a format.
I have tried many tutorials, including editing the hex data of the recording, no luck. I do not know where the recording starts since when I try to make a new recording it is corrupt off the bat. I have tried using ffmpeg to get this error, moov atom not found, which looking up does nothing to help solve the problem. Or I get an error saying protocol not found. Did you mean in.m4a? which is the name of the file, that I typed in correctly. ffmpeg returns a âÂÂprotocol not foundâ error. Then it says do you mean the file that I did put in. Faad returns this error: Unable to find correct AAC sound track in the MP4 file. Also I tried an mp4 repair service and it works so the file should be able to be fixed. But it would cost $86 for it, and I need to fix 6 recordings.
I have tried uninstalling and reinstalling the restricted codecs.
Any help would be greatly appreciated.
sound ffmpeg aac m4a
1
drive.google.com/file/d/1pt2op6vgr0Kvwi96wKdDoY0COI4vJUUN/⦠I hope a Drive link is okay
â KeenanKer
Apr 10 at 13:15
1
drive.google.com/open?id=1QN90YlEOllGyWdG3azZu_3OhxLhNZQ3f Here is a smaller one if that is to large.
â KeenanKer
Apr 10 at 13:26
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have been using Ubuntu on my school computer this year, I usually record the lectures that I can't hope to keep up with the prof, I have permission to do this. I have been using the default audio recorder that you can install with sudo apt-get install audio-recorder because it was the easiest to use. Earlier in the semester they recordings were fine. But now they are corrupt as soon as the recording is done. They are in the .m4a format.
I have tried many tutorials, including editing the hex data of the recording, no luck. I do not know where the recording starts since when I try to make a new recording it is corrupt off the bat. I have tried using ffmpeg to get this error, moov atom not found, which looking up does nothing to help solve the problem. Or I get an error saying protocol not found. Did you mean in.m4a? which is the name of the file, that I typed in correctly. ffmpeg returns a âÂÂprotocol not foundâ error. Then it says do you mean the file that I did put in. Faad returns this error: Unable to find correct AAC sound track in the MP4 file. Also I tried an mp4 repair service and it works so the file should be able to be fixed. But it would cost $86 for it, and I need to fix 6 recordings.
I have tried uninstalling and reinstalling the restricted codecs.
Any help would be greatly appreciated.
sound ffmpeg aac m4a
I have been using Ubuntu on my school computer this year, I usually record the lectures that I can't hope to keep up with the prof, I have permission to do this. I have been using the default audio recorder that you can install with sudo apt-get install audio-recorder because it was the easiest to use. Earlier in the semester they recordings were fine. But now they are corrupt as soon as the recording is done. They are in the .m4a format.
I have tried many tutorials, including editing the hex data of the recording, no luck. I do not know where the recording starts since when I try to make a new recording it is corrupt off the bat. I have tried using ffmpeg to get this error, moov atom not found, which looking up does nothing to help solve the problem. Or I get an error saying protocol not found. Did you mean in.m4a? which is the name of the file, that I typed in correctly. ffmpeg returns a âÂÂprotocol not foundâ error. Then it says do you mean the file that I did put in. Faad returns this error: Unable to find correct AAC sound track in the MP4 file. Also I tried an mp4 repair service and it works so the file should be able to be fixed. But it would cost $86 for it, and I need to fix 6 recordings.
I have tried uninstalling and reinstalling the restricted codecs.
Any help would be greatly appreciated.
sound ffmpeg aac m4a
sound ffmpeg aac m4a
edited Apr 10 at 13:33
Melebius
3,77841636
3,77841636
asked Apr 10 at 12:55
KeenanKer
184
184
1
drive.google.com/file/d/1pt2op6vgr0Kvwi96wKdDoY0COI4vJUUN/⦠I hope a Drive link is okay
â KeenanKer
Apr 10 at 13:15
1
drive.google.com/open?id=1QN90YlEOllGyWdG3azZu_3OhxLhNZQ3f Here is a smaller one if that is to large.
â KeenanKer
Apr 10 at 13:26
add a comment |Â
1
drive.google.com/file/d/1pt2op6vgr0Kvwi96wKdDoY0COI4vJUUN/⦠I hope a Drive link is okay
â KeenanKer
Apr 10 at 13:15
1
drive.google.com/open?id=1QN90YlEOllGyWdG3azZu_3OhxLhNZQ3f Here is a smaller one if that is to large.
â KeenanKer
Apr 10 at 13:26
1
1
drive.google.com/file/d/1pt2op6vgr0Kvwi96wKdDoY0COI4vJUUN/⦠I hope a Drive link is okay
â KeenanKer
Apr 10 at 13:15
drive.google.com/file/d/1pt2op6vgr0Kvwi96wKdDoY0COI4vJUUN/⦠I hope a Drive link is okay
â KeenanKer
Apr 10 at 13:15
1
1
drive.google.com/open?id=1QN90YlEOllGyWdG3azZu_3OhxLhNZQ3f Here is a smaller one if that is to large.
â KeenanKer
Apr 10 at 13:26
drive.google.com/open?id=1QN90YlEOllGyWdG3azZu_3OhxLhNZQ3f Here is a smaller one if that is to large.
â KeenanKer
Apr 10 at 13:26
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
See here, at the bottom of the page.
Install faad if needed sudo apt install faaddd ibs=1 skip=44 if=yourfilename.m4a of=raw.m4afaad -a newname.m4a raw.m4a
All credits to the author of the link I am pointing to, cause I do not know what I am doing, but I tested it on your bigger file, and it works. First command takes some time. Be patient. Tried it on ubuntu 16.04.
As pointed out in the comments, the result can be opened in VLC, but not in Audacious. But we can use vlc to transcode it, or rewrite it to another format. The script below converts all *.m4a files in the current directory to *.mp3.#!/bin/bash
quote="
executable="/usr/bin/vlc"
argument3=vlc://quit
#transcoding parameters
acodecvalue=mp3
bitratevalue=128
accessvalue=file
muxvalue=raw
for x in *.m4a; do
inputname="$x"
strippedname=$x%.m4a
outputname=$strippedname.mp3
quote_outputname=$quote./$outputname$quote
echo $inputname
echo $quote_outputname
qtranscode=#transcodevcodec=none,acodec=$acodecvalue, # continue line !
ab=$bitratevalue,channels=$channelsvalue # continue line !
:standardaccess=$accessvalue,mux=$muxvalue,dst=$quote_outputname
argument1="$inputname"
argument2=--sout=$qtranscode
"$executable" -I dummy "$argument1" "$argument2" "$argument3"
done
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
See here, at the bottom of the page.
Install faad if needed sudo apt install faaddd ibs=1 skip=44 if=yourfilename.m4a of=raw.m4afaad -a newname.m4a raw.m4a
All credits to the author of the link I am pointing to, cause I do not know what I am doing, but I tested it on your bigger file, and it works. First command takes some time. Be patient. Tried it on ubuntu 16.04.
As pointed out in the comments, the result can be opened in VLC, but not in Audacious. But we can use vlc to transcode it, or rewrite it to another format. The script below converts all *.m4a files in the current directory to *.mp3.#!/bin/bash
quote="
executable="/usr/bin/vlc"
argument3=vlc://quit
#transcoding parameters
acodecvalue=mp3
bitratevalue=128
accessvalue=file
muxvalue=raw
for x in *.m4a; do
inputname="$x"
strippedname=$x%.m4a
outputname=$strippedname.mp3
quote_outputname=$quote./$outputname$quote
echo $inputname
echo $quote_outputname
qtranscode=#transcodevcodec=none,acodec=$acodecvalue, # continue line !
ab=$bitratevalue,channels=$channelsvalue # continue line !
:standardaccess=$accessvalue,mux=$muxvalue,dst=$quote_outputname
argument1="$inputname"
argument2=--sout=$qtranscode
"$executable" -I dummy "$argument1" "$argument2" "$argument3"
done
add a comment |Â
up vote
3
down vote
accepted
See here, at the bottom of the page.
Install faad if needed sudo apt install faaddd ibs=1 skip=44 if=yourfilename.m4a of=raw.m4afaad -a newname.m4a raw.m4a
All credits to the author of the link I am pointing to, cause I do not know what I am doing, but I tested it on your bigger file, and it works. First command takes some time. Be patient. Tried it on ubuntu 16.04.
As pointed out in the comments, the result can be opened in VLC, but not in Audacious. But we can use vlc to transcode it, or rewrite it to another format. The script below converts all *.m4a files in the current directory to *.mp3.#!/bin/bash
quote="
executable="/usr/bin/vlc"
argument3=vlc://quit
#transcoding parameters
acodecvalue=mp3
bitratevalue=128
accessvalue=file
muxvalue=raw
for x in *.m4a; do
inputname="$x"
strippedname=$x%.m4a
outputname=$strippedname.mp3
quote_outputname=$quote./$outputname$quote
echo $inputname
echo $quote_outputname
qtranscode=#transcodevcodec=none,acodec=$acodecvalue, # continue line !
ab=$bitratevalue,channels=$channelsvalue # continue line !
:standardaccess=$accessvalue,mux=$muxvalue,dst=$quote_outputname
argument1="$inputname"
argument2=--sout=$qtranscode
"$executable" -I dummy "$argument1" "$argument2" "$argument3"
done
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
See here, at the bottom of the page.
Install faad if needed sudo apt install faaddd ibs=1 skip=44 if=yourfilename.m4a of=raw.m4afaad -a newname.m4a raw.m4a
All credits to the author of the link I am pointing to, cause I do not know what I am doing, but I tested it on your bigger file, and it works. First command takes some time. Be patient. Tried it on ubuntu 16.04.
As pointed out in the comments, the result can be opened in VLC, but not in Audacious. But we can use vlc to transcode it, or rewrite it to another format. The script below converts all *.m4a files in the current directory to *.mp3.#!/bin/bash
quote="
executable="/usr/bin/vlc"
argument3=vlc://quit
#transcoding parameters
acodecvalue=mp3
bitratevalue=128
accessvalue=file
muxvalue=raw
for x in *.m4a; do
inputname="$x"
strippedname=$x%.m4a
outputname=$strippedname.mp3
quote_outputname=$quote./$outputname$quote
echo $inputname
echo $quote_outputname
qtranscode=#transcodevcodec=none,acodec=$acodecvalue, # continue line !
ab=$bitratevalue,channels=$channelsvalue # continue line !
:standardaccess=$accessvalue,mux=$muxvalue,dst=$quote_outputname
argument1="$inputname"
argument2=--sout=$qtranscode
"$executable" -I dummy "$argument1" "$argument2" "$argument3"
done
See here, at the bottom of the page.
Install faad if needed sudo apt install faaddd ibs=1 skip=44 if=yourfilename.m4a of=raw.m4afaad -a newname.m4a raw.m4a
All credits to the author of the link I am pointing to, cause I do not know what I am doing, but I tested it on your bigger file, and it works. First command takes some time. Be patient. Tried it on ubuntu 16.04.
As pointed out in the comments, the result can be opened in VLC, but not in Audacious. But we can use vlc to transcode it, or rewrite it to another format. The script below converts all *.m4a files in the current directory to *.mp3.#!/bin/bash
quote="
executable="/usr/bin/vlc"
argument3=vlc://quit
#transcoding parameters
acodecvalue=mp3
bitratevalue=128
accessvalue=file
muxvalue=raw
for x in *.m4a; do
inputname="$x"
strippedname=$x%.m4a
outputname=$strippedname.mp3
quote_outputname=$quote./$outputname$quote
echo $inputname
echo $quote_outputname
qtranscode=#transcodevcodec=none,acodec=$acodecvalue, # continue line !
ab=$bitratevalue,channels=$channelsvalue # continue line !
:standardaccess=$accessvalue,mux=$muxvalue,dst=$quote_outputname
argument1="$inputname"
argument2=--sout=$qtranscode
"$executable" -I dummy "$argument1" "$argument2" "$argument3"
done
edited Apr 11 at 9:12
answered Apr 10 at 14:29
oscar1919
27215
27215
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1023648%2frecovering-corrupted-m4a-recordings%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
drive.google.com/file/d/1pt2op6vgr0Kvwi96wKdDoY0COI4vJUUN/⦠I hope a Drive link is okay
â KeenanKer
Apr 10 at 13:15
1
drive.google.com/open?id=1QN90YlEOllGyWdG3azZu_3OhxLhNZQ3f Here is a smaller one if that is to large.
â KeenanKer
Apr 10 at 13:26