[libav-tools] Mpeg-ts PID selection available?

Alejandro cdgraff at gmail.com
Tue May 13 01:08:24 CEST 2014


Luca,
I think found the issue, I don't be define that input type was MPEGTS, I
have added -f mpegts into the input and now see the PID and works...

thanks for your help,
Alejandro


2014-05-12 15:12 GMT-03:00 Alejandro <cdgraff at gmail.com>:

> Luca,
>
> Look like I'm doing something wrong, I can't made this works
>
> Here command I run:
> avconv -i rtp://10.xxx.xxx.xxx:7650 -strict experimental -c:a:i:2300 aac
> -b:a 384k -c:v copy -f flv
> rtmp://10.xxx.xxx.xxx:1935/live/live_1_8000.stream
>
> here my input Metadata:
>
> Input #0, rtp, from 'rtp://10.xxx.xxx.xxx:7650':
>   Duration: N/A, start: 3264.759156, bitrate: 768 kb/s
>     Stream #0.0: Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR
> 16:9], 29.17 fps, 29.97 tbr, 90k tbn, 59.94 tbc
>     Stream #0.1: Audio: ac3, 48000 Hz, 5.1, fltp, 384 kb/s
>     Stream #0.2: Audio: ac3, 48000 Hz, 5.1, fltp, 384 kb/s
> Output #0, flv, to 'rtmp://10.xxx.xxx.xxx:1935/live/live_1_8000.stream':
>   Metadata:
>     encoder         : Lavf54.20.3
>     Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],
> q=2-31, 1k tbn, 90k tbc
>     Stream #0.1: Audio: aac, 48000 Hz, 5.1, fltp, 384 kb/s
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
>   Stream #0:1 -> #0:1 (ac3 -> aac)
> Press ctrl-c to stop encoding
>
>
> Is some way to read the PID Numbers? or I'm using incorrect syntax?
>
> Thanks again!
> Alejandro
>
>
>
>
> 2014-05-09 10:02 GMT-03:00 Luca Barbato <lu_zero at gentoo.org>:
>
> On 06/05/14 16:24, Alejandro wrote:
>> > thanks Lu, just to check I understood correctly will be right this
>> sintax?
>> >
>> > -acodec:i:2310
>>
>> why acodec ? (that is a long version for -c:a btw)
>>
>> and yes :i:2310 would select the stream with that id.
>>
>> lu
>>
>> _______________________________________________
>> libav-tools mailing list
>> libav-tools at libav.org
>> https://lists.libav.org/mailman/listinfo/libav-tools
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-tools/attachments/20140512/e8f48a77/attachment.html>


More information about the libav-tools mailing list