rstuff |
08-02-2016 03:30 PM |
Wine errors
I tried running recover_mp4_to_h264 under Wine and I got the following errors.
Quote:
kuser@khost:~$ wine Windows/recover_mp4_to_h264.exe Videos/Eugene/DSCF0871.MOV --analyze
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 2
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
recover_mp4_to_h264 v1.44 (C) 2011-2016 Dmitry Vasilyev <slydiman@mail.ru>
http://slydiman.me
Cannot map file 'Videos/Eugene/DSCF0871.MOV', MapViewOfFile error 8
WARNING: Used slow file read method
Analyzing file 'Videos/Eugene/DSCF0871.MOV':
'ftyp' 0x0 [20] Major Brand: 'qt ', Minor Version: 0x0
Compatible brands: 'qt '
'moov' 0x14 [1017252]
'mvhd' 0x1C [108] Movie Header: Time scale 30000, Duration 34444410 (1148.15 sec)
Rate 1, Volume 1
Creating time: 2016/7/21 10:45:24
Modification time: 2016/7/21 10:45:24
Next Track ID: 3
'trak' 0x88 [922150]
'tkhd' 0x90 [92] Track #1, Duration 34444410
Resolution: 1920x1080
Creating time: 2016/7/21 10:45:24
Modification time: 2016/7/21 10:45:24
'edts' 0xEC [36]
Unprocessed 28 bytes
'mdia' 0x110 [922014]
'mdhd' 0x118 [32] Media Header: Time scale 30000, Duration 34444410 (1148.15 sec)
Creating time: 2016/7/21 10:45:24
Modification time: 2016/7/21 10:45:24
'hdlr' 0x138 [33] Component Type: 'mhlr', Subtype: 'vide'
'minf' 0x159 [921941]
'vmhd' 0x161 [20]
'dinf' 0x175 [36]
'dref' 0x17D [28]
'url ' 0x18D [12]
Unprocessed 4 bytes 00 00 00 01
'stbl' 0x199 [921877]
'stsd' 0x1A1 [153]
'avc1' 0x1B1 [137] Video Sample 1920x1080, 24 bits, AVC Coding
'avcC' 0x207 [51] AVC video 1920x1080, High Profile, Level 4.0
'stts' 0x23A [24] Time-to-Sample[1] (#: Count * Duration):
0: 34410 * 1001
'stsc' 0x252 [28] Sample-to-Chunk[1] (#: FirstChunk / SamplesPerChunk / SampleDescIndex):
0: 1 / 30 / 1
'free' 0x26E [12]
'stsz' 0x27A [137660] Sample Size[34410] (#: Sample Size):
0: 0x2e740
1: 0x92c0
2: 0x9040
3: 0x8d80
4: 0x8ac0
5: 0xa600
6: 0x9b40
7: 0x9ac0
8: 0x9a00
9: 0x9440
10: 0x9440
...
'free' 0x21C36 [726360]
'stco' 0xD318E [4604] Chunk Offset[1147] (#: Chunk Offset):
0: 0x127480
1: 0x2da9c0
2: 0x483a00
3: 0x632800
4: 0x7e0440
5: 0x98f1c0
6: 0xb41100
7: 0xcef280
8: 0xe9f900
9: 0x104d100
10: 0x11ffac0
...
'free' 0xD438A [24212]
'stss' 0xDA21E [4604] Sync Sample[1147] (#: SamplesNumber):
0: 1
1: 31
2: 61
3: 91
4: 121
5: 151
6: 181
7: 211
8: 241
9: 271
10: 301
...
'free' 0xDB41A [24212]
'trak' 0xE12AE [29229]
'tkhd' 0xE12B6 [92] Track #2, Duration 34444410
Creating time: 2016/7/21 10:45:24
Modification time: 2016/7/21 10:45:24
'edts' 0xE1312 [36]
Unprocessed 28 bytes
'mdia' 0xE1336 [29093]
'mdhd' 0xE133E [32] Media Header: Time scale 48000, Duration 55111056 (1148.15 sec)
Creating time: 2016/7/21 10:45:24
Modification time: 2016/7/21 10:45:24
'hdlr' 0xE135E [33] Component Type: 'mhlr', Subtype: 'soun'
'minf' 0xE137F [29020]
'smhd' 0xE1387 [16]
'dinf' 0xE1397 [36]
'dref' 0xE139F [28]
'url ' 0xE13AF [12]
Unprocessed 4 bytes 00 00 00 01
'stbl' 0xE13BB [28960]
'stsd' 0xE13C3 [52]
'sowt' 0xE13D3 [36] Sound Sample v0, 2ch, 16 bits, 48000 Hz
'stts' 0xE13F7 [24] Time-to-Sample[1] (#: Count * Duration):
0: 55111056 * 1
'stsc' 0xE140F [28] Sample-to-Chunk[1] (#: FirstChunk / SamplesPerChunk / SampleDescIndex):
0: 1 / 48048 / 1
'free' 0xE142B [12]
'stsz' 0xE1437 [20] Sample Size[0] (#: Sample Size = 0x2):
'stco' 0xE144B [4604] Chunk Offset[1147] (#: Chunk Offset):
0: 0xf85c0
1: 0x2abb00
2: 0x454b40
3: 0x603940
4: 0x7b1580
5: 0x960300
6: 0xb12240
7: 0xcc03c0
8: 0xe70a40
9: 0x101e240
10: 0x11d0c00
...
'free' 0xE2647 [24212]
'udta' 0xE84DB [65757]
'?fmt' 0xE84E7 [26] Digital Camera
'?inf' 0xE8501 [68] FUJIFILM DIGITAL CAMERA FinePix HS25EXR
'FFMV' 0xE8541 [38]
Unprocessed 30 bytes
'MVTG' 0xE8567 [10214]
Unprocessed 10206 bytes
'free' 0xEAD4D [55403]
'mdat' 0xF85B8 [2025705480]
----------------------
File 'avcc.hdr' created succesfully
File 'mp4a.hdr' created succesfully
----------------------
Video statistics:
Sample Size: Min 0x2b40, Avg 0xa5c0, Max 0x33d80
Samples Per Chunk: Min 30, Avg 30, Max 30
Count 1147, [ 65 88 82] Size Min 0x1fc7c, Avg 0x2aefc, Max 0x3393c
Count 1147, [ 41 9a 10] Size Min 0x4dbc, Avg 0xa67c, Max 0x16ffc
Count 1147, [ 41 9a 21] Size Min 0x4e3c, Avg 0x9dbc, Max 0x1333c
Count 1147, [ 41 9a 31] Size Min 0x46fc, Avg 0x983c, Max 0x13a3c
Count 1147, [ 41 9a 42] Size Min 0x4abc, Avg 0x993c, Max 0x1553c
Count 1147, [ 41 9a 52] Size Min 0x3bfc, Avg 0x9d3c, Max 0x1db3c
Count 1147, [ 41 9a 63] Size Min 0x357c, Avg 0x9f7c, Max 0x1a07c
Count 1147, [ 41 9a 73] Size Min 0x34bc, Avg 0xa0fc, Max 0x14a3c
Count 1147, [ 41 9a 84] Size Min 0x2b3c, Avg 0x9ebc, Max 0x1313c
Count 1147, [ 41 9a 94] Size Min 0x4bfc, Avg 0x9e7c, Max 0x139bc
Count 1147, [ 41 9a a5] Size Min 0x437c, Avg 0x9ffc, Max 0x1327c
Count 1147, [ 41 9a b5] Size Min 0x4d3c, Avg 0xa0fc, Max 0x12d7c
Count 1147, [ 41 9a c6] Size Min 0x503c, Avg 0xa13c, Max 0x125fc
Count 1147, [ 41 9a d6] Size Min 0x5bbc, Avg 0xbc3c, Max 0x15e3c
Count 1147, [ 41 9a e7] Size Min 0x4e7c, Avg 0xac7c, Max 0x1583c
Count 1147, [ 61 88 bd] Size Min 0x235fc, Avg 0x2b27c, Max 0x33d7c
Count 1147, [ 41 9b 08] Size Min 0x537c, Avg 0xa3fc, Max 0x14b3c
Count 1147, [ 41 9b 18] Size Min 0x4abc, Avg 0x9c7c, Max 0x16c7c
Count 1147, [ 41 9b 29] Size Min 0x487c, Avg 0x9a7c, Max 0x132fc
Count 1147, [ 41 9b 39] Size Min 0x47fc, Avg 0x997c, Max 0x13b7c
Count 1147, [ 41 9b 4a] Size Min 0x4fbc, Avg 0x9cbc, Max 0x135fc
Count 1147, [ 41 9b 5a] Size Min 0x47bc, Avg 0x9d7c, Max 0x1297c
Count 1147, [ 41 9b 6b] Size Min 0x4abc, Avg 0xa13c, Max 0x1a93c
Count 1147, [ 41 9b 7b] Size Min 0x48bc, Avg 0xa03c, Max 0x1a17c
Count 1147, [ 41 9b 8c] Size Min 0x46fc, Avg 0xa07c, Max 0x15cfc
Count 1147, [ 41 9b 9c] Size Min 0x4dfc, Avg 0xa03c, Max 0x1757c
Count 1147, [ 41 9b ad] Size Min 0x58fc, Avg 0x9ffc, Max 0x139bc
Count 1147, [ 41 9b bd] Size Min 0x4b3c, Avg 0x9ffc, Max 0x133bc
Count 1147, [ 41 9b ce] Size Min 0x56bc, Avg 0xbefc, Max 0x151bc
Count 1147, [ 41 9b de] Size Min 0x58fc, Avg 0xb1bc, Max 0x1587c
----------------------
Sound statistics:
Sample Size: Min 0x2, Avg 0x2, Max 0x2
Samples Per Chunk: Min 48048, Avg 48048, Max 48048
Now run the following command to start recovering:
recover_mp4_to_h264.exe corrupted_file result.h264 result.wav --qt
Then use ffmpeg to mux the final file:
ffmpeg.exe -r 29.970 -i result.h264 -i result.wav -c:v copy -c:a copy result.mov
kuser@khost:~$ ^C
kuser@khost:~$ wine Windows/recover_mp4_to_h264.exe Videos/Eugene/DSCF0889.MOV result.h264 result.wav --qt
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 2
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
recover_mp4_to_h264 v1.44 (C) 2011-2016 Dmitry Vasilyev <slydiman@mail.ru>
http://slydiman.me
Writing H264 video file 'result.h264'...
Video format: AVC video 1920x1080, High Profile, Level 4.0
Assuming max AVC NAL unit size 0xEA3800
Used AVC templates: QuickTime MOV
WARNING: Cannot find 'esds' atom inside audio header 'mp4a.hdr'.
Writing audio file 'result.wav'...
Audio format: Assuming audio stream is PCM, 48000Hz 2ch 16bit
Searching 'mdat' atom in 'Videos/Eugene/DSCF0889.MOV'...
Cannot find 'mdat' atom in first 64MB of 'Videos/Eugene/DSCF0889.MOV'
FATAL ERROR: The file 'Videos/Eugene/DSCF0889.MOV' cannot be recovered. The entire file is filled by FF byte!
Video=0.000
'result.h264' created, size 40 (0.000%)
Audio=0.000
'result.wav' created, size 46 (0.000%)
kuser@khost:~$ ffmpeg.exe -r 29.970 -i result.h264 -i result.wav -c:v copy -c:a copy result.mov
ffmpeg.exe: command not found
kuser@khost:~$ ffmpeg -r 29.970 -i result.h264 -i result.wav -c:v copy -c:a copy result.mov
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 20 2013 08:04:32 with gcc 4.8 (Debian 4.8.2-5)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-libiec61883 --enable-libfdk-aac --enable-vaapi --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[h264 @ 0x1dd1b00] Format h264 detected only with low score of 1, misdetection possible!
[h264 @ 0x1dd2560] missing picture in access unit with size 40
[h264 @ 0x1dd2560] no frame!
[h264 @ 0x1dd1b00] decoding for stream 0 failed
[h264 @ 0x1dd1b00] Could not find codec parameters for stream 0 (Video: h264): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
result.h264: could not find codec parameters
|
|