gstreamer unable to process dvbsrc from ATSC tuner dongle - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88) +--- Thread: gstreamer unable to process dvbsrc from ATSC tuner dongle (/showthread.php?tid=7923) |
gstreamer unable to process dvbsrc from ATSC tuner dongle - grkblood13 - 08-31-2019 When I attempt to process a video stream from an OTA signal that I know is valid using gstreamer, gstreamer will just sit in an idle state. I can verify that the signal is getting captured from on the board because if I use the azap tool I can see the data. I tried to use ayufan's ubuntu build originally but because I was getting some gstreamer errors it was suggested that I build gstreamer from source, which I did. To do this I switched to a fresh load of armbian buster minimal 4.4 kernel linked here: https://dl.armbian.com/rock64/Debian_buster_default.7z After that I put together this script to build gstreamer from source: https://gist.github.com/grkblood13/6dd93db225bb0bf0519585e11bf687bd After building, when I run gstreamer to capture the tuner output I get the following results: Code: root@rock64:/tmp# export GST_DEBUG=ts:6; gst-launch-1.0 -v dvbsrc frequency=503000000 delsys=atsc modulation=8vsb pids=49:52:3 ! fakesink It just sits there forever when I should be getting some type of output printed to the terminal. Can someone help me resolve this? RE: gstreamer unable to process dvbsrc from ATSC tuner dongle - grkblood13 - 08-31-2019 running the following will record the video and allow for playback. gst-launch-1.0 -v dvbsrc frequency=177000000 delsys=atsc modulation=8vsb pids=49:52:1 ! filesink location="test.ts" Attempting to run that same command will produce a test.ts file with no data. gst-launch-1.0 -v dvbsrc frequency=177000000 delsys=atsc modulation=8vsb pids=49:52:1 ! decodebin ! queue ! mpph264enc ! filesink location="test.ts" The following is the output from running `mplayer -vo null -ao null -frames 0 -identify test.ts` against a recorded sample using the first command listed. MPlayer 1.3.0 (Debian), built with gcc-8 © 2000-2016 MPlayer Team do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing test.ts. libavformat version 58.20.100 (external) Mismatching header version 58.12.100 TS file format detected. PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) VIDEO MPEG2(pid=49) AUDIO A52(pid=52) NO SUBS (yet)! PROGRAM N. 0 ID_VIDEO_ID=49 ID_AUDIO_ID=52 PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) PROGRAM_ID=1 (0x01), PMT_PID: 48(0x30) PROGRAM_ID=2 (0x02), PMT_PID: 64(0x40) PROGRAM_ID=3 (0x03), PMT_PID: 80(0x50) PROGRAM_ID=4 (0x04), PMT_PID: 96(0x60) VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 15000.0 kbps (1875.0 kbyte/s) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 58.35.100 (external) Mismatching header version 58.18.100 Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== ID_VIDEO_CODEC=ffmpeg2 Load subtitles in ./ ID_FILENAME=test.ts ID_DEMUXER=mpegts ID_VIDEO_FORMAT=0x10000002 ID_VIDEO_BITRATE=15000000 ID_VIDEO_WIDTH=1920 ID_VIDEO_HEIGHT=1080 ID_VIDEO_FPS=29.970 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=8192 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_START_TIME=24005.77 ID_LENGTH=14.87 ID_SEEKABLE=1 ID_CHAPTERS=0 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, floatle, 384.0 kbit/12.50% (ratio: 48000->384000) ID_AUDIO_BITRATE=384000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== AO: [null] 48000Hz 2ch floatle (4 bytes per sample) ID_AUDIO_CODEC=ffac3 Starting playback... Exiting... (End of file) ID_EXIT=EOF |