On 2016-03-10 09:22, Carlos E. R. wrote:
On 2016-03-05 19:39, Carlos E. R. wrote:
Well, taking info from several posts here, I'm trying with ffmpeg in the CLI. I use avidemux to find the cut points and the crop values. In the sample I'm testing, I have to remove 138 lines top and bottom. The filter says that it is cropping from "1920x1080 ==> 1920*804" Thus the CLI option for ffmpeg has then to be "-vf crop=1920:804:0:138"
...
(It would be nice to be able to do a fast and dirty conversion for these tests, instead of waiting an hour or two for each test, but I don't know how)
The problem is that sound is choppy, but not at the start, but since the point 15:30. There is a chirp, then the sound plays and mutes every second. Maybe those silent periods every second are adding to the total play time. As it is, of course, the movie is unwatchable.
I got an offlist reply in Spanish (thanks :-) that is very interesting. Two links: http://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-vid... https://trac.ffmpeg.org/wiki/Encode/H.264 There is an "ultrafast" setting; something like (untested yet): ffmpeg -f lavfi -i nullsrc -c:v libx264 -preset ultrafast ... And the errors in the input can be listed this way: time ffmpeg -v error -i "input_file" -f null - 2>error.log And I get (time ffmpeg -v error -i "input.mpeg" -ss 00:05:44.600 -f null - 2>error.log): [h264 @ 0x106f1a0] mmco: unref short failure Last message repeated 1 times [h264 @ 0x10a6b00] mmco: unref short failure [h264 @ 0x12151c0] mmco: unref short failure [h264 @ 0x109eaa0] mmco: unref short failure [mp2 @ 0x1071da0] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x11ce220] mmco: unref short failure [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23260 >= 23254 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23264 >= 23258 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23275 >= 23269 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23279 >= 23273 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23290 >= 23284 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23294 >= 23288 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23305 >= 23299 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23309 >= 23303 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23320 >= 23314 [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 23324 >= 23318 [h264 @ 0x10a6b00] left block unavailable for requested intra mode at 0 12 [h264 @ 0x10a6b00] error while decoding MB 0 12, bytestream 2428 [h264 @ 0x1187280] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x1187280] Missing reference picture, default is 65608 Last message repeated 1 times [h264 @ 0x11ce220] mmco: unref short failure [h264 @ 0x12151c0] co located POCs unavailable [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x10a6b00] mmco: unref short failure [h264 @ 0x11ce220] Reference 2 >= 2 [h264 @ 0x11ce220] error while decoding MB 73 18, bytestream 13349 [h264 @ 0x12151c0] co located POCs unavailable [h264 @ 0x10a6b00] mmco: unref short failure [h264 @ 0x12151c0] mmco: unref short failure [h264 @ 0x109eaa0] left block unavailable for requested intra mode at 0 22 [h264 @ 0x109eaa0] error while decoding MB 0 22, bytestream 46017 [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x1187280] co located POCs unavailable [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x11ce220] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x11ce220] Missing reference picture, default is 65550 Last message repeated 1 times [h264 @ 0x1187280] mmco: unref short failure [h264 @ 0x1187280] co located POCs unavailable [h264 @ 0x11ce220] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one [mp2 @ 0x1071da0] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x11ce220] co located POCs unavailable [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x109eaa0] mmco: unref short failure [h264 @ 0x11ce220] mmco: unref short failure [null @ 0x1072720] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 188259 >= 188259 [mp2 @ 0x1071da0] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x1187280] co located POCs unavailable [h264 @ 0x11ce220] co located POCs unavailable [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x12151c0] reference picture missing during reorder [h264 @ 0x12151c0] Missing reference picture, default is 65646 [h264 @ 0x109eaa0] mmco: unref short failure [h264 @ 0x1187280] reference picture missing during reorder [h264 @ 0x1187280] Missing reference picture, default is 65662 [h264 @ 0x11ce220] mmco: unref short failure [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x1187280] co located POCs unavailable [h264 @ 0x11ce220] co located POCs unavailable [h264 @ 0x12151c0] co located POCs unavailable [h264 @ 0x109eaa0] left block unavailable for requested intra mode at 0 32 [h264 @ 0x109eaa0] error while decoding MB 0 32, bytestream 32731 [h264 @ 0x10a6b00] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x10a6b00] Missing reference picture, default is 65566 Last message repeated 1 times [h264 @ 0x109eaa0] mmco: unref short failure [h264 @ 0x12151c0] left block unavailable for requested intra4x4 mode -1 at 0 18 [h264 @ 0x12151c0] error while decoding MB 0 18, bytestream 10738 [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x1187280] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x1187280] Missing reference picture, default is 65646 Last message repeated 1 times [h264 @ 0x11ce220] mmco: unref short failure [h264 @ 0x10a6b00] mmco: unref short failure [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x12151c0] co located POCs unavailable [mp2 @ 0x1071da0] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x1187280] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x1187280] Missing reference picture, default is 65550 Last message repeated 1 times [h264 @ 0x109eaa0] reference picture missing during reorder [h264 @ 0x109eaa0] Missing reference picture, default is 65566 [h264 @ 0x10a6b00] mmco: unref short failure [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x1187280] co located POCs unavailable [h264 @ 0x11ce220] co located POCs unavailable [h264 @ 0x109eaa0] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x109eaa0] Missing reference picture, default is 65710 Last message repeated 1 times [h264 @ 0x12151c0] mmco: unref short failure [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x10a6b00] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one [h264 @ 0x12151c0] Reference 2 >= 2 [h264 @ 0x12151c0] error while decoding MB 11 46, bytestream 93852 [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x109eaa0] Reference 2 >= 2 [h264 @ 0x109eaa0] error while decoding MB 99 38, bytestream 189042 [h264 @ 0x11ce220] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x11ce220] Missing reference picture, default is 65694 Last message repeated 1 times [h264 @ 0x12151c0] mmco: unref short failure [h264 @ 0x1187280] mmco: unref short failure [h264 @ 0x12151c0] co located POCs unavailable [h264 @ 0x109eaa0] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x11ce220] Reference 3 >= 2 [h264 @ 0x11ce220] error while decoding MB 58 28, bytestream 67150 [h264 @ 0x1187280] co located POCs unavailable [mp2 @ 0x1071da0] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x11ce220] co located POCs unavailable [h264 @ 0x12151c0] co located POCs unavailable [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x10a6b00] Reference 2 >= 2 [h264 @ 0x10a6b00] error while decoding MB 77 62, bytestream 34200 [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x11ce220] reference picture missing during reorder Last message repeated 1 times [h264 @ 0x11ce220] Missing reference picture, default is 65614 Last message repeated 1 times [h264 @ 0x1187280] mmco: unref short failure [h264 @ 0x1187280] co located POCs unavailable [mp2 @ 0x1071da0] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x109eaa0] mmco: unref short failure [h264 @ 0x109eaa0] Reference 2 >= 2 [h264 @ 0x109eaa0] error while decoding MB 18 6, bytestream 1959 [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x1187280] co located POCs unavailable [h264 @ 0x11ce220] co located POCs unavailable [h264 @ 0x12151c0] co located POCs unavailable [h264 @ 0x109eaa0] co located POCs unavailable [h264 @ 0x11ce220] mmco: unref short failure [h264 @ 0x10a6b00] mmco: unref short failure [mp2 @ 0x1071da0] Header missing Error while decoding stream #0:1: Invalid data found when processing input [h264 @ 0x10a6b00] co located POCs unavailable [h264 @ 0x11ce220] mmco: unref short failure [h264 @ 0x109eaa0] cabac decode of qscale diff failed at 2 25 [h264 @ 0x109eaa0] error while decoding MB 2 24, bytestream 20871 [h264 @ 0x10a6b00] mmco: unref short failure In this stream, things are correct till 00:15:30, then choppiness starts. Does that tell something? :-? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)