Hi,

Am 18.01.19 um 16:44 schrieb Carl Eugen Hoyos:
>> You may be right. Technically I don't see an obstacle for a software
>> player to feed the video display buffer with 50 half-frames per second,
>> as most displays refresh rate is at least 50 per sec.
> I do though.
> (It is simply not possible, you can only send frames to your
> driver / display.)
Well, but the software player could send 50 frames per second with
alternately updating only each 2nd top/bottom line.

> One possibility is to add "-f null -".

Thanks!

for the input vob I get:
=======================
$ ffmpeg -i CYD_copy.vob -vf idet -f null -
ffmpeg version 4.1-static https://johnvansickle.com/ffmpeg/  Copyright
(c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
[.....]
Input #0, mpeg, from 'CYD_copy.vob':
  Duration: 01:16:20.74, start: 0.500000, bitrate: 7068 kb/s
    Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg,
top first), 704x576 [SAR 12:11 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video (native) -> wrapped_avframe (native))
  Stream #0:0 -> #0:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0: Video: wrapped_avframe, yuv420p, 704x576 [SAR 12:11 DAR
4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.35.100 wrapped_avframe
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc58.35.100 pcm_s16le
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 881664 >= 881664
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 463 >= 463
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 930816 >= 930816
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 1732608 >= 1731073
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 906 >= 906
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 909 >= 909
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 1761792 >= 1761792
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 1855488 >= 1855488
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 2941440 >= 2941440
[.....]
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 218113536 >= 218113536
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 113606 >= 113606
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 1: 219217920 >= 219217920
[null @ 0x6afafc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 114181 >= 114181
frame=114684 fps=114 q=-0.0 Lsize=N/A time=01:16:20.72 bitrate=N/A
speed=4.53x   
video:60030kB audio:860178kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
[Parsed_idet_0 @ 0x6e71900] Repeated Fields: Neither:114683 Top:     1
Bottom:     0
[Parsed_idet_0 @ 0x6e71900] Single frame detection: TFF: 18738 BFF:
12770 Progressive: 42496 Undetermined: 40680
[Parsed_idet_0 @ 0x6e71900] Multi frame detection: TFF: 36759 BFF: 19705
Progressive: 58193 Undetermined:    27

for the output mp4 I get:
=======================
$ ffmpeg -i CYD_atadenoise_H.264_mp3-q4.mp4 -vf idet -f null -
[.....]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'CYD_atadenoise_H.264_mp3-q4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 01:16:20.42, start: 0.000000, bitrate: 1403 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
704x576 [SAR 12:11 DAR 4:3], 1276 kb/s, 25 fps, 25 tbr, 12800 tbn, 50
tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 119 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.20.100
    Stream #0:0(und): Video: wrapped_avframe, yuv420p, 704x576 [SAR
12:11 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.35.100 wrapped_avframe
    Stream #0:1(und): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
(default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc58.35.100 pcm_s16le
frame=114502 fps=112 q=-0.0 Lsize=N/A time=01:16:20.08 bitrate=N/A
speed= 4.5x   
video:59935kB audio:860018kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
[Parsed_idet_0 @ 0x5e49d00] Repeated Fields: Neither:114501 Top:     1
Bottom:     0
[Parsed_idet_0 @ 0x5e49d00] Single frame detection: TFF: 11649 BFF: 
8023 Progressive: 78542 Undetermined: 16288
[Parsed_idet_0 @ 0x5e49d00] Multi frame detection: TFF: 14215 BFF:  8454
Progressive: 91824 Undetermined:     9

How do I interpret this data? There is 1 top frame, 0 bottom. Are these
videos interlaced?

Also not, that there is 50 tbc for the input and 25 tbc for the output.

-Ulf

_______________________________________________
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".

Reply via email to