[linux-dvb] MPEG from stream file
Nick Fedchik
nick at fedchik.org.ua
Sat Aug 19 13:57:15 CEST 2006
Hello, peoples! I need some help.
First I grab the stream from DVB card
#gnutv -channels channels.conf -out file CNN.ts -timeout 60 "CNN"
Now how can I extract MPEG from CNN.ts ?
I tried to do it using Mplayer, but it fail...
$ /usr/local/bin/mplayer -vo xvidix -ao null cnn.ts
MPlayer 1.0pre8-4.0.3 (C) 2000-2006 MPlayer Team
CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (Family: 6, Model: 14, Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing cnn.ts.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=7041)AUDIO MPA(pid=7042) NO SUBS (yet)! PROGRAM N. 7040
Opened TS demuxer, audio: 50(pid 7042), video: 10000002(pid 7041)...POS=3008, PROBE=2000000
parse_es: could not sync video stream!
MPEG: FATAL: EOF while searching for sequence header.
Video: Cannot read properties.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 16000 Hz, 2 ch, s16le, 96.0 kbit/18.75% (ratio: 12000->64000)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio decoder)
==========================================================================
AO: [null] 16000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: -0.0 (unknown) of 1693.5 (28:13.4) ??,?%
Exiting... (End of file)
$
Can somebody show me a good sample?
--
Best regards, Nick Fedchik
More information about the linux-dvb
mailing list