MPEG TS mutilple channls muxing

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

MPEG TS mutilple channls muxing

Park
Hi,

Can anyone tell me if ffmpeg is capable of creating multiple programs in an mpeg TS?

Has created two kinds of TS videos, I give the options below.

#VideoOption 1
./ffmpeg -i ../ts/tt.wmv -c copy -mpegts_original_network_id 0x1122 -mpegts_transport_stream_id 0x3344 -mpegts_service_id 0x5566 -mpegts_pmt_start_pid 0x1500 -mpegts_start_pid 0x150 -metadata service_provider="Some provider" -metadata service_name="Some Channel" -y output/out.ts

#VideoOption 2
./ffmpeg -i ../ts/tt.wmv -c copy -mpegts_original_network_id 0x156E -mpegts_transport_stream_id 0x339E -mpegts_service_id 0x55CA -mpegts_pmt_start_pid 0x1564 -mpegts_start_pid 0x1B4 -metadata service_provider="Some provider1" -metadata service_name="Some Channel1" -y output/out1.ts

So the out.ts, out1.ts ts file to one of the files I'd like to create. I would like to know the options.

Sorry I failed to figure this out through the ffmpeg documentation.

Thanks for any advice

js,
Park
Reply | Threaded
Open this post in threaded view
|

Re: MPEG TS mutilple channls muxing

rogerdpack2
> Can anyone tell me if ffmpeg is capable of creating multiple programs in an
> mpeg TS?
>
> Has created two kinds of TS videos, I give the options below.

So you want to combine the 2 streams into a single TS?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: MPEG TS mutilple channls muxing

Park
This post was updated on .
Yes,

http://www.pjdaniel.org.uk/mpeg/downloads/mux1-cp.zip


URL Sample TS file multiple channels(programs) of BBC, is made of a single TS stream file.

Sample as one of the TS stream file, and I want to have multiple Programs.


I would like to know the option to create one TS file into more than two video.
Reply | Threaded
Open this post in threaded view
|

Re: MPEG TS mutilple channls muxing

rogerdpack2
> URL Sample TS file multiple channels of BBC, is made of a single TS stream
> file.

Ok so multiple channels into a single TS file.

I know you can include multiple channels with the -map method, however
I'm not sure about setting TS program ID's...
-r
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: MPEG TS mutilple channls muxing

Park
Thank you.

But I do not know how to use -map.
Doc listed in the-map option, do not know how to add a channel.

I'm sorry, but
for the additional channel-map option, I would like to know how to use.

And set changes, the PID is difficult ............... :'(

Or If you have a constant index for each channel so you know when to demux.
Reply | Threaded
Open this post in threaded view
|

Re: MPEG TS mutilple channls muxing

Francois Visagie
> -----Original Message-----
> From: [hidden email] [mailto:ffmpeg-user-
> [hidden email]] On Behalf Of Park
> Sent: 05 September 2012 03:06
> To: [hidden email]
> Subject: Re: [FFmpeg-user] MPEG TS mutilple channls muxing
>
> Thank you.
>
> But I do not know how to use -map.
> Doc listed in the-map option, do not know how to add a channel.

This should help:
http://www.ffmpeg.org/ffmpeg.html#Stream-selection
and
http://www.ffmpeg.org/ffmpeg.html#Stream-specifiers-1

This brings me to a question however. According to the command line, usage
is:
-map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_s  set input
stream mapping

What is that [-] used for?

>
> I'm sorry, but
> for the additional channel-map option, I would like to know how to use.
>
> And set changes, the PID is difficult ............... :'(
>
> Or If you have a constant index for each channel so you know when to
> demux.
>
>
>
> --
> View this message in context: http://ffmpeg-
> users.933282.n4.nabble.com/MPEG-TS-mutilple-channls-muxing-
> tp4653178p4653209.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: MPEG TS mutilple channls muxing

Park
Thank you.

Your answer, as I've tried it, I did not know.
I'm sorry, but I did not understand the answer.

[-] <- What Is It? Pipe?


I would like to know an example of a command.

I am now under the command created output.ts
But you can not see the channels I want. As the channels are combined, the PID seems strangely changing.


./ffmpeg  -i ../ts/test0.wmv \
-i ../ts/test1.wmv \
-c copy \
-map v \
-mpegts_original_network_id 0x1122 \
-mpegts_transport_stream_id 0x3344 \
-mpegts_service_id 0x5566 \
-mpegts_pmt_start_pid 0x1500 \
-mpegts_start_pid 0x150 \
-metadata service_provider="Some provider" \
-metadata service_name="Some Channel" \
-map v \
-mpegts_original_network_id 0x156E \
-mpegts_transport_stream_id 0x339E \
-mpegts_service_id 0x55CA \
-mpegts_pmt_start_pid 0x1564 \
-mpegts_start_pid 0x1B4 \
-metadata service_provider="Some provider1" \
-metadata service_name="Some Channel1" \
-y output/output.ts