Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#18 closed enhancement (fixed)

support lvf h264 file

Reported by: compn Owned by: michael
Priority: wish Component: avcodec
Version: git Keywords: h264 lvf
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://samples.mplayerhq.hu/camera-dvr/test.lvf
works in elecard avchd player
somewhat works with h264es demuxer

probably needs small change by h264 guru to work.

file comes from chinese dvr product.

Change History (5)

comment:1 Changed 7 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open

Decoded frames are completely grey, mplayer -demuxer h264es shows a few unrecognisable artefacts.

ffmpeg -i test.lvf -f null -
FFmpeg version git-N-28626-g797ef67, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 25 2011 09:09:01 with gcc 4.5.2
  configuration: --cc=/usr/local/gcc-4.5.2/bin/gcc --enable-gpl
  libavutil    50. 40. 0 / 50. 40. 0
  libavcodec   52.114. 0 / 52.114. 0
  libavformat  52.103. 0 / 52.103. 0
  libavdevice  52.  3. 0 / 52.  3. 0
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[h264 @ 0x11f0fd0] concealing 330 DC, 330 AC, 330 MV errors
    Last message repeated 5 times
[h264 @ 0x11ee650] max_analyze_duration reached
[h264 @ 0x11ee650] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (50/2)
Input #0, h264, from 'test.lvf':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: h264 (Baseline), yuv420p, 352x240, 25 fps, 25 tbr, 1200k tbn, 50 tbc
[buffer @ 0x14a9d90] w:352 h:240 pixfmt:yuv420p
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf52.103.0
    Stream #0.0: Video: rawvideo, yuv420p, 352x240, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
[h264 @ 0x11f0fd0] concealing 330 DC, 330 AC, 330 MV errors
    Last message repeated 629 times  -0kB time=19.00 bitrate=  -0.0kbits/s
[h264 @ 0x11f0fd0] concealing 166 DC, 166 AC, 166 MV errors
frame=  631 fps=  0 q=0.0 Lsize=      -0kB time=25.24 bitrate=  -0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -inf%

comment:2 Changed 7 years ago by pross

Partial description of file format: http://blog.sina.com.cn/s/blog_6a0759f80100kge2.html
(chinese)

comment:3 Changed 7 years ago by michael

  • Component changed from FFmpeg to avcodec
  • Resolution set to fixed
  • Status changed from open to closed

Seems my last commit to h264 fixed this too

comment:4 Changed 6 years ago by cehoyos

  • Keywords h264 added

comment:5 Changed 5 years ago by cehoyos

  • Keywords lvf added
Note: See TracTickets for help on using tickets.