View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Dec 05, 2005 11:42 am 
Offline
Joined: Mon Dec 05, 2005 11:33 am
Posts: 6
Hello everyone..

First I would like to say this is a great distribution.. I am fairly new to linux and am running Ubuntu linux on my main desktop.. I just set up knoppmyth on another box to run the backend and I am very impressed with the ease of installation and use. Kudos to everyone involved in creating this wonderful distribution.

I am having some difficulty with MythStream.. I have searched around the forums but I couldn't find a solution. here is whats happening

I click on Stream recordings and everything seems to go ok. but when I start the stream the only thing the log says is

Code:
Starting Stream of /myth/tv/1027_20051203220000_20051203230000.nuv
VLC media player 0.8.1 Janus
[00000214] main interface: creating httpd


now when I try to go to "my.ip:8001" I get a "Page cannot be displayed" errror.. and media player gives me an error that the server is not responding.

"my.ip:8002" works. but I can't figure out what to to with that screen.

any help is greatly appreciated

Thanks

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 12:39 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
can you see if any extra info is in log.txt file....default location is /myth/stream.

try running the script via an xterm window. go through the web interface as before....on the last screen you will see a 'Command Line' try that in an xterm

I assume you built ffmpeg and vlc from sources as listed on the instructions.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 4:02 pm 
Offline
Joined: Mon Dec 05, 2005 11:33 am
Posts: 6
OK I get the exact same as above when I run it in Xterm
however when I ctrl-c to stop it it does display this message:

Code:
signal 2 received, terminating vlc - do it again in case it gets stuck
[00000218] main http daemon: httpd doesn't reference any host, deleting
mythtv@mythtv:~$


also here is my log file after starting it in the web interface, pressing the play button, and then pressing stop streaming:

Code:
Starting Stream of /myth/tv/1027_20051203220000_20051203230000.nuv
VLC media player 0.8.1 Janus
[00000214] main interface: creating httpd
peek=GET
received new request=GET /?control= HTTP/1.0
User-Agent: Wget/1.9.1
Host: localhost:8002
Accept: */*
Connection: Keep-Alive


received new request
  - proto=HTTP
  - version=0
  - msg=3
  - url=/
  - option name='User-Agent' value='Wget/1.9.1'
  - option name='Host' value='localhost:8002'
  - option name='Accept' value='*/*'
  - option name='Connection' value='Keep-Alive'
 mvar_PlaylistSetNew: name=`pl'
sending answer
HTTP/1.0 200 OK
Content-type: text/html
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 6463

peek=GET
received new request=GET /?control=play HTTP/1.0
User-Agent: Wget/1.9.1
Host: localhost:8002
Accept: */*
Connection: Keep-Alive


received new request
  - proto=HTTP
  - version=0
  - msg=3
  - url=/
  - option name='User-Agent' value='Wget/1.9.1'
  - option name='Host' value='localhost:8002'
  - option name='Accept' value='*/*'
  - option name='Connection' value='Keep-Alive'
 mvar_PlaylistSetNew: name=`pl'
sending answer
HTTP/1.0 200 OK
Content-type: text/html
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 6460

