Newb Help! Extracting pics from recovered video file/ or repair recovered video file

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Newb Help! Extracting pics from recovered video file/ or repair recovered video file

frank rizo
I Think I am doing this correct, but I get an error. I have recovered some videos from a mac that crashed and can’t be helped… they are .mov files and look like they have a lot of data in them. several gig on each one… I have tried several unpaid and paid programs that use and don’t use some ffmpeg bits in them, with no luck to repair video. As I can NOT ply these videos with any type of player. So I am here, wondering if extracting pictures from the video will get me any , all partial… pics, … I tried this….with no result. heres from my terminal


ALLs-MacBook-Pro-3:~ ALL$ cd desktop
ALLs-MacBook-Pro-3:desktop ALL$ ls
00005580.mov
ALLs-MacBook-Pro-3:desktop ALL$ ffmpeg -i 00005580.mov -vf fps=1/60 thumb%04d.png
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe15d01b000] moov atom not found
00005580.mov: Invalid data found when processing input
ALLs-MacBook-Pro-3:desktop ALL$

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Newb Help! Extracting pics from recovered video file/ or repair recovered video file

Paul B Mahol
On 7/13/20, frank rizo <[hidden email]> wrote:

> I Think I am doing this correct, but I get an error. I have recovered some
> videos from a mac that crashed and can’t be helped… they are .mov files and
> look like they have a lot of data in them. several gig on each one… I have
> tried several unpaid and paid programs that use and don’t use some ffmpeg
> bits in them, with no luck to repair video. As I can NOT ply these videos
> with any type of player. So I am here, wondering if extracting pictures from
> the video will get me any , all partial… pics, … I tried this….with no
> result. heres from my terminal
>
>
> ALLs-MacBook-Pro-3:~ ALL$ cd desktop
> ALLs-MacBook-Pro-3:desktop ALL$ ls
> 00005580.mov
> ALLs-MacBook-Pro-3:desktop ALL$ ffmpeg -i 00005580.mov -vf fps=1/60
> thumb%04d.png
> ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
>   built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
>   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared
> --enable-pthreads --enable-version3 --enable-avresample --cc=clang
> --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl
> --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame
> --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy
> --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab
> --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
> --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma
> --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
> --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox
> --disable-libjack --disable-indev=jack
>   libavutil      56. 51.100 / 56. 51.100
>   libavcodec     58. 91.100 / 58. 91.100
>   libavformat    58. 45.100 / 58. 45.100
>   libavdevice    58. 10.100 / 58. 10.100
>   libavfilter     7. 85.100 /  7. 85.100
>   libavresample   4.  0.  0 /  4.  0.  0
>   libswscale      5.  7.100 /  5.  7.100
>   libswresample   3.  7.100 /  3.  7.100
>   libpostproc    55.  7.100 / 55.  7.100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe15d01b000] moov atom not found
> 00005580.mov: Invalid data found when processing input
> ALLs-MacBook-Pro-3:desktop ALL$
>

This can be done only if we know which codec where stored in file.

> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Newb Help! Extracting pics from recovered video file/ or repair recovered video file

Carl Zwanzig
On 7/13/2020 10:06 AM, Paul B Mahol wrote:
> This can be done only if we know which codec where stored in file.

Yep.

Data recovery is always uncertain, whether from a single file or from a hard
drive- if you can't find some indicator of what's where, it's all just
random data (this is why many file systems keep copies of the "superblocks"
all over the disk, so if it can't find one, it might find another). Most
video file formats don't do that.

By knowing the container, codec, and resolution, a program -might- be able
to step through the file looking for something familiar and then, through
trial and error, -might- be able to assemble/recover some of the data.

This is not something ffmpeg is designed to do.

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Newb Help! Extracting pics from recovered video file/ or repair recovered video file

frank rizo
In reply to this post by Paul B Mahol
I’m not that smart with all this, so, how do i find out that information? with a working video from the same source?

> On Jul 13, 2020, at 1:06 PM, Paul B Mahol <[hidden email]> wrote:
>
> On 7/13/20, frank rizo <[hidden email]> wrote:
>> I Think I am doing this correct, but I get an error. I have recovered some
>> videos from a mac that crashed and can’t be helped… they are .mov files and
>> look like they have a lot of data in them. several gig on each one… I have
>> tried several unpaid and paid programs that use and don’t use some ffmpeg
>> bits in them, with no luck to repair video. As I can NOT ply these videos
>> with any type of player. So I am here, wondering if extracting pictures from
>> the video will get me any , all partial… pics, … I tried this….with no
>> result. heres from my terminal
>>
>>
>> ALLs-MacBook-Pro-3:~ ALL$ cd desktop
>> ALLs-MacBook-Pro-3:desktop ALL$ ls
>> 00005580.mov
>> ALLs-MacBook-Pro-3:desktop ALL$ ffmpeg -i 00005580.mov -vf fps=1/60
>> thumb%04d.png
>> ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
>>  built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
>>  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared
>> --enable-pthreads --enable-version3 --enable-avresample --cc=clang
>> --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl
>> --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame
>> --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy
>> --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab
>> --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
>> --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma
>> --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass
>> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
>> --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox
>> --disable-libjack --disable-indev=jack
>>  libavutil      56. 51.100 / 56. 51.100
>>  libavcodec     58. 91.100 / 58. 91.100
>>  libavformat    58. 45.100 / 58. 45.100
>>  libavdevice    58. 10.100 / 58. 10.100
>>  libavfilter     7. 85.100 /  7. 85.100
>>  libavresample   4.  0.  0 /  4.  0.  0
>>  libswscale      5.  7.100 /  5.  7.100
>>  libswresample   3.  7.100 /  3.  7.100
>>  libpostproc    55.  7.100 / 55.  7.100
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe15d01b000] moov atom not found
>> 00005580.mov: Invalid data found when processing input
>> ALLs-MacBook-Pro-3:desktop ALL$
>>
>
> This can be done only if we know which codec where stored in file.
>
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Newb Help! Extracting pics from recovered video file/ or repair recovered video file

Carl Zwanzig
On 7/13/2020 10:20 AM, frank rizo wrote:
> I’m not that smart with all this, so, how do i find out that
> information? with a working video from the same source?
ffprobe will report a lot of info about a video file; I find MediaInfo to be
useful for that, too.

With that, you -may- be able to tell ffmpeg what to expect, and it -may-
find something. After that, it gets into what's close to wizardry. You'll
have to ask yourself whether recovering any video is worth the time and
effort. A good analogy is looking for a needle in a haystack when you don't
know exactly what the entire needle looks like.


Please don't top-post on this mailing list; if you're not familiar with the
term, a quick search will turn up lots of info.

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Newb Help! Extracting pics from recovered video file/ or repair recovered video file

Paul B Mahol
In reply to this post by frank rizo
On 7/13/20, frank rizo <[hidden email]> wrote:
> I’m not that smart with all this, so, how do i find out that information?
> with a working video from the same source?

Yes, same settings from same source.

