It is only important in conjunction with BD-(recorders anyway)Recorders, I suggest, videos download are all ways without errors. The output of the script :
Che I.txt
15:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 1, dts = 3961178391).
17:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 2, dts = 3961178391).
19:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 3, dts = 3961180828).
21:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 5, dts = 3961175473).
[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 0, dts = 3403189348)..7kbits/s dup=52 drop=0 speed= 3.4x
51:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 0
53:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 5, dts = 3403100593).
54:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 5
56:[h264 @ 0x6248600b5980] co located POCs unavailable
57:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 5
59:[h264 @ 0x62485fe4b780] co located POCs unavailable
60:[h264 @ 0x624860202840] co located POCs unavailable
61:[h264 @ 0x62485fdd4c40] co located POCs unavailable
62:[h264 @ 0x62485fdf0580] reference picture missing during reorder
63:[h264 @ 0x62485fdf0580] Missing reference picture, default is 67716
64:[h264 @ 0x62485fdd4c40] reference picture missing during reorder
65:[h264 @ 0x62485fdd4c40] Missing reference picture, default is 67730
67:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 5, dts = 3839017393).
[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 5 bitrate= 565.5kbits/s dup=56 drop=0 speed=3.33x
70:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 0, dts = 3839106148).
71:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 0
72:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 0, dts = 3839124148).
73:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 0
74:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 0, dts = 3839133148).
75:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 0
76:[h264 @ 0x6248600b5980] co located POCs unavailable
78:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 5, dts = 3839040433).
79:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 5
80:[h264 @ 0x62485fe4b780] co located POCs unavailable
81:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 5
82:[h264 @ 0x6248600b5980] error while decoding MB 70 27, bytestream -24
83:[h264 @ 0x6248600b5980] concealing 1419 DC, 1419 AC, 1419 MV errors in B frame
84:[h264 @ 0x624860202840] co located POCs unavailable
85:[h264 @ 0x62485fdd4c40] co located POCs unavailable
86:[h264 @ 0x62485fdf0580] co located POCs unavailable
87:[h264 @ 0x62485fee2f40] co located POCs unavailable
88:[h264 @ 0x62485fde0d40] co located POCs unavailable
89:[h264 @ 0x62485fcecf40] co located POCs unavailable
90:[h264 @ 0x624860285bc0] reference picture missing during reorder
91:[h264 @ 0x624860285bc0] Missing reference picture, default is 68478
92:[vist#0:0/h264 @ 0x62485fc10480] corrupt decoded frame
94:[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 5, dts = 3961175473).
95:[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 5
[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 5 bitrate= 567.9kbits/s dup=80 drop=0 speed=3.23x
Ready
First line name of the generated txt-file, with timestamps..., the errors.
"ready" if more then one files will be checked.
An additional "ready" if all complete.
The script :
#!/bin/bash
while IFS= read -r -d $'\0' video
do
filename=$(basename -- "$video")
filename="${filename%.*}"
ffmpeg -y -i "$video" -vcodec libx264 -crf 51 -preset ultrafast -acodec copy -f mp4 -movflags frag_keyframe+empty_moov+delay_moov pipe:1 >/dev/null 2>"${filename}.txt" </dev/null
TxtFileName="${filename}.txt"
mystring=${TxtFileName}
echo $mystring
grep -i -n 'error\|duplicate\|failure\|missing\|POCs\|corrupt ' "${TxtFileName}"
echo "Ready"
done < <(find -iregex ".*\.\(mp4\|mkv\|m2ts\|mpg\|ts\)" -print0)
#dos2unix -c mac "${TxtFileName}"
#grep -C 5 -i -n 'error\|duplicate\|failure' "${TxtFileName}"
echo "Ready"
read pause
+ Reply to Thread
Results 1 to 3 of 3
-
-
1 line before and after the error would help ?
frame=45414 fps=170 q=51.0 size= 63514kB time=00:15:08.28 bitrate= 572.8kbits/s dup=52 drop=0 speed= 3.4x
frame=45502 fps=170 q=50.0 size= 63514kB time=00:15:10.04 bitrate= 571.7kbits/s dup=52 drop=0 speed= 3.4x
[mpegts @ 0x62485fbe84c0] Packet corrupt (stream = 0, dts = 3403189348).
[in#0/mpegts @ 0x62485fbe83c0] corrupt input packet in stream 0 -
News???
Thread moved.Last edited by Baldrick; 4th Jan 2025 at 11:00.
Similar Threads
-
Looking for ffmpeg script with AV1 encoder, HLS Encoding Linux
By Yamiraan in forum Video ConversionReplies: 0Last Post: 16th Mar 2024, 05:21 -
Video stabilization with timestamp
By theseeker2 in forum Newbie / General discussionsReplies: 8Last Post: 5th Mar 2024, 16:30 -
Video frame check with ffmpeg, timestamp included (Linux)
By Gloster in forum Video ConversionReplies: 1Last Post: 12th Jan 2024, 05:23 -
Linux full ffmpeg x264 bash script for quick & dirty & fast video encoding
By M.Shiver in forum LinuxReplies: 16Last Post: 6th Nov 2023, 10:30 -
convert ffmpeg bat file to Linux shell script
By wiseant in forum LinuxReplies: 4Last Post: 2nd Sep 2023, 18:25