Re: [FFmpeg-trac] #8680(ffprobe:new): FFprobe produces invalid JSON

2020-05-19 Thread FFmpeg
#8680: FFprobe produces invalid JSON
+---
 Reporter:  ePirat  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  ffprobe
  Version:  git-master  |   Resolution:
 Keywords:  |   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+---

Comment (by ePirat):

 Sorry, the description got lost:

 Under certain circumstances ffprobe can produce invalid JSON output when
 its asked to only include specific tags and there are additional frame
 tags. Specifically the `-show_entries frame=pkt_pts_time:tags` is what
 causes the problem, using `frame_tags` instead of just `tags` works around
 the issue.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-trac] #8680(ffprobe:new): FFprobe produces invalid JSON

2020-05-19 Thread FFmpeg
#8680: FFprobe produces invalid JSON
-+--
 Reporter:  ePirat   | Type:  defect
   Status:  new  | Priority:  normal
Component:  ffprobe  |  Version:  git-master
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+--
 Summary of the bug:
 How to reproduce:
 {{{
 % ffprobe -print_format json -count_frames -select_streams v:0
 -show_entries frame=pkt_pts_time:tags -f lavfi
 "movie='file.mp4',select='gt(scene,0.0)'"

 ffprobe version N-97836-g050b72ab5e Copyright (c) 2007-2020 the FFmpeg
 developers
   built with Apple clang version 11.0.3 (clang-1103.0.32.29)
   configuration:
   libavutil  56. 46.100 / 56. 46.100
   libavcodec 58. 86.100 / 58. 86.100
   libavformat58. 43.100 / 58. 43.100
   libavdevice58.  9.103 / 58.  9.103
   libavfilter 7. 82.100 /  7. 82.100
   libswscale  5.  6.101 /  5.  6.101
   libswresample   3.  6.100 /  3.  6.100
 {
 Input #0, lavfi, from 'movie='file.mp4',select='gt(scene,0.0)'':
   Duration: N/A, start: 0.016683, bitrate: N/A
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080
 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 19001 tbn, 19001 tbc
 "packets_and_frames": [
 {
 "type": "packet""tags": {
 "lavfi.scene_score": "0.065193"
 },
 "side_data_list": [
 {

 }
 ]
 },
 [...  Truncated for the bugreport ...]
 }}}

 The `"type": "packet""tags": {` is not valid JSON.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".