>
>> On Jul 13, 2020, at 1:06 PM, Paul B Mahol <[hidden email]> wrote:
>>
>> On 7/13/20, frank rizo <[hidden email]> wrote:
>>> I Think I am doing this correct, but I get an error. I have recovered
>>> some
>>> videos from a mac that crashed and can’t be helped… they are .mov files
>>> and
>>> look like they have a lot of data in them. several gig on each one… I
>>> have
>>> tried several unpaid and paid programs that use and don’t use some ffmpeg
>>> bits in them, with no luck to repair video. As I can NOT ply these videos
>>> with any type of player. So I am here, wondering if extracting pictures
>>> from
>>> the video will get me any , all partial… pics, … I tried this….with no
>>> result. heres from my terminal
>>>
>>>
>>> ALLs-MacBook-Pro-3:~ ALL$ cd desktop
>>> ALLs-MacBook-Pro-3:desktop ALL$ ls
>>> 00005580.mov
>>> ALLs-MacBook-Pro-3:desktop ALL$ ffmpeg -i 00005580.mov -vf fps=1/60
>>> thumb%04d.png
>>> ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
>>>  built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
>>>  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared
>>> --enable-pthreads --enable-version3 --enable-avresample --cc=clang
>>> --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls
>>> --enable-gpl
>>> --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame
>>> --enable-libopus --enable-librav1e --enable-librubberband
>>> --enable-libsnappy
>>> --enable-libsrt --enable-libtesseract --enable-libtheora
>>> --enable-libvidstab
>>> --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
>>> --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma
>>> --enable-libfontconfig --enable-libfreetype --enable-frei0r
>>> --enable-libass
>>> --enable-libopencore-amrnb --enable-libopencore-amrwb
>>> --enable-libopenjpeg
>>> --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox
>>> --disable-libjack --disable-indev=jack
>>>  libavutil      56. 51.100 / 56. 51.100
>>>  libavcodec     58. 91.100 / 58. 91.100
>>>  libavformat    58. 45.100 / 58. 45.100
>>>  libavdevice    58. 10.100 / 58. 10.100
>>>  libavfilter     7. 85.100 /  7. 85.100
>>>  libavresample   4.  0.  0 /  4.  0.  0
>>>  libswscale      5.  7.100 /  5.  7.100
>>>  libswresample   3.  7.100 /  3.  7.100
>>>  libpostproc    55.  7.100 / 55.  7.100
>>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe15d01b000] moov atom not found
>>> 00005580.mov: Invalid data found when processing input
>>> ALLs-MacBook-Pro-3:desktop ALL$
>>>
>>
>> This can be done only if we know which codec where stored in file.
>>
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> [hidden email]
>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>
>>> To unsubscribe, visit link above, or email
>>> [hidden email] with subject "unsubscribe".
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> [hidden email] with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Newb Help! Extracting pics from recovered video file/ or repair recovered video file

frank rizo
Ok, so i found this….
ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
  -of default=noprint_wrappers=1:nokey=1 video.mkv

and i used it on a working video recorded from the same camera. it said
rawvideo

is this a codec?   i tried the same command on the broken video, no luck

ALLs-MacBook-Pro-3:desktop ALL$ ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
>   -of default=noprint_wrappers=1:nokey=1 yep.mov
rawvideo
ALLs-MacBook-Pro-3:desktop ALL$ ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
>   -of default=noprint_wrappers=1:nokey=1 00005580.mov
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f92cb027800] moov atom not found
00005580.mov: Invalid data found when processing input
ALLs-MacBook-Pro-3:desktop ALL$

I also did another video I recovered , which plays, and got this result…

ALLs-MacBook-Pro-3:desktop ALL$ ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
>   -of default=noprint_wrappers=1:nokey=1 00005579.mov
h264
ALLs-MacBook-Pro-3:desktop ALL$

soooo…. I shall assume its h264 codec?  

how do i rebuild the codec, command line?

cheers

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Newb Help! Extracting pics from recovered video file/ or repair recovered video file

Paul B Mahol
The only way to help you is providing input files, both broken and working ones.

On 7/14/20, frank rizo <[hidden email]> wrote:

> Ok, so i found this….
> ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
>   -of default=noprint_wrappers=1:nokey=1 video.mkv
>
> and i used it on a working video recorded from the same camera. it said
> rawvideo
>
> is this a codec?   i tried the same command on the broken video, no luck
>
> ALLs-MacBook-Pro-3:desktop ALL$ ffprobe -v error -select_streams v:0
> -show_entries stream=codec_name \
>>   -of default=noprint_wrappers=1:nokey=1 yep.mov
> rawvideo
> ALLs-MacBook-Pro-3:desktop ALL$ ffprobe -v error -select_streams v:0
> -show_entries stream=codec_name \
>>   -of default=noprint_wrappers=1:nokey=1 00005580.mov
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f92cb027800] moov atom not found
> 00005580.mov: Invalid data found when processing input
> ALLs-MacBook-Pro-3:desktop ALL$
>
> I also did another video I recovered , which plays, and got this result…
>
> ALLs-MacBook-Pro-3:desktop ALL$ ffprobe -v error -select_streams v:0
> -show_entries stream=codec_name \
>>   -of default=noprint_wrappers=1:nokey=1 00005579.mov
> h264
> ALLs-MacBook-Pro-3:desktop ALL$
>
> soooo…. I shall assume its h264 codec?
>
> how do i rebuild the codec, command line?
>
> cheers
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".