On 02/02/18 21:57, John Pilkington wrote:
I've just been looking at this.  It seems happy with DVB-T recordings stripped of multiple audio and subtitle streams but apparently fails to parse the output of ffmprobe when things get more complicated, and it quits.

It looks as if it would be useful with files it could handle but I haven't found a spec or info about reporting.  Any instructions?

John P

Unsurprisingly, I think the problem here was perhaps the h264 codec

/usr/bin/ffprobe -hide_banner -v error -show_streams -show_format -of json "/home/john/SGs/RecsSG1/1102_20160104205800.ts"
cmd output: [h264 @ 0x55582a832240] mmco: unref short failure
.............
lots of stream info here
.............

Error decoding ffprobe JSON output
File "/usr/lib64/python3.6/site-packages/vidcutter/videocutter.py", line 658, in openMedia
    self.loadMedia(filename)
File "/usr/lib64/python3.6/site-packages/vidcutter/videocutter.py", line 799, in loadMedia
    self.videoService.setMedia(self.currentMedia)
File "/usr/lib64/python3.6/site-packages/vidcutter/libs/videoservice.py", line 92, in setMedia
    self.probe(source)
File "/usr/lib64/python3.6/site-packages/vidcutter/libs/videoservice.py", line 459, in probe
    self.media = Munch.fromDict(json.loads(json_data))
  File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None

<class 'json.decoder.JSONDecodeError'>: Expecting value: line 1 column 2 (char 1)
_______________________________________________
rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org

Reply via email to