2018-08-25 23:11 GMT+02:00, LH <[email protected]>: > Hi, I have a Samsung security system which saves video in the .sec format > which no other app can play. The Samsung SmartViewer app has developed > issues and is no longer updated/supported so, as a result, I cannot play > saved .sec files with it, either. So- I can save video but there is no way > to watch it. However, I can convert these .sec files to mp4 with ffmpeg, > using this command: > > ffmpeg -i (name of file).sec (name of final file).mp4 > > It throws errors such as:
> [h264 @ 000000000057fb00] Invalid NAL unit 8, skipping. The errors could in theory be fixed but this will probably only be done if you can provide a sample with visible problems. > [libx264 @ 0000000000516800] frame= 176 QP=25.50 NAL=2 Slice:B Poc:352 I:3 > P:485 SKIP:821 size=1220 bytes > > but it still works well enough that I can watch the video with any app that > plays mp4. However, the video is sped up quite a bit so that it appears to > be in fast motion. You can use the input option "-r" to fix the speed of the output video assuming the input is cfr. If the input is not cfr, we will likely need more samples (with actual content). > I suppose it's the Samsung app that is doing this but > since I can't watch it until I convert it, I don't know for sure. I figured > out that it is about 3.3 times faster. I can convert the video and also slow > it down to normal speed with the command: > ffmpeg -i (name of file).sec -filter:v "setpts=3.3*PTS" (name of final > file).mp4 The setpts filter is of course also a possibility. > but the video loses quality and horizontal lines appear in it. Complete, uncut console output missing. (works fine here) Carl Eugen _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
