mpeg2-ts

Need help transcoding Red5 RTMP stream to MPEG2-TS

爷,独闯天下 提交于 2019-12-10 11:28:31
问题 Me and my friend are going to make live shows and for that purpose I have set up a Red5 server on my old 2006 Intel Core Duo Mac mini running Mac OS X Snow Leopard Server 10.6.8. I use Flash Media Live Encoder to broadcast to Red5's oflaDemo application and the stream works great, except for the fact that I want the stream to work with iOS. I am developing an app for it, but I still need to convert my stream to Apple's HTTP Live Streaming protocol for it to work. Can anybody help me convert

How to get Pipeline created by playbin in textual format in Gstreamer?

浪尽此生 提交于 2019-12-09 18:43:32
问题 I'm playing a transport stream file (*.ts) using the following pipeline: gst-launch-0.10 playbin2 uri=file:///c:/bbb.ts But I need to convert that into a pipeline myself. I'm not sure how to achieve this. So far I have tried: (works fine) gst-launch-0.10 -v filesrc location=c:/bbb.ts ! tsdemux ! audio/x-ac3 ! fakesink But if i replace fakesink with autoaudiosink it fails with a not-linked error. And even the fakesink doesn't work for video: gst-launch-0.10 -v filesrc location=c:/bbb.ts !

How to re-multiplex Multiple Program Transport Stream (MPTS) files into a single TS?

依然范特西╮ 提交于 2019-12-08 14:24:32
问题 I have multiple MPTS files recorded from satellite receivers, I need to cherry pick programs/services/PIDS from each file re-multiplex them into a single MPTS file. Optionally I might be able to get away with taking all the services from every file and adding them to the final MPTS (In case anyone knows about a multiplexer that wouldn't allow me to cherry pick programs) Does anybody know how to do this with open source or free software (like VLC or ffmpeg for example) under either windows or

Mux a regular file into Mpeg TS

爷,独闯天下 提交于 2019-12-08 03:29:31
问题 im working in a file broadcasting method using mpeg2-ts and ISDB-T ( Integrated Services Digital Broadcasting - Terrestial), My problem is that im not being able to to put a file into the data stream, or as rawvideo, or anithing inside the mpeg-ts.... im using ffmpeg and avconv. Here is an example of a test: ffmpeg -f mpegts -i Myfile.tgz -probesize FILESIZE -mpegts_original_network_id 0x1 -mpegts_transport_stream_id 0x1 -mpegts_service_id 0x25 -mpegts_pmt_start_pid 0xbb9 -mpegts_start_pid

How are access units aligned within PES packets in Apple's HLS?

早过忘川 提交于 2019-12-06 10:53:40
问题 Does Apple specify this? How many access units should one put in a PES packet payload? Also, I'm wondering which prefix start codes (if any) are present in PES packets. I assume that the one preceding the first NAL unit within an access unit is useless and mustn't be put. Right? I'd like to know how it's done specifically in HLS - not necessarily any other MPEG-2 TS application. 回答1: I'd like to know how it's done specifically in HLS - not necessarily any other MPEG-2 TS application. HLS is a

How to receive the same udp-stream in several programs?

让人想犯罪 __ 提交于 2019-12-06 10:40:20
问题 I have a closed third party system that sends a unicast UDP stream (MPEG-TS) that I'd like to access in two different programs on the same computer. I can not change anything on the source, not even IP or Port. Is there any other option than to write my own little program that captures the stream and then creates to new streams and resends both? It seems that only one of the two destination programs handles multicast, so I need two unicast streams. 回答1: You should be able to use socat to

Need help transcoding Red5 RTMP stream to MPEG2-TS

浪尽此生 提交于 2019-12-06 07:18:18
Me and my friend are going to make live shows and for that purpose I have set up a Red5 server on my old 2006 Intel Core Duo Mac mini running Mac OS X Snow Leopard Server 10.6.8. I use Flash Media Live Encoder to broadcast to Red5's oflaDemo application and the stream works great, except for the fact that I want the stream to work with iOS. I am developing an app for it, but I still need to convert my stream to Apple's HTTP Live Streaming protocol for it to work. Can anybody help me convert the RTMP stream to MPEG2-TS, because that's the format that mediastreamsegmenter supports? I already

Convert H.264 Annex B to MPEG-TS

ⅰ亾dé卋堺 提交于 2019-12-05 17:50:37
SO... I have RAW H.264 video data captured via RTSP in a local file and I am attempting to playback the video in a Java FX application. In order to do this, I need to use Http Live Streaming. I have successfully prototyped a Java FX architecture that can play a video via HLS with a local server using a local folder containing a .m3u8 (HLS index) file and collection of .ts (MPEG-TS) files. The last piece for me is to replace the .ts files with .264 / .h264 files and in the local server, perform the conversion / wrapping of the H.264 Annex B data into MPEG-TS. I am having trouble figuring out

How are access units aligned within PES packets in Apple's HLS?

╄→гoц情女王★ 提交于 2019-12-04 17:43:13
Does Apple specify this? How many access units should one put in a PES packet payload? Also, I'm wondering which prefix start codes (if any) are present in PES packets. I assume that the one preceding the first NAL unit within an access unit is useless and mustn't be put. Right? I'd like to know how it's done specifically in HLS - not necessarily any other MPEG-2 TS application. I'd like to know how it's done specifically in HLS - not necessarily any other MPEG-2 TS application. HLS is a standard MPEG-2 TS stream. HLS does not do it any differently, except limit to a single audio and singe

Manual encoding into MPEG-TS

非 Y 不嫁゛ 提交于 2019-12-04 16:55:26
SO... I am trying to take a H264 Annex B byte stream video and encode it into MPEG-TS in pure Java. My goals is to create a minimal MPEG-TS, Single Program, valid stream and to not include any timing information information (PCR, PTS, DTS). I am currently at the point where my generated file can be passed to ffmpeg (ffmpeg -i myVideo.ts) and ffmpeg reports... [NULL @ 0x7f8103022600] start time is not set in estimate_timings_from_pts Input #0, mpegts, from 'video.ts': Duration: N/A, bitrate: N/A Program 1 Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709),