What librairies require for streaming mp4 files

*nix specific usage questions
debasish
New Cone
New Cone
Posts: 9
Joined: 24 Jul 2007 13:29

What librairies require for streaming mp4 files

Postby debasish » 20 Aug 2007 09:06

Hi All,

What are the libraries which vlc require to stream mp4 files with H264 encoding.

When I stream a file, with the following options, I only get the sound on the client side.

am sending the configuring options used for ffmpeg and vlc and the command used to stream

FFMPEG.

./configure --cc=$(CROSS_COMPILE)gcc --cross-compile --enable-encoder=mp3 \
--enable-libmp3lame --enable-libx264 --enable-shared --enable-muxer=mp2t \
--enable-encoder=mpeg2video \
--disable-decoder=atrac3 --enable-pp --enable-gpl --enable-demuxer=mpeg2video \
--enable-muxer=mpeg2video \


VLC.
====./configure --disable-x11 --disable-xvideo \
--disable-gtk --disable-livedotcom --target=$(ARCH)-linux \
--disable-mad --disable-libmpeg2 --enable-shared \
--with-libiconv-prefix=$(BUILD_DIR)/../libiconv --disable-caca \
--disable-skins --disable-skins2 --disable-kde --disable-qt \
--disable-nls --disable-x --prefix=$(STAGE) \
--disable-screen --disable-screensaver \
--disable-gui --disable-freetype --disable-gnutls \
--disable-glx --with-ffmpeg-mp3lame --enable-mp4 \
--disable-ipv6 --enable-ffmpeg --with-ffmpeg-tree=$(BUILD_DIR)/../ffmpeg/ \
--enable-ts --enable-dvbpsi --enable-realrtsp \
)

Options to run the command.

vlc 21.mp4 --sout '#duplicate{dst="transcode{vcodec=mp4v,vb=384,width=320,height=240,deinterlace}:std{access=rtp,mux=ts,dst=192.168.25.92:1234}}' -vvv


Any help would be great.

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: What librairies require for streaming mp4 files

Postby funman » 20 Aug 2007 14:21

please paste debug log on both the client & the server

debasish
New Cone
New Cone
Posts: 9
Joined: 24 Jul 2007 13:29

Re: What librairies require for streaming mp4 files

Postby debasish » 23 Aug 2007 07:13

On The server side I get the following message
[00000177] ffmpeg demuxer debug: AVFormat supported stream
[00000177] ffmpeg demuxer debug: - format = mov,mp4,m4a,3gp,3g2,mj2 (QuickTime/MPEG4/Motion JPEG 2000 format)
[00000177] ffmpeg demuxer debug: - start time = 0
[00000177] ffmpeg demuxer debug: - duration = 30743220
[00000177] main demuxer debug: using demux2 module "ffmpeg"
[00000162] main input debug: looking for a subtitle file in /mserver/
[00000200] main packetizer debug: looking for packetizer module: 13 candidates
[00000200] packetizer_mpeg4audio packetizer debug: running MPEG4 audio packetizer
[00000200] packetizer_mpeg4audio packetizer debug: AAC 44100Hz 1024 samples/frame
[00000200] main packetizer debug: using packetizer module "packetizer_mpeg4audio"
[00000162] main input debug: stream out mode -> no decoder thread
[00000212] main packetizer debug: looking for packetizer module: 13 candidates
[00000212] main packetizer debug: using packetizer module "packetizer_h264"
[00000162] main input debug: stream out mode -> no decoder thread
[00000162] main input debug: starting in sync mode
[00000162] main input debug: `/mserver/21.mp4' successfully opened
[00000164] main stream output debug: adding a new input
[00000170] main private debug: adding a new input
[00000170] mux_ts private debug: adding input codec=mp4a pid=68
[00000170] mux_ts private debug: - lang=eng
[00000170] mux_ts private debug: new PCR PID is 68
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000167] access_output_udp private warning: putting two PCRs at once
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000212] packetizer_h264 packetizer debug: found NAL_PPS
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000212] packetizer_h264 packetizer warning: waiting for SPS
[00000212] packetizer_h264 packetizer debug: found NAL_SPS





On the client side
[00000304] packetizer_mpeg4audio packetizer: running MPEG4 audio packetizer


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests