Re: [FFmpeg-user] fail to seek key video packet

2018-02-14 Thread Carl Eugen Hoyos
2018-02-14 13:02 GMT+01:00 qw :
>>If the issue is only reproducible with files created with FFmpeg,
>>I would assume an issue with the muxed file / the muxer.
>
> We could use some video/audio analyzer tools to check
> whether the sample ts file is correct. If there is no problem,
> we can think there is bug in ffmpeg, e.g. ts demuxer.

Or, even simpler, we could test with the original file (before
being remuxed or transcoded with FFmpeg) to know for sure
if FFmpeg needs a change.

(I assume that your test doesn't really help because our
muxer is known not to be compliant afair.)

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] fail to seek key video packet

2018-02-14 Thread qw
>If the issue is only reproducible with files created with FFmpeg,
>I would assume an issue with the muxed file / the muxer.
We could use some video/audio analyzer tools to check whether the sample ts 
file is correct. If there is no problem, we can think there is bug in ffmpeg, 
e.g. ts demuxer.


Thanks!


Regards


Andrew






At 2018-02-12 02:53:39, "Carl Eugen Hoyos"  wrote:
>2018-02-11 12:58 GMT+01:00 qw :
>>>Not sure what you are trying to show but this file was created with
>>>FFmpeg and is therefore typically not a good example.
>>>
>>>Or to say it differently: If the issue can be shown with a file
>>>created by FFmpeg, why did you upload a (large) sample?
>>
>> I just find the issue with the large sample files.
>
>If the issue is only reproducible with files created with FFmpeg,
>I would assume an issue with the muxed file / the muxer.
>
>Carl Eugen
>___
>ffmpeg-user mailing list
>ffmpeg-user@ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>To unsubscribe, visit link above, or email
>ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] fail to seek key video packet

2018-02-11 Thread Carl Eugen Hoyos
2018-02-11 12:58 GMT+01:00 qw :
>>Not sure what you are trying to show but this file was created with
>>FFmpeg and is therefore typically not a good example.
>>
>>Or to say it differently: If the issue can be shown with a file
>>created by FFmpeg, why did you upload a (large) sample?
>
> I just find the issue with the large sample files.

If the issue is only reproducible with files created with FFmpeg,
I would assume an issue with the muxed file / the muxer.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] fail to seek key video packet

2018-02-11 Thread qw
>Not sure what you are trying to show but this file was created with
>FFmpeg and is therefore typically not a good example.
>
>Or to say it differently: If the issue can be shown with a file
>created by FFmpeg, why did you upload a (large) sample?


I just find the issue with the large sample files.



At 2018-02-07 18:56:26, "Carl Eugen Hoyos"  wrote:
>2018-02-07 7:03 GMT+01:00 qw :
>
>> ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
>
>Please remember that only current FFmpeg git head is supported here.
>
>[...]
>
>> Input #0, mpegts, from './hanma.ts':
>>   Duration: 00:02:39.78, start: 1.40, bitrate: 10913 kb/s
>>   Program 1
>> Metadata:
>>   service_name: Service01
>>   service_provider: FFmpeg
>
>Not sure what you are trying to show but this file was created with
>FFmpeg and is therefore typically not a good example.
>
>Or to say it differently: If the issue can be shown with a file
>created by FFmpeg, why did you upload a (large) sample?
>
>Carl Eugen
>___
>ffmpeg-user mailing list
>ffmpeg-user@ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>To unsubscribe, visit link above, or email
>ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

[FFmpeg-user] fail to seek key video packet

2018-02-09 Thread qw
Hi,


I use following command to test ffmpeg-3.4.1:


ffmpeg -debug_ts -ss 10 -t 1 -i hanma.ts -f null /dev/null






ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  configuration: --enable-version3 --enable-asm --enable-avfilter 
--disable-static --enable-shared --enable-gpl --enable-nonfree 
--prefix=/usr/local/ --extra-cflags=-I/usr/local/include 
--extra-ldflags=-L/usr/local/lib --enable-stripping
  libavutil  55. 78.100 / 55. 78.100
  libavcodec 57.107.100 / 57.107.100
  libavformat57. 83.100 / 57. 83.100
  libavdevice57. 10.100 / 57. 10.100
  libavfilter 6.107.100 /  6.107.100
  libswscale  4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc54.  7.100 / 54.  7.100
Input #0, mpegts, from './hanma.ts':
  Duration: 00:02:39.78, start: 1.40, bitrate: 10913 kb/s
  Program 1 
Metadata:
  service_name: Service01
  service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 
