Partially broken mp4 clip fails to encode.

Here you can submit bugreports
silicontrip
Posts: 54
Joined: Thu Sep 22, 2016 7:12 am

Re: Partially broken mp4 clip fails to encode.

Post by silicontrip »

The encode took 20 minutes (approx 50fps) it counted up to 2510.72 but resulted in a 188k mxf which mediainfo says is 40ms in duration.
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Partially broken mp4 clip fails to encode.

Post by admin »

Ok, well then you need to send me the workflow so I can investigate.

-steinar
silicontrip
Posts: 54
Joined: Thu Sep 22, 2016 7:12 am

Re: Partially broken mp4 clip fails to encode.

Post by silicontrip »

It was attached in a previous post. Is there more you need?
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Partially broken mp4 clip fails to encode.

Post by admin »

Sorry, I forgot you had already posted the workflow. But ok, I must have been drunk when testing last time cause now I can't get it to decode properly in "Intelligent" mode but "Full decode" seem to "work". The "Intelligent" mode is created to kick of full decoding "when needed" but clearly, FFAStrans does not understand that it need to do that with this particular file. So, I will have to take a closer look at it and try and figure out what's going on. In the mean time you will just have to treat it as a special case and do some manual remuxing.

-steinar
silicontrip
Posts: 54
Joined: Thu Sep 22, 2016 7:12 am

Re: Partially broken mp4 clip fails to encode.

Post by silicontrip »

awesome thanks. Using full decode resolved the issue. I've made a special work flow for these sort of difficult files. Looks like we need a media analyser :-)

running it through ffprobe -show_frames results in this output. There appears to be nothing out of the ordinary in the frames output.

Code: Select all

Input #0, h264, from '1_04_R_08092016090000PM-352x288x25p.mp4':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 352x288, 25 fps, 25 tbr, 1200k tbn, 50 tbc
[h264 @ 0x3449c80] Invalid NAL unit 8, skipping.
[h264 @ 0x3449c80] corrupted macroblock 7 16 (total_coeff=-1)
[h264 @ 0x3449c80] error while decoding MB 7 16
[h264 @ 0x3449c80] concealing 86 DC, 86 AC, 86 MV errors in P frame
Post Reply