B
bladie
Grünschnabel
Hi,
ich habe zurzeit das Problem das ich einen NSV video stream auf einen MP3Stream encodieren will. Die dazu nötige Lösung habe ich auch gefunden aber leider will Jack nicht so wie ich da gerne hätte:
Script:
Ausgabe und Fehler
Danke im voraus für Hilfe
MfG
bladie
ich habe zurzeit das Problem das ich einen NSV video stream auf einen MP3Stream encodieren will. Die dazu nötige Lösung habe ich auch gefunden aber leider will Jack nicht so wie ich da gerne hätte:
Script:
Code:
#!/bin/sh
NSVSTREAM="http://localhost:8000;stream.nsv"
JACK_NO_START_SERVER=1
jackd -T -p 8 -d dummy -r 44100 -P /dev/jack &
sleep 1
darkice -c nsvtranscode.cfg &
DARKICEPID=$!
sleep 1
mplayer "$NSVSTREAM" -quiet -vc null -vo null -ao jack:port=darkice-$DARKICEPID
Ausgabe und Fehler
Code:
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
`default' server already active
DarkIce 0.18 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Using config file: nsvtranscode.cfg
Using JACK audio server as input device.
Registering as JACK client darkice-11713
MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://localhost:8000;stream.nsv.
Resolving localhost for AF_INET...
Connecting to server localhost[127.0.0.1]: 8000...
Name : www.radio-phoenix.de
Genre : Dance, Trance, Pop, Rock, Wave, Charts
Website: www.radio-phoenix.de
Public : yes
Bitrate: 500kbit/s
Cache size set to 320 KBytes
Cache fill: 5.00% (16384 bytes)
ICY Info: StreamTitle='';StreamUrl='';
Nullsoft Streaming Video file format detected.
VIDEO: [VP62] 320x240 24bpp 20.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDec: vo config request - 320 x 240 (preferred colorspace: BGR 24-bit)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 320x240 => 320x240 Planar YV12
Selected video codec: [null] vfm: null (NULL codec (no decoding!))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
failed to write to ring ruffer
zombified - calling shutdown handler
JackDspSource :: shutdown_callback
subgraph starting at darkice-11713 timed out (subgraph_wait_fd=6, status = 0, state = Triggered)
**** dummy: xrun of 479335 usec
544764 bytes transfered to the encoders
Client 2 is not allowed to remove port darkice-11713:left
Client 2 is not allowed to remove port darkice-11713:right
DarkIce: TcpSocket.cpp:383: send error [32]
Danke im voraus für Hilfe
MfG
bladie