0x001B), yuv420p(progressive), 1280x720 [SAR 3:4 DAR 4:3], 24 fps, 24 tbr, 90k 
tbn, 48 tbc
Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, 
fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
demuxer -> ist_index:1 type:audio next_dts:NOPTS next_dts_time:NOPTS 
next_pts:NOPTS next_pts_time:NOPTS pkt_pts:1024560 pkt_pts_time:11.384 
pkt_dts:1024560 pkt_dts_time:11.384 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:-1440 pkt_pts_time:-0.016 
pkt_dts:-1440 pkt_dts_time:-0.016 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:0 frame_pts_time:0 time_base:1/48000
encoder -> type:audio pkt_pts:0 pkt_pts_time:0 pkt_dts:0 pkt_dts_time:0
demuxer -> ist_index:1 type:audio next_dts:16000 next_dts_time:0.016 
next_pts:16000 next_pts_time:0.016 pkt_pts:1027440 pkt_pts_time:11.416 
pkt_dts:1027440 pkt_dts_time:11.416 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:1440 pkt_pts_time:0.016 
pkt_dts:1440 pkt_dts_time:0.016 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:768 frame_pts_time:0.016 time_base:1/48000
encoder -> type:audio pkt_pts:768 pkt_pts_time:0.016 pkt_dts:768 
pkt_dts_time:0.016
demuxer -> ist_index:1 type:audio next_dts:48000 next_dts_time:0.048 
next_pts:48000 next_pts_time:0.048 pkt_pts:1030320 pkt_pts_time:11.448 
pkt_dts:1030320 pkt_dts_time:11.448 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:4320 pkt_pts_time:0.048 
pkt_dts:4320 pkt_dts_time:0.048 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:2304 frame_pts_time:0.048 time_base:1/48000
encoder -> type:audio pkt_pts:2304 pkt_pts_time:0.048 pkt_dts:2304 
pkt_dts_time:0.048
demuxer -> ist_index:0 type:video next_dts:NOPTS next_dts_time:NOPTS 
next_pts:NOPTS next_pts_time:NOPTS pkt_pts:1026000 pkt_pts_time:11.4 
pkt_dts:1026000 pkt_dts_time:11.4 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:0 type:video pkt_pts:0 pkt_pts_time:0 pkt_dts:0 
pkt_dts_time:0 off:-1140 off_time:-11.4
demuxer -> ist_index:0 type:video next_dts:41667 next_dts_time:0.041667 
next_pts:0 next_pts_time:0 pkt_pts:1029750 pkt_pts_time:11.4417 pkt_dts:1029750 
pkt_dts_time:11.4417 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:0 type:video pkt_pts:3750 pkt_pts_time:0.0416667 
pkt_dts:3750 pkt_dts_time:0.0416667 off:-1140 off_time:-11.4
[h264 @ 0x17da880] Missing reference picture, default is 0
[h264 @ 0x17da880] decode_slice_header error
demuxer -> ist_index:0 type:video next_dts:83334 next_dts_time:0.083334 
next_pts:0 next_pts_time:0 pkt_pts:1033500 pkt_pts_time:11.4833 pkt_dts:1033500 
pkt_dts_time:11.4833 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:0 type:video pkt_pts:7500 pkt_pts_time:0.083 
pkt_dts:7500 pkt_dts_time:0.083 off:-1140 off_time:-11.4
demuxer -> ist_index:1 type:audio next_dts:8 next_dts_time:0.08 
next_pts:8 next_pts_time:0.08 pkt_pts:1033200 pkt_pts_time:11.48 
pkt_dts:1033200 pkt_dts_time:11.48 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:7200 pkt_pts_time:0.08 
pkt_dts:7200 pkt_dts_time:0.08 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:3840 frame_pts_time:0.08 time_base:1/48000
encoder -> type:audio pkt_pts:3840 pkt_pts_time:0.08 pkt_dts:3840 
pkt_dts_time:0.08
demuxer -> ist_index:1 type:audio next_dts:112000 next_dts_time:0.112 
next_pts:112000 next_pts_time:0.112 pkt_pts:1036080 pkt_pts_time:11.512 
pkt_dts:1036080 pkt_dts_time:11.512 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:10080 pkt_pts_time:0.112 
pkt_dts:10080 pkt_dts_time:0.112 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:5376 frame_pts_time:0.112 time_base:1/48000
encoder -> type:audio 

Re: [FFmpeg-user] fail to seek key video packet

2018-02-07 Thread Carl Eugen Hoyos
2018-02-07 7:03 GMT+01:00 qw :

> ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers

Please remember that only current FFmpeg git head is supported here.

[...]

> Input #0, mpegts, from './hanma.ts':
>   Duration: 00:02:39.78, start: 1.40, bitrate: 10913 kb/s
>   Program 1
> Metadata:
>   service_name: Service01
>   service_provider: FFmpeg

Not sure what you are trying to show but this file was created with
FFmpeg and is therefore typically not a good example.

Or to say it differently: If the issue can be shown with a file
created by FFmpeg, why did you upload a (large) sample?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

[FFmpeg-user] fail to seek key video packet

2018-02-06 Thread qw
Hi,


I use following command to test ffmpeg-3.4.1:


ffmpeg -debug_ts -ss 10 -t 1 -i hanma.ts -f null /dev/null






ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  configuration: --enable-version3 --enable-asm --enable-avfilter 
--disable-static --enable-shared --enable-gpl --enable-nonfree 
--prefix=/usr/local/ --extra-cflags=-I/usr/local/include 
--extra-ldflags=-L/usr/local/lib --enable-stripping
  libavutil  55. 78.100 / 55. 78.100
  libavcodec 57.107.100 / 57.107.100
  libavformat57. 83.100 / 57. 83.100
  libavdevice57. 10.100 / 57. 10.100
  libavfilter 6.107.100 /  6.107.100
  libswscale  4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc54.  7.100 / 54.  7.100
