Good Morning: I have tried to copy the stream with the scte35 or subtitle data from an rtp stream to udp but in the resulting stream I lose data. I try to use the option -map 0 -codec copy -scodec text -dcodec copy or only -map 0 -codec copy but the output is the same. In subtitle case if a try to use tmp output like this ffmpeg -txt_format text -txt_page subtitle -i "srt://195.10.10.225:9000?mode=listener" -map 0:0 -map 0:1 -map 0:4 -codec copy -scodec text -f flv rtmp:// 127.0.0.1:1935/test/test, the subtitle are copied successfully
Explaple of my pipe ffmpeg -txt_format text -txt_page subtitle -i "srt:// 195.10.10.225:9000?mode=listener" -map 0:0 -map 0:1 -map 0:4 -map 0:5 -codec copy -scodec text -dcodec copy -f mpgets udp://127.0.0.1:9001 Input rtp: Input #0, mpegts, from 'srt://195.10.10.222:9002?mode=listener': Duration: N/A, start: 89122.012478, bitrate: N/A Program 1600 Metadata: service_name : PRE service_provider: CCMA Stream #0:0[0x64b]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x655](cat): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 127 kb/s Stream #0:2[0x656](v.o): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 127 kb/s Stream #0:3[0x657](a.d): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 127 kb/s Stream #0:4[0x65f](cat,cat): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250 Stream #0:5[0x669]: Data: scte_35 Output ud: Input #0, mpegts, from 'udp://127.0.0.1:9001': Duration: N/A, start: 16.601433, bitrate: N/A Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](cat): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:2[0x102](v.o): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:3[0x103](a.d): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:4[0x104]: Data: bin_data ([6][0][0][0] / 0x0006) Stream #0:5[0x105]: Data: bin_data ([6][0][0][0] / 0x0006) Unsupported codec with id 100359 for input stream 4 Unsupported codec with id 100359 for input stream 5 Can you help me? Thanks in advance Best regards On Wed, Jun 9, 2021 at 9:48 AM Javier Fuentes <jfuen...@flumotion.com> wrote: > Good Morning: > I have tried to copy the stream with the scte35 or subtitle data from an > rtp stream to udp but in the resulting stream I lose data. I try to use the > option -map 0 -codec copy -scodec text -dcodec > copy or only -map 0 -codec copy but the output is the same. > In subtitle case if a try to use tmp output like this ffmpeg -txt_format > text -txt_page subtitle -i "srt://195.10.10.225:9000?mode=listener" -map > 0:0 -map 0:1 -map 0:4 -codec copy -scodec text -f flv rtmp:// > 127.0.0.1:1935/test/test, the subtitle are copied successfully > > Explaple of my pipe > ffmpeg -txt_format text -txt_page subtitle -i "srt:// > 195.10.10.225:9000?mode=listener" -map 0:0 -map 0:1 -map 0:4 -map 0:5 > -codec copy -scodec text -dcodec copy -f mpgets udp://127.0.0.1:9001 > Input rtp: > Input #0, mpegts, from 'srt://195.10.10.222:9002?mode=listener': > Duration: N/A, start: 89122.012478, bitrate: N/A > Program 1600 > Metadata: > service_name : PRE > service_provider: CCMA > Stream #0:0[0x64b]: Video: h264 (High) ([27][0][0][0] / 0x001B), > yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k > tbn, 50 tbc > Stream #0:1[0x655](cat): Audio: aac (LC) ([15][0][0][0] / 0x000F), > 48000 Hz, stereo, fltp, 127 kb/s > Stream #0:2[0x656](v.o): Audio: aac (LC) ([15][0][0][0] / 0x000F), > 48000 Hz, stereo, fltp, 127 kb/s > Stream #0:3[0x657](a.d): Audio: aac (LC) ([15][0][0][0] / 0x000F), > 48000 Hz, stereo, fltp, 127 kb/s > Stream #0:4[0x65f](cat,cat): Subtitle: dvb_teletext ([6][0][0][0] / > 0x0006), 492x250 > Stream #0:5[0x669]: Data: scte_35 > > Output ud: > Input #0, mpegts, from 'udp://127.0.0.1:9001': > Duration: N/A, start: 16.601433, bitrate: N/A > Program 1 > Metadata: > service_name : Service01 > service_provider: FFmpeg > Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), > yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k > tbn, 50 tbc > Stream #0:1[0x101](cat): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 > Hz, stereo, fltp, 128 kb/s > Stream #0:2[0x102](v.o): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 > Hz, stereo, fltp, 128 kb/s > Stream #0:3[0x103](a.d): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 > Hz, stereo, fltp, 128 kb/s > Stream #0:4[0x104]: Data: bin_data ([6][0][0][0] / 0x0006) > Stream #0:5[0x105]: Data: bin_data ([6][0][0][0] / 0x0006) > Unsupported codec with id 100359 for input stream 4 > Unsupported codec with id 100359 for input stream 5 > > Can you help me? > Thanks in advance > Best regards > > -- > > > Javier Fuentes > Flumotion Services S.A. > > Avda. Diagonal 579 7º > 08014 Barcelona - Spain > www.flumotion.com > > *AVISO LEGAL:* Todo el contenido de este correo y sus adjuntos proviene > de FLUMOTION SERVICES, S.A. (en adelante, “FLUMOTION”). La información > contenida en este e-mail es confidencial y está dirigida exclusivamente a > su destinatario. Aunque FLUMOTION le remita cualquier clase de información > o material, ello no podrá interpretarse como cesión, licencia o derecho a > usar o comercializar tales materiales. Si usted no es el destinatario de > este email, no está autorizado a usar o comunicar públicamente este mensaje > y/o su contenido. Si ha recibido este mensaje por error, por favor > elimínelo y contacte con nuestro personal en el teléfono +34 935086350. > FLUMOTION es una sociedad anónima con domicilio social en Avenida Diagonal > 593, 5º 08014 – Barcelona – España. Los datos personales que recibamos de > nuestra correspondencia con Ud. se incorporan en un fichero de FLUMOTION > cuya finalidad es la de gestionar la relación contractual con usted, así > como remitirle comunicaciones sobre FLUMOTION, y su tratamiento está > legitimado por la existencia de dicha relación y la necesidad de > gestionarla. En el caso de comunicaciones de negocio y, si es o ha sido > nuestro cliente, de comunicaciones de comerciales, la legitimación para el > tratamiento será nuestro interés legítimo en desarrollar negocio. Vd. > puede ejercitar sus derechos de acceso, rectificación, cancelación u > oposición, así como el resto de derechos que le asisten según Ley, mediante > escrito a i...@flumotion.com o al domicilio social de FLUMOTION. > > > > > > > > -- Javier Fuentes Flumotion Services S.A. Avda. Diagonal 579 7º 08014 Barcelona - Spain www.flumotion.com *AVISO LEGAL:* Todo el contenido de este correo y sus adjuntos proviene de FLUMOTION SERVICES, S.A. (en adelante, “FLUMOTION”). La información contenida en este e-mail es confidencial y está dirigida exclusivamente a su destinatario. Aunque FLUMOTION le remita cualquier clase de información o material, ello no podrá interpretarse como cesión, licencia o derecho a usar o comercializar tales materiales. Si usted no es el destinatario de este email, no está autorizado a usar o comunicar públicamente este mensaje y/o su contenido. Si ha recibido este mensaje por error, por favor elimínelo y contacte con nuestro personal en el teléfono +34 935086350. FLUMOTION es una sociedad anónima con domicilio social en Avenida Diagonal 593, 5º 08014 – Barcelona – España. Los datos personales que recibamos de nuestra correspondencia con Ud. se incorporan en un fichero de FLUMOTION cuya finalidad es la de gestionar la relación contractual con usted, así como remitirle comunicaciones sobre FLUMOTION, y su tratamiento está legitimado por la existencia de dicha relación y la necesidad de gestionarla. En el caso de comunicaciones de negocio y, si es o ha sido nuestro cliente, de comunicaciones de comerciales, la legitimación para el tratamiento será nuestro interés legítimo en desarrollar negocio. Vd. puede ejercitar sus derechos de acceso, rectificación, cancelación u oposición, así como el resto de derechos que le asisten según Ley, mediante escrito a i...@flumotion.com o al domicilio social de FLUMOTION. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".