untrunc
untrunc copied to clipboard
untrunc - Failed for no particular reason
Trying to recover an MP4 file that is 157MB in size. This is the tail end of the output after running the program. I used an MP4 that worked First byte expected 0. Track 0 codec: mp4a mp4a: Success because of large s value. [aac @ 0x5590b8020cc0] channel element 2.8 is not allocated Duration: 0
Invalid length: -1052488119. Wrong match in track: 0. Track 1 codec: avc1 avc1: Failed for no particular reason. Found 1 packets.
Saving to: /home/charles/Desktop/mp4temp/snag2.mp4_fixed.mp4 Track 0 (mp4a): duration: 0 timescale: 44100 Adjusting track duration to movie timescale: New duration: 0 timescale: 44100. Track 1 (avc1): duration: 1503 timescale: 15000 Adjusting track duration to movie timescale: New duration: 4419 timescale: 44100. Movie duration: 4419 timescale: 44100
Any suggestions on how to fix this issue?
In case you are using ffmpeg instead of avlib, your issue might got fixed with 'support using ffmpeg > 3.3'.
Otherwise, in order to help you, the files are needed. Just the log is not enough.
I'm having a very similar if not the same issue:
$ docker run --rm -v `pwd`:`pwd` untrunc /home/ovidiu/foo/GOPR0003.MP4 /home/ovidiu/foo/GOPR0001.MP4
Reading: /home/ovidiu/foo/GOPR0003.MP4
Opening: /home/ovidiu/foo/GOPR0003.MP4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 2 with DTS 0, packet 3 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 3 with DTS 0, packet 4 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 4 with DTS 0, packet 5 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 5 with DTS 0, packet 6 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 6 with DTS 0, packet 7 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 7 with DTS 0, packet 8 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 8 with DTS 0, packet 9 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 9 with DTS 0, packet 10 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 10 with DTS 0, packet 11 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 11 with DTS 0, packet 12 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 12 with DTS 0, packet 13 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 13 with DTS 0, packet 14 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 14 with DTS 0, packet 15 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 15 with DTS 0, packet 16 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 16 with DTS 0, packet 17 with DTS 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 17 with DTS 0, packet 18 with DTS 0
Not an Audio nor Video track.
Not an Audio nor Video track.
Repair: /home/ovidiu/foo/GOPR0001.MP4
Track 0 codec: avc1
Track 1 codec:
Track 2 codec:
Found 0 packets.
Saving to: /home/ovidiu/foo/GOPR0001.MP4_fixed.mp4
Track 0 (avc1): duration: 0 timescale: 90000
Adjusting track duration to movie timescale: New duration: 0 timescale: 90000.
Track 1 (): duration: 0 timescale: 90000
Adjusting track duration to movie timescale: New duration: 0 timescale: 90000.
Track 2 (): duration: 0 timescale: 90000
Adjusting track duration to movie timescale: New duration: 0 timescale: 90000.
Movie duration: 0 timescale: 90000
avc1: Failed for no particular reason.
Not sure what to do in this situation. Any advice?
Would you send me the samples, so I can see what's the problem?
On Fri, Oct 9, 2020 at 9:21 PM Ovidiu [email protected] wrote:
I'm having a very similar if not the same issue:
$ docker run --rm -v
pwd:pwduntrunc /home/ovidiu/foo/GOPR0003.MP4 /home/ovidiu/foo/GOPR0001.MP4 Reading: /home/ovidiu/foo/GOPR0003.MP4 Opening: /home/ovidiu/foo/GOPR0003.MP4 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 2 with DTS 0, packet 3 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 3 with DTS 0, packet 4 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 4 with DTS 0, packet 5 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 5 with DTS 0, packet 6 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 6 with DTS 0, packet 7 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 7 with DTS 0, packet 8 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 8 with DTS 0, packet 9 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 9 with DTS 0, packet 10 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 10 with DTS 0, packet 11 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 11 with DTS 0, packet 12 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 12 with DTS 0, packet 13 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 13 with DTS 0, packet 14 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 14 with DTS 0, packet 15 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 15 with DTS 0, packet 16 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 16 with DTS 0, packet 17 with DTS 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642c41335c0] Non-increasing DTS in stream 2: packet 17 with DTS 0, packet 18 with DTS 0 Not an Audio nor Video track. Not an Audio nor Video track. Repair: /home/ovidiu/foo/GOPR0001.MP4 Track 0 codec: avc1 Track 1 codec: Track 2 codec: Found 0 packets.Saving to: /home/ovidiu/foo/GOPR0001.MP4_fixed.mp4 Track 0 (avc1): duration: 0 timescale: 90000 Adjusting track duration to movie timescale: New duration: 0 timescale: 90000. Track 1 (): duration: 0 timescale: 90000 Adjusting track duration to movie timescale: New duration: 0 timescale: 90000. Track 2 (): duration: 0 timescale: 90000 Adjusting track duration to movie timescale: New duration: 0 timescale: 90000. Movie duration: 0 timescale: 90000
avc1: Failed for no particular reason.
Not sure what to do in this situation. Any advice?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ponchio/untrunc/issues/168#issuecomment-706361069, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUDV2ZBV6R5NUNN4SMNZHLSJ5PEHANCNFSM4I7DUGAQ .
I can't because they contain footage of other people, and I need their permission for distributing these videos. I can however have a call with you if you're willing, and we can investigate. How does that sound to you?
if you could share a couples video from the same source it could be enough at least yo ser whay yhe problem could be.. Anyway just write me an email at [email protected] and we can arrange a call, it's fine for me.
On Tue, Oct 13, 2020, 22:11 Ovidiu [email protected] wrote:
I can't because they contain footage of other people, and I need their permission for distributing these videos. I can however have a call with you if you're willing, and we can investigate. How does that sound to you?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ponchio/untrunc/issues/168#issuecomment-707980791, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUDV27FIVQ3MM7WFNMLXE3SKSYALANCNFSM4I7DUGAQ .