Input #0, mpegts, from './hanma.ts':
  Duration: 00:02:39.78, start: 1.40, bitrate: 10913 kb/s
  Program 1 
Metadata:
  service_name: Service01
  service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 
0x001B), yuv420p(progressive), 1280x720 [SAR 3:4 DAR 4:3], 24 fps, 24 tbr, 90k 
tbn, 48 tbc
Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, 
fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
demuxer -> ist_index:1 type:audio next_dts:NOPTS next_dts_time:NOPTS 
next_pts:NOPTS next_pts_time:NOPTS pkt_pts:1024560 pkt_pts_time:11.384 
pkt_dts:1024560 pkt_dts_time:11.384 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:-1440 pkt_pts_time:-0.016 
pkt_dts:-1440 pkt_dts_time:-0.016 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:0 frame_pts_time:0 time_base:1/48000
encoder -> type:audio pkt_pts:0 pkt_pts_time:0 pkt_dts:0 pkt_dts_time:0
demuxer -> ist_index:1 type:audio next_dts:16000 next_dts_time:0.016 
next_pts:16000 next_pts_time:0.016 pkt_pts:1027440 pkt_pts_time:11.416 
pkt_dts:1027440 pkt_dts_time:11.416 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:1440 pkt_pts_time:0.016 
pkt_dts:1440 pkt_dts_time:0.016 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:768 frame_pts_time:0.016 time_base:1/48000
encoder -> type:audio pkt_pts:768 pkt_pts_time:0.016 pkt_dts:768 
pkt_dts_time:0.016
demuxer -> ist_index:1 type:audio next_dts:48000 next_dts_time:0.048 
next_pts:48000 next_pts_time:0.048 pkt_pts:1030320 pkt_pts_time:11.448 
pkt_dts:1030320 pkt_dts_time:11.448 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:4320 pkt_pts_time:0.048 
pkt_dts:4320 pkt_dts_time:0.048 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:2304 frame_pts_time:0.048 time_base:1/48000
encoder -> type:audio pkt_pts:2304 pkt_pts_time:0.048 pkt_dts:2304 
pkt_dts_time:0.048
demuxer -> ist_index:0 type:video next_dts:NOPTS next_dts_time:NOPTS 
next_pts:NOPTS next_pts_time:NOPTS pkt_pts:1026000 pkt_pts_time:11.4 
pkt_dts:1026000 pkt_dts_time:11.4 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:0 type:video pkt_pts:0 pkt_pts_time:0 pkt_dts:0 
pkt_dts_time:0 off:-1140 off_time:-11.4
demuxer -> ist_index:0 type:video next_dts:41667 next_dts_time:0.041667 
next_pts:0 next_pts_time:0 pkt_pts:1029750 pkt_pts_time:11.4417 pkt_dts:1029750 
pkt_dts_time:11.4417 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:0 type:video pkt_pts:3750 pkt_pts_time:0.0416667 
pkt_dts:3750 pkt_dts_time:0.0416667 off:-1140 off_time:-11.4
[h264 @ 0x17da880] Missing reference picture, default is 0
[h264 @ 0x17da880] decode_slice_header error
demuxer -> ist_index:0 type:video next_dts:83334 next_dts_time:0.083334 
next_pts:0 next_pts_time:0 pkt_pts:1033500 pkt_pts_time:11.4833 pkt_dts:1033500 
pkt_dts_time:11.4833 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:0 type:video pkt_pts:7500 pkt_pts_time:0.083 
pkt_dts:7500 pkt_dts_time:0.083 off:-1140 off_time:-11.4
demuxer -> ist_index:1 type:audio next_dts:8 next_dts_time:0.08 
next_pts:8 next_pts_time:0.08 pkt_pts:1033200 pkt_pts_time:11.48 
pkt_dts:1033200 pkt_dts_time:11.48 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:7200 pkt_pts_time:0.08 
pkt_dts:7200 pkt_dts_time:0.08 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:3840 frame_pts_time:0.08 time_base:1/48000
encoder -> type:audio pkt_pts:3840 pkt_pts_time:0.08 pkt_dts:3840 
pkt_dts_time:0.08
demuxer -> ist_index:1 type:audio next_dts:112000 next_dts_time:0.112 
next_pts:112000 next_pts_time:0.112 pkt_pts:1036080 pkt_pts_time:11.512 
pkt_dts:1036080 pkt_dts_time:11.512 off:-1140 off_time:-11.4
demuxer+ffmpeg -> ist_index:1 type:audio pkt_pts:10080 pkt_pts_time:0.112 
pkt_dts:10080 pkt_dts_time:0.112 off:-1140 off_time:-11.4
encoder <- type:audio frame_pts:5376 frame_pts_time:0.112 time_base:1/48000
encoder -> type:audio