[Bug 657221] Bug with clock dv

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 24 23:26:29 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=657221
  GStreamer | gst-plugins-good | git

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at circular-chaos.org

--- Comment #1 from Sebastian Dröge <slomo at circular-chaos.org> 2011-08-25 06:26:25 UTC ---
Content of the pastebin linked above:

My aim is to get dv source to make different treatment.


- In first time, I record the dv source in mkv file where video is in mjpeg and
audio is raw.
- In second time, I want to stream in flv so the video is encoded in x264 and
the audio in faac.

When I build the pipeline that can do this thing, i have a error of dv clock.

this is my pipeline :

gst-launch-0.10 dv1394src port=0 guid=0x0020110114009d97 ! queue
max-size-time=30000000000 ! dvdemux name=dv_src ! queue
max-size-time=30000000000 ! dvdec ! ffmpegcolorspace ! ffdeinterlace !
videoscale ! videorate ! "video/x-raw-yuv, format=(fourcc)I420, width=(int)768,
height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1" !
queue name=decoded0 ! queue ! tee name=v_src_tee dv_src. ! "audio/x-raw-int" !
queue ! volume ! audiorate tolerance=40000000 ! identity ! level ! tee
name=a_src_tee v_src_tee. ! queue ! ffenc_mjpeg bitrate=40000000 ! queue ! tee
name=v_enc_0_tee a_src_tee. ! queue ! matroskamux name=muxer ! queue ! tee
name=muxer_tee v_enc_0_tee. ! queue ! muxer.  muxer_tee. ! filesink
location=/mnt/recordings/original.mkv v_src_tee. ! queue ! ffmpegcolorspace !
videorate ! videoscale ! "video/x-raw-yuv, format=(fourcc)I420, width=(int)256,
height=(int)144, framerate=(fraction)25/1" ! x264enc bitrate=160 threads=2
byte-stream=False name=vencoder_1 ! queue ! tee name=v_enc_1_tee a_src_tee. !
queue ! faac bitrate=32000 profile=2 ! queue ! tee name=a_enc_1_tee 
a_enc_1_tee. ! queue ! flvmux streamable=True name=flvmux ! queue leaky=2 !
rtmpsink location=rtmp://fms.ubicast.net:1935/live/live-test-server-53
v_enc_1_tee. ! queue ! flvmux. -v

I added identity just beside audiorate to have more information that you can
see just below.
At the begining the duration is 40ms but after a while the duration change.

/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain   *******
(identity0:sink)i (7680 bytes, timestamp: 0:00:16.736625000, duration:
0:00:00.040000000, offset: 803358, offset_end:  805278, flags: 0) 0xac857698"
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain   *******
(identity0:sink)i (7680 bytes, timestamp: 0:00:16.776625000, duration:
0:00:00.040000000, offset: 805278, offset_end:  807198, flags: 0) 0x9000400"
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain   *******
(identity0:sink)i (192000 bytes, timestamp: 0:00:16.816625000, duration:
0:00:01.000000000, offset: 807198, offset_end:  855198, flags: 128) 0xac803690"
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain   *******
(identity0:sink)i (192000 bytes, timestamp: 0:00:17.816625000, duration:
0:00:01.000000000, offset: 855198, offset_end:  903198, flags: 128) 0xac8035f0"

-- 
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