peek=GET
received new request=GET /?control=stop HTTP/1.0
User-Agent: Wget/1.9.1
Host: localhost:8002
Accept: */*
Connection: Keep-Alive


received new request
  - proto=HTTP
  - version=0
  - msg=3
  - url=/
  - option name='User-Agent' value='Wget/1.9.1'
  - option name='Host' value='localhost:8002'
  - option name='Accept' value='*/*'
  - option name='Connection' value='Keep-Alive'
 mvar_PlaylistSetNew: name=`pl'
sending answer
HTTP/1.0 200 OK
Content-type: text/html
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 6460

/myth/stream/mythstreamtv.sh: line 58: 16527 Terminated              /usr/local/bin/vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS --sout-transcode-deinterlace $1 ":sout=#transcode{vcodec=$VCODEC,acodec=$ACODEC,vb=$VB,ab=$AB,scale=$SIZE}:std{access=
http{user=$HTTP_USER,pwd=$HTTP_PWD,mime=video/x-ms-asf},mux=asf,url=:8001}"



also, you talk about building ffmpeg and vlc but I just installed mythtv from the cd.. the stream button was already there in the web interface.. is there some steps I am missing?

Thanks again for your help

Matt

[edit]

I just went through the web interface and tried pressing the play button and then immediately connecting with Windows Media Player, and I didn't get the host not responding message this time but instead got a message stating "Reached the end of the file"


Last edited by matthinckley on Mon Dec 05, 2005 11:24 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 8:40 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
ah, I forgot that streaming was included on the knoppmyth disk now...sorry about that.

my vlc output looks like this:

Code:
Starting Stream of /myth/1067_20051125003000_20051125010000.nuv
VLC media player 0.8.1 Janus
[00000214] main interface: creating httpd
[00000230] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 bitrate:384
[msmpeg4 @ 0x835f51c]removing common factors from framerate
[00000231] mpeg_audio decoder: MPGA channels:2 samplerate:48000 bitrate:384


i always get the 00000230 message...with recordings and Live. I wonder if some thing is amiss with your audio components, or the audio in the stream.

what tuner board do you have?

Can you list the output of this command:
Code:
vlc -l

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 11:08 pm 
Offline
Joined: Mon Dec 05, 2005 11:33 am
Posts: 6
OK I have a MSI TV@nywhere Master card ..

I didn't think about that being a problem because I got it working in mythtv

but in order to get the audio to work I'll tell you what I did.

in /etc/modules I had to change qss=0 to the end of the tda9887 and commented out cx88xx and cx8800

now I put in the qss=0 first because that's what i had to put in ubuntu to get the cards audio to work and not just give me static. but in knoppmyth i still had static until i commented out cx88xx and cx8800.

However I did comment out both those lines at once and didn't check to see which one actually made it work right or if both actually needed to be commented out.. I'll test that out in a few minutes..

here is my output of vlc -l:

Code:
Usage: vlc [options] [items]...

[module]              [description]
  main                  main program
  help                  Help options
  memcpymmx             MMX memcpy
  i420_rgb_mmx          MMX I420,IYUV,YV12 to RV15,RV16,RV24,RV32 conversions
  i422_yuy2_mmx         MMX conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
  i420_ymga_mmx         MMX conversions from I420,IYUV,YV12 to YMGA
  i420_yuy2_mmx         MMX conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
  memcpymmxext          MMX EXT memcpy
  memcpy3dn             3D Now! memcpy
  ffmpeg                ffmpeg audio/video decoder ((MS)MPEG4,SVQ1,H263,WMV,WMA)
  ffmpeg                ffmpeg chroma conversion
  ffmpeg                ffmpeg audio/video encoder
  ffmpeg                ffmpeg demuxer
  ffmpeg                ffmpeg video filter
  ffmpeg                ffmpeg deinterlace video filter
  theora                Theora video decoder
  theora                Theora video packetizer
  theora                Theora video encoder
  access_directory      Standard filesystem directory input
  access_directory      Directory EOF
  access_file           Standard filesystem file input
  access_ftp            FTP input
  access_http           HTTP input
  access_mms            Microsoft Media Server (MMS) input
  access_tcp            TCP input
  access_udp            UDP/RTP input
  cdda                  Audio CD input
  dvdnav                DVDnav Input
  dvdread               DVDRead Input
  pvr                   MPEG Encoding cards input (with ivtv drivers)
  screen                Screen Input
  vcd                   VCD input
  access_output_dummy   Dummy stream output
  access_output_file    File stream output
  access_output_http    HTTP stream output
  access_output_udp     UDP stream output
  a52tofloat32          ATSC A/52 (AC-3) audio decoder
  a52tofloat32          ATSC A/52 (AC-3) audio decoder
  a52tospdif            audio filter for A/52->S/PDIF encapsulation
  audio_format          audio filter for PCM format conversion
  bandlimited_resampler audio filter for band-limited interpolation resampling
  dtstospdif            audio filter for DTS->S/PDIF encapsulation
  equalizer             Equalizer 10 bands
  fixed32tofloat32      audio filter for fixed32<->float32 conversion
  fixed32tos16          audio filter for fixed32->s16 conversion
  float32tos16          audio filter for float32->s16 conversion
  float32tos8           audio filter for float32->s8 conversion
  float32tou16          audio filter for float32->u16 conversion
  float32tou8           audio filter for float32->u8 conversion
  headphone_channel_mixer headphone channel mixer with virtual spatialization effect
  linear_resampler      audio filter for linear interpolation resampling
  mpgatofixed32         MPEG audio decoder
  mpgatofixed32         MPEG audio decoder
  normvol               Volume normalizer
  s16tofixed32          audio filter for s16->fixed32 conversion
  s16tofloat32          audio filter for s16->float32 conversion
  s16tofloat32swab      audio filter for s16->float32 with endianness conversion
  s8tofloat32           audio filter for s8->float32 conversion
  simple_channel_mixer  audio filter for simple channel mixing
  trivial_channel_mixer audio filter for trivial channel mixing
  trivial_resampler     audio filter for trivial resampling
  u8tofixed32           audio filter for u8->fixed32 conversion
  u8tofloat32           audio filter for u8->float32 conversion
  ugly_resampler        audio filter for ugly resampling
  float32_mixer         Float32 audio mixer
  spdif_mixer           Dummy S/PDIF audio mixer
  trivial_mixer         Trivial audio mixer
  aout_file             File audio output
  a52                   A/52 parser
  a52                   A/52 audio packetizer
  adpcm                 ADPCM audio decoder
  araw                  Raw/Log Audio decoder
  araw                  Raw audio encoder
  cinepak               Cinepak video decoder
  cmml                  CMML annotations decoder
  cmml                  CMML annotations decoder
  cvdsub                CVD subtitle decoder
  cvdsub                Chaoji VCD subtitle packetizer
  dts                   DTS parser
  dts                   DTS audio packetizer
  dvbsub                DVB subtitles decoder
  dvbsub                DVB subtitles encoder
  flacdec               Flac audio decoder
  flacdec               Flac audio packetizer
  flacdec               Flac audio encoder
  libmpeg2              MPEG I/II video decoder (using libmpeg2)
  lpcm                  Linear PCM audio decoder
  lpcm                  Linear PCM audio packetizer
  mpeg_audio            MPEG audio layer I/II/III parser
  mpeg_audio            MPEG audio layer I/II/III packetizer
  rawvideo              Pseudo raw video decoder
  rawvideo              Pseudo raw video packetizer
  spudec                DVD subtitles decoder
  spudec                DVD subtitles packetizer
  subsdec               text subtitles decoder
  svcdsub               Philips OGT (SVCD subtitle) decoder
  svcdsub               Philips OGT (SVCD subtitle) packetizer
  vorbis                Vorbis audio decoder
  vorbis                Vorbis audio packetizer
  vorbis                Vorbis audio encoder
  gestures              Mouse gestures control interface
  hotkeys               Hotkeys management interface
  http                  HTTP remote control interface
  netsync               Network synchronisation
  rc                    Remote control interface
  showintf              Interface showing control interface
  telnet                Telnet remote control interface
  a52sys                Raw A/52 demuxer
  aac                   AAC demuxer
  aiff                  AIFF demuxer
  asf                   ASF v1.0 demuxer
  au                    AU demuxer
  avi                   AVI demuxer
  demuxdump             Filedump demuxer
  dtssys                Raw DTS demuxer
  flac                  FLAC demuxer
  h264                  H264 video demuxer
  id3                   Simple id3 tag skipper
  id3tag                ID3 tag parser using libid3tag
  m3u                   Playlist metademux
  m4a                   MPEG-4 audio demuxer
  m4v                   MPEG-4 video demuxer
  mjpeg                 JPEG camera demuxer
  mkv                   Matroska stream demuxer
  mod                   MOD demuxer (libmodplug)
  mp4                   MP4 stream demuxer
  mpga                  MPEG-I/II audio demuxer
  mpgv                  MPEG-I/II video demuxer
  nsv                   NullSoft demuxer
  ogg                   Ogg stream demuxer
  playlist              Old playlist open
  playlist              M3U playlist import
  playlist              PLS playlist import
  ps                    PS demuxer
  ps                    PS demuxer
  pva                   PVA demuxer
  rawdv                 raw DV demuxer
  real                  Real demuxer
  sgimb                 Kasenna MediaBase metademux
  subtitle              Text subtitles demux
  vobsub                Vobsub subtitles demux
  wav                   WAV demuxer
  dummy                 Dummy interface function
  dummy                 Dummy access function
  dummy                 Dummy demux function
  dummy                 Dummy decoder function
  dummy                 Dummy encoder function
  dummy                 Dummy audio output function
  dummy                 Dummy video output function
  dummy                 Dummy font renderer function
  export                export
  export                M3U playlist exporter
  export                Old playlist exporter
  freetype              freetype2 font renderer
  ipv4                  IPv4 network abstraction layer
  ipv6                  IPv6 network abstraction layer
  logger                File logging interface
  memcpy                libc memcpy
  sap                   SAP interface
  sap                   SDP file parser (UDP only)
  screensaver           X Screensaver disabler
  vod_rtsp              RTSP VoD server
  mux_asf               ASF muxer
  mux_avi               AVI muxer
  mux_dummy             Dummy/Raw muxer
  mux_mp4               MP4/MOV muxer
  mux_mpjpeg            Multipart jpeg muxer
  mux_ogg               Ogg/ogm muxer
  mux_ps                PS muxer
  mux_wav               WAV muxer
  packetizer_copy       Copy packetizer
  packetizer_h264       H264 video packetizer
  packetizer_mpeg4audio MPEG4 audio packetizer
  packetizer_mpeg4video MPEG4 video packetizer
  packetizer_mpegvideo  MPEG-I/II video packetizer
  stream_out_description Description stream output
  stream_out_display    Display stream output
  stream_out_dummy      Dummy stream output
  stream_out_duplicate  Duplicate stream output
  stream_out_es         Elementary stream output
  stream_out_gather     Gathering stream output
  stream_out_rtp        RTP stream output
  stream_out_standard   Standard stream output
  stream_out_transcode  Transcode stream output
  i420_rgb              I420,IYUV,YV12 to RGB2,RV15,RV16,RV24,RV32 conversions
  i420_ymga             Conversions from I420,IYUV,YV12 to YMGA
  i420_yuy2             Conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211
  i422_yuy2             Conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211
  adjust                Image properties filter
  blend                 Video pictures blending
  clone                 Clone video filter
  crop                  Crop video filter
  deinterlace           Deinterlacing video filter
  distort               Distort video filter
  invert                Invert video filter
  logo                  Logo video filter
  logo                  Logo sub filter
  marq                  Marquee display sub filter
  motionblur            Motion blur filter
  scale                 Video scaling filter
  time                  Time display sub filter
  transform             Video transformation filter
  wall                  wall video filter
  caca                  color ASCII art video output
  fb                    GNU/Linux console framebuffer video output
  glx                   X11 OpenGL provider
  opengl                OpenGL video output
  visual                visualizer filter
  oss                   Linux OSS audio output


thanks again

[edit]

ok uncommenting cx8800 gave me my static back so that needed to be commented out but i uncommented cx99xx and my sound still works.. so I've left that uncommented and tested the streaming again.. but still no go.. however I am wondering why the tv card would matter since I am trying to stream a file? this is a 1GHz AMD with 512mb ram that the backend is running on.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 09, 2005 12:15 pm 
Offline
Joined: Mon Dec 05, 2005 11:33 am
Posts: 6
^^^


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 09, 2005 2:44 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
Well, out vlc configs are identical.

some folks had to make adjustments to the way they are recording files in order for the audio to work.

I dont have a good answer. I'm not a vlc expert, rather more of a script/php writer.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 10, 2005 4:10 pm 
Offline
Joined: Mon Dec 05, 2005 11:33 am
Posts: 6
no problem.. I'll mess with it more.. Thanks for the effort

Matt


Top
 Profile  
 
PostPosted: Thu Dec 15, 2005 4:02 pm 
Offline
Joined: Thu Dec 15, 2005 3:56 pm
Posts: 7
I have two different backends on two different hardware configurations and I am having issue with vlc transcoding the .nuv files for VLC streaming.

I can play nuv files and get the video, on a linux box, suse box and windows box, but for the life of me, I cannot get any audio.

VLC shows there is a codec for video and one for audio (ac3).

I copied the nuv files to my pc and ran vlc locally, still no audio.

If, I do a nuvexport and convert the nuv file to mpeg, the mpeg stream has audio, so I know the nuv file has audio.

Any tricks I am missing? Google is not showing much direction.

I have installed ffmpeg from source, using the --enable options, installed transcode from source, installed vlc from source, etc.

I am using knoppmyth R5426.
HD 3000 HD card
Dell PE750 Server with 300 GB SATA for backend.

My frontends can play any recorded show or live tv from the backend with audio with no problems.

Thanks

_________________
Primary Backend
Dell PE750, 3Ghz, 1 GB Ram, 400GB Sata
pcHD 3000
FrontEnd
Dell GX270, ATI Video, 40 GB Disk.

Backend
Dual 1 GHZ, 512 RAM 200 GB Raid1
pdHD 30000

2nd Frontend
MBX 3 GHZ P4, 1 GB Ram
ATI video card. (unknown specs.)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 15, 2005 7:21 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
intresting...two folks with HD3000s with audio issues
http://mysettopbox.tv/phpBB2/viewtopic.php?t=7389

I suggest a post to the vlc forum

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu