[Bug 702152] New: interlaced video: Patches in output video and time stamp calculation issues with network input

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 13 00:00:09 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702152
  GStreamer | gst-plugins | 1.0.4

           Summary: interlaced video: Patches in output video and time
                    stamp calculation issues with network input
    Classification: Platform
           Product: GStreamer
           Version: 1.0.4
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: raju.babannavar at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I am using gstreamer(version 1.0.4). I have a ts file(it is 100MB file,
download it using following link), its details are given below. My pipeline is:

test.ts link:
https://docs.google.com/file/d/0Bx2DzyzsJg9YYmxRNXUwejYzOGc/edit?usp=sharing

gst-launch-1.0 udpsrc port=10000 ! decodebin ! deinterlace mode=0 fields=1
method=4 tff=0 ! tee ! queue ! videoconvert ! videoscale !
video/x-raw,width=640,height=360 ! x264enc tune=zero-latency ! filesink
location=out.264

When I recieve my test.ts file through network over udp I am seeing patches in
the output video after 6000 frames. Also video is running twice faster than
audio(because video timestamp is half of audio timestamp), No avsynch at all.
Finally it leads to pipeline hang(all threads are in pthread_cond_wait
mode)!!!. This is repeatable and with roughly the same pattern so it's quite
interesting. If I remove the encoder from the pipeline(see below given
pipeline) I dont see any issue at all. Surprizing!!! I have validated the
network input, its perfectly fine.

gst-launch-1.0 udpsrc port=10000 ! decodebin ! deinterlace mode=0 fields=1
method=4 tff=0 ! tee ! queue ! videoconvert ! videoscale !
video/x-raw,width=640,height=360 ! filesink location=out.yuv

If I repeate the same experiment with test.ts as fileinput through filesrc I
dont see any issue.!!!

TS FILE DETAILS: 
======================================================== 
Format                                   : MPEG-TS 
Overall bit rate                         : 8 237 Kbps 

VIDEO 
------------------------------------------------------- 
ID                                       : 1002 (0x3EA) 
Menu ID                                  : 1200 (0x4B0) 
Format                                   : AVC 
Format/Info                              : Advanced Video Codec 
Format version                           : Version 2 
Format profile                           : Main at L4.0 
Format settings, CABAC                   : Yes 
Format settings, ReFrames                : 4 frames 
Codec ID                                 : 27 
Bit rate                                 : 7 312 Kbps 
Width                                    : 1 920 pixels 
Height                                   : 1 080 pixels 
Display aspect ratio                     : 16:9 
Frame rate                               : 25.000 fps 
Color space                              : YUV 
Chroma subsampling                       : 4:2:0 
Bit depth                                : 8 bits 
Scan type                                : Interlaced 
Scan order                               : Top Field First 
Bits/(Pixel*Frame)                       : 0.141 
Color primaries                          : BT.709-5, BT.1361, IEC 61966-2-4,
SMPTE RP177 
Transfer characteristics                 : BT.709-5, BT.1361 
Matrix coefficients                      : BT.709-5, BT.1361, IEC 61966-2-4
709, SMPTE RP177 

Audio #1 
------------------------------------------------------- 
ID                                       : 1003 (0x3EB) 
Menu ID                                  : 1200 (0x4B0) 
Format                                   : MPEG Audio 
Format version                           : Version 1 
Format profile                           : Layer 2 
Codec ID                                 : 4 
Bit rate mode                            : Constant 
Bit rate                                 : 128 Kbps 
Channel(s)                               : 2 channels 
Sampling rate                            : 48.0 KHz 
Compression mode                         : Lossy 
Delay relative to video                  : -630ms 
Language                                 : English 

Audio #2 
------------------------------------------------------- 
ID                                       : 1004 (0x3EC) 
Menu ID                                  : 1200 (0x4B0) 
Format                                   : AC-3 
Format/Info                              : Audio Coding 3 
Format profile                           : Layer 2 
Mode extension                           : ME (music and effects) 
Format settings, Endianness              : Big 
Codec ID                                 : 6 
Bit rate mode                            : Constant 
Bit rate                                 : 384 Kbps 
Channel(s)                               : 6 channels 
Channel positions                        : Front: L C R, Side: L R, LFE 
Sampling rate                            : 48.0 KHz 
Bit depth                                : 16 bits 
Compression mode                         : Lossy 
Delay relative to video                  : -781ms 
Stream size                              : 4.65 MiB (5%) 
Language                                 : Hindi 

Thanks in advance 
Regards 
JasonP

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list