pelrun / esvideorpi2pes

Wrap h.264 video from raspivid into a MPEG2 PES stream for use with OpenCaster.
13 stars 4 forks source link

Unable to get working stream... #1

Open sq6emm opened 8 years ago

sq6emm commented 8 years ago

Hi!

I am running ./broadcast.sh with:

pi@raspberrypi:~/esvideorpi2pes/rpi-test $ ./broadcast.sh mkfifo: cannot create fifo ‘ts/camera.h264’: File exists mkfifo: cannot create fifo ‘ts/camera.pes’: File exists mkfifo: cannot create fifo ‘ts/camera.ts’: File exists mkfifo: cannot create fifo ‘ts/muxed.ts’: File exists mkfifo: cannot create fifo ‘ts/stamped.ts’: File exists No more sections No more sections No more sections No more sections 2 Devices

Open /dev/usb-it950x0 ok output bitrate: 18910587.000000 frame rate is 25 vbv size in bit is 1835008 new pid entry 2064 new pid entry 0 new pid entry 1031 new pid entry 17 new pid entry 16 new pid entry 8191 g_ITEAPI_GetDrvInfo ok DriverInfo.DriverVerion = v15.11.30.1 DriverInfo.APIVerion = 1.3.20150126.0 DriverInfo.FWVerionLink = 255.39.2.0 DriverInfo.FWVerionOFDM = 255.9.11.0 DriverInfo.Company = ITEtech DriverInfo.SupportHWInfo = Eagle DVBT DriverInfo.ProductID = 0x9507 Frequency = 474000 KHz Bandwidth = 8000 MHz Constellation: 64QAM Code Rate: 2/3 Interval: 1/4 Transmission Mode: 8K Channel Capacity is 19905534 bps MinGain: 0, MaxGain: 0

and with w_scan (DVB-T scanner) I get:

Scanning 8MHz frequencies... 474000: (time: 00:22.620) signal ok: QAM_AUTO f = 474000 kHz I999B8C999D999T999G999Y999 (0:0:0) Info: no data from PAT after 2 seconds deleting (QAM_AUTO f = 474000 kHz I999B8C999D999T999G999Y999 (0:0:0))

Furthermore I am unable to "Watch" with any receiver..

Any idea?

sq6emm commented 8 years ago

Just to clarify:

pi@raspberrypi:~/esvideorpi2pes/rpi-test/ts $ ls -larth total 24K drwxr-xr-x 2 pi pi 4,0K mar 19 22:36 . drwxr-xr-x 4 pi pi 4,0K mar 19 22:39 .. -rw-r--r-- 1 pi pi 188 mar 19 22:39 nit.ts -rw-r--r-- 1 pi pi 188 mar 19 22:39 sdt.ts -rw-r--r-- 1 pi pi 188 mar 19 22:39 pat.ts -rw-r--r-- 1 pi pi 188 mar 19 22:39 pmt.ts prw-r--r-- 1 pi pi 0 mar 19 22:39 stamped.ts prw-r--r-- 1 pi pi 0 mar 19 22:39 muxed.ts prw-r--r-- 1 pi pi 0 mar 19 22:39 camera.ts prw-r--r-- 1 pi pi 0 mar 19 22:39 camera.pes prw-r--r-- 1 pi pi 0 mar 19 22:49 camera.h264

pelrun commented 8 years ago

I would dump the stream to a file (i.e. do not send it to tsrfsend) and analyse it with something like dvbsnoop to see whether it's constructed correctly.

sq6emm commented 8 years ago

From what I see (as far as I understand...) stream is correct. There is PAT information etc.. I guess (based on observations) there is some bug in BITRATE that causing problems...

Any other clues?;\