transcode and size problem

About encoding, codec settings, muxers and filter usage
cable007
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Mar 2008 09:43

transcode and size problem

Postby cable007 » 15 Apr 2008 18:56

hi,

I have a problem with a transcode and size

I receive stream in udp then I transcode it again for http access.

Source is capture card and stream is in 720x576, when I connect myself
directly to the source (still with vlc) no problem
now when I catch source then I transcode it, then now I open http
stream from this last point, I get a window with full width screen !
whereas I should get same size as source => 720x576

what's the problem, do I need to add --width and --height options ?
ratio option ??? just to transcode (my relay)

look my log that I have on my computer (in that case, I get video with
width = 1280 !!!) :
-------------------------------------------
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 debug: found NAL_SPS
packetizer_h264 debug: found NAL_PPS
ffmpeg debug: concealing 1620 DC, 1620 AC, 1620 MV errors
(h264@00B56250)
ffmpeg debug: concealing 0 DC, 0 AC, 0 MV errors
(h264@00B56250)
main debug: no usable vout present, spawning one
main debug: window size: 1536x576
main debug: looking for video output module: 6 candidates
vout_directx debug: creating DirectXEventThread
vout_directx debug: DirectXCreateWindow
vout_directx debug: created video sub-window
main debug: waiting for thread completion
main debug: thread 4092 (DirectX Events Thread) created at priority 0
(directx.c:278)
vout_directx debug: DirectXEventThread running
vout_directx debug: DirectXInitDDraw
vout_directx debug: directx-device:
vout_directx debug: DirectXEnumCallback: Pilote d'affichage principal, display
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
vout_directx debug: screen dimensions (0x0,1280x1024)
vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1
can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1
vout_directx debug: align_boundary_src=0,0 align_boundary_dest=1,1
align_size_src=0,0 align_size_dest=0,0
vout_directx debug: End DirectXInitDDraw
vout_directx debug: DirectXCreateDisplay
vout_directx debug: DirectXCreateClipper
vout_directx debug: disabling screen saver
main debug: using video output module "vout_directx"
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
main debug: waiting for thread completion
vout_directx debug: YUV overlay created successfully
vout_directx debug: End NewPictureVec (succeeded)
main debug: got 1 direct buffer(s)
main debug: picture in 720x576 (0,0,720x576), chroma I420, ar 8:3, sar 32:15
main debug: picture user 720x576 (0,0,720x576), chroma I420, ar 8:3, sar 32:15
main debug: picture out 720x576 (0,0,720x576), chroma I420, ar 8:3, sar 32:15
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 4632 (video output) created at priority 1
(video_output/video_output.c:421)
------------------------------------------------

please help me

Thanks

Nicolas

zplzk2
New Cone
New Cone
Posts: 9
Joined: 28 Nov 2011 09:26

Re: transcode and size problem

Postby zplzk2 » 26 Dec 2011 07:58

I have met exactly the same problem with cable007
I am using vlc 1.0.2

two major issues:
1) aspect-ratio not right——incorrect width is the same as screen-width, this only happens when the source is 480p(720*480) or 576p(720*576). when the source is 720p(1280*720), the aspect is right
2) the first 5 to 10 seconds lost SPS/PPS thus not be able to play

could anyone can offer any help? I've be searching solutions for these for a few weeks


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests