Read EIA-608 captions and re-mux into Mpegts as stream
Im successfully transcoding a udp input MPEG2 TS stream into h264 with NVENC and multicasting it onto the network.. The last piece of the puzzle is to be able to read in the EIA-608 embedded CCs in the original video stream and re-mux into the output TS as a separate stream. I can't seem to figure out how to do it.. I can pull out the EIA-608 captions but not simultaneously add them as a stream in the final TS file while transcoding video and copying audio. Im sure there is some way to do it. I just can't figure out how. Here is my command line for the transcode without CC: /usr/local/bin/ffmpeg -threads auto -i "udp:// 10.98.98.251:50029?fifo_size=262144&buffer_size=262144&overrun_nonfatal=1" -ss 00:00:10 -vf yadif=0:-1:0 -s hd1080 -c:v h264_nvenc -level:v 4 -profile:v high -maxrate 10000k -bf 4 -preset:v llhp -rc-lookahead 250 -rc:v ll_2pass_size -c:a copy -packetsize 1316 -avioflags direct -max_delay 0 -f mpegts udp://239.33.35.201:1234 Version info: ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --extra-libs=-ldl --extra-cflags='-I/root/sources/nvenc/Video_Codec_SDK_7.0.1/Samples/common/inc -I/root/sources/bmsdk1054/Linux/include' --enable-gpl --enable-nonfree --enable-nvenc --enable-libfdk_aac --enable-libmp3lame --enable-libvorbis --enable-libx264 --disable-libtheora --pkg-config=pkg-config --cpu=host --enable-libzvbi --enable-libass --enable-decklink --enable-libnut --enable-openssl --disable-ffserver --enable-cuda --enable-cuvid libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100 Any help would be appreciated. Thanks!
On 29-05-2017 4:35, Tim DeNike wrote:
Im successfully transcoding a udp input MPEG2 TS stream into h264 with NVENC and multicasting it onto the network.. The last piece of the puzzle is to be able to read in the EIA-608 embedded CCs in the original video stream and re-mux into the output TS as a separate stream.
I can't seem to figure out how to do it.. I can pull out the EIA-608 captions but not simultaneously add them as a stream in the final TS file while transcoding video and copying audio.
Im sure there is some way to do it. I just can't figure out how.
Here is my command line for the transcode without CC:
/usr/local/bin/ffmpeg -threads auto -i "udp:// 10.98.98.251:50029?fifo_size=262144&buffer_size=262144&overrun_nonfatal=1" -ss 00:00:10 -vf yadif=0:-1:0 -s hd1080 -c:v h264_nvenc -level:v 4 -profile:v high -maxrate 10000k -bf 4 -preset:v llhp -rc-lookahead 250 -rc:v ll_2pass_size -c:a copy -packetsize 1316 -avioflags direct -max_delay 0 -f mpegts udp://239.33.35.201:1234
Version info:
ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --extra-libs=-ldl --extra-cflags='-I/root/sources/nvenc/Video_Codec_SDK_7.0.1/Samples/common/inc -I/root/sources/bmsdk1054/Linux/include' --enable-gpl --enable-nonfree --enable-nvenc --enable-libfdk_aac --enable-libmp3lame --enable-libvorbis --enable-libx264 --disable-libtheora --pkg-config=pkg-config --cpu=host --enable-libzvbi --enable-libass --enable-decklink --enable-libnut --enable-openssl --disable-ffserver --enable-cuda --enable-cuvid libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100
Any help would be appreciated.
Thanks! _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
What is the command line that you're using to extract EIA-608 from the stream?
I don't have the command on me. It was a month or so ago that I tried. It was the readeia608 filter iirc. Sent from my iPhone
On May 29, 2017, at 11:21 AM, "lyncher@sapo.pt" <lyncher@sapo.pt> wrote:
On 29-05-2017 4:35, Tim DeNike wrote: Im successfully transcoding a udp input MPEG2 TS stream into h264 with NVENC and multicasting it onto the network.. The last piece of the puzzle is to be able to read in the EIA-608 embedded CCs in the original video stream and re-mux into the output TS as a separate stream.
I can't seem to figure out how to do it.. I can pull out the EIA-608 captions but not simultaneously add them as a stream in the final TS file while transcoding video and copying audio.
Im sure there is some way to do it. I just can't figure out how.
Here is my command line for the transcode without CC:
/usr/local/bin/ffmpeg -threads auto -i "udp:// 10.98.98.251:50029?fifo_size=262144&buffer_size=262144&overrun_nonfatal=1" -ss 00:00:10 -vf yadif=0:-1:0 -s hd1080 -c:v h264_nvenc -level:v 4 -profile:v high -maxrate 10000k -bf 4 -preset:v llhp -rc-lookahead 250 -rc:v ll_2pass_size -c:a copy -packetsize 1316 -avioflags direct -max_delay 0 -f mpegts udp://239.33.35.201:1234
Version info:
ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --extra-libs=-ldl --extra-cflags='-I/root/sources/nvenc/Video_Codec_SDK_7.0.1/Samples/common/inc -I/root/sources/bmsdk1054/Linux/include' --enable-gpl --enable-nonfree --enable-nvenc --enable-libfdk_aac --enable-libmp3lame --enable-libvorbis --enable-libx264 --disable-libtheora --pkg-config=pkg-config --cpu=host --enable-libzvbi --enable-libass --enable-decklink --enable-libnut --enable-openssl --disable-ffserver --enable-cuda --enable-cuvid libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100
Any help would be appreciated.
Thanks! _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
What is the command line that you're using to extract EIA-608 from the stream?
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
On 5/29/17, Tim DeNike <tim@denike.us> wrote:
Im successfully transcoding a udp input MPEG2 TS stream into h264 with NVENC and multicasting it onto the network.. The last piece of the puzzle is to be able to read in the EIA-608 embedded CCs in the original video stream and re-mux into the output TS as a separate stream.
I can't seem to figure out how to do it.. I can pull out the EIA-608 captions but not simultaneously add them as a stream in the final TS file while transcoding video and copying audio.
Im sure there is some way to do it. I just can't figure out how.
You are wrong, there is currently no way.
Is there a way perhaps by forking output of ffmpeg into 2 separate proceeds. Then a 4th process that remuxes it? Sent from my iPhone
On May 29, 2017, at 1:15 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 5/29/17, Tim DeNike <tim@denike.us> wrote: Im successfully transcoding a udp input MPEG2 TS stream into h264 with NVENC and multicasting it onto the network.. The last piece of the puzzle is to be able to read in the EIA-608 embedded CCs in the original video stream and re-mux into the output TS as a separate stream.
I can't seem to figure out how to do it.. I can pull out the EIA-608 captions but not simultaneously add them as a stream in the final TS file while transcoding video and copying audio.
Im sure there is some way to do it. I just can't figure out how.
You are wrong, there is currently no way. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
On 5/29/17, Tim DeNike <tim@denike.us> wrote:
Is there a way perhaps by forking output of ffmpeg into 2 separate proceeds. Then a 4th process that remuxes it?
Nope.
Keep in mind. It doesn't have to be 608 on the output. Any standards based subtitle format is acceptable. Sent from my iPhone
On May 29, 2017, at 4:00 PM, Paul B Mahol <onemda@gmail.com> wrote:
On 5/29/17, Tim DeNike <tim@denike.us> wrote: Is there a way perhaps by forking output of ffmpeg into 2 separate proceeds. Then a 4th process that remuxes it?
Nope. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
On 29-05-2017 18:06, Paul B Mahol wrote:
On 5/29/17, Tim DeNike <tim@denike.us> wrote:
Im successfully transcoding a udp input MPEG2 TS stream into h264 with NVENC and multicasting it onto the network.. The last piece of the puzzle is to be able to read in the EIA-608 embedded CCs in the original video stream and re-mux into the output TS as a separate stream.
I can't seem to figure out how to do it.. I can pull out the EIA-608 captions but not simultaneously add them as a stream in the final TS file while transcoding video and copying audio.
Im sure there is some way to do it. I just can't figure out how. You are wrong, there is currently no way. Is there a way of muxing a EIA-608 stream into a MPEG-TS stream? (if I have a sequence o 608 bytes can I pack them in a MPEG-TS)
Thanks
On 5/29/17, lyncher@sapo.pt <lyncher@sapo.pt> wrote:
On 29-05-2017 18:06, Paul B Mahol wrote:
On 5/29/17, Tim DeNike <tim@denike.us> wrote:
Im successfully transcoding a udp input MPEG2 TS stream into h264 with NVENC and multicasting it onto the network.. The last piece of the puzzle is to be able to read in the EIA-608 embedded CCs in the original video stream and re-mux into the output TS as a separate stream.
I can't seem to figure out how to do it.. I can pull out the EIA-608 captions but not simultaneously add them as a stream in the final TS file while transcoding video and copying audio.
Im sure there is some way to do it. I just can't figure out how. You are wrong, there is currently no way. Is there a way of muxing a EIA-608 stream into a MPEG-TS stream? (if I have a sequence o 608 bytes can I pack them in a MPEG-TS)
Nope.
On Mon, May 29, 2017 at 21:59:57 +0200, Paul B Mahol wrote:
You are wrong, there is currently no way. Is there a way of muxing a EIA-608 stream into a MPEG-TS stream? Nope.
An enhancement request exists for muxing EIA-608: https://trac.ffmpeg.org/ticket/1778#comment:10 Moritz, not volunteering ;)
participants (4)
-
lyncher@sapo.pt -
Moritz Barsnick -
Paul B Mahol -
Tim DeNike