среда, 3 августа 2011 г.

Канал улыбка

Input #0, mpegts, from 'udp://239.1.1.134:2222':

  Duration: N/A, start: 93966.530656, bitrate: 15128 kb/s
  Program 5480
    Metadata:
      service_name    : ChildRussia
      service_provider: Overon
    Stream #0.0[0x1569]: Video: mpeg2video (Main), yuv420p, 352x576 [PAR 24:11 DAR 4:3], 15000 kb/s, 27.59 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x156c]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
[buffer @ 0x10c015e0] w:352 h:576 pixfmt:yuv420p
Output #0, mp4, to 'test.mp4':
  Metadata:
    encoder         : Lavf52.108.0
    Stream #0.0: Video: mpeg4, yuv420p, 352x576 [PAR 24:11 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: aac, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1


ffmpeg -i udp://239.1.1.134:2222 -vcodec mpeg2video -pix_fmt yuv420p -me_method epzs -threads 4 -r 29.97 -g 15 -s 704x396 -b 1500k -bt 300k -acodec copy -f mpegts udp://239.1.1.134:3333?pkt_size=1316


Input #0, mpegts, from 'udp://239.1.1.134:3333':
  Duration: N/A, start: 295.472000, bitrate: 104985 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0.0[0x100]: Video: mpeg2video (Main), yuv420p, 704x396 [PAR 3:4 DAR 4:3], 104857 kb/s, 30.37 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x101]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
[buffer @ 0xbb4d1a0] w:704 h:396 pixfmt:yuv420p
Output #0, mp4, to 'test.mp4':
  Metadata:
    encoder         : Lavf52.108.0
    Stream #0.0: Video: mpeg4, yuv420p, 704x396 [PAR 3:4 DAR 4:3], q=2-31, 200 kb/s, 30k tbn, 29.97 tbc
    Stream #0.1: Audio: aac, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1

ffmpeg -i udp://239.1.1.134:2222 -vcodec libx264 -r 35 -aspect "4:3" -s qcif -b 200k -minrate 200k -maxrate 200k -strict experimental -acodec aac -ab 32000 -ar 22050 -ac 1 -vbsf h264_mp4toannexb -f mpegts udp://239.1.1.1:13002?pkt_size=1316


Нормализованный Elecard


Input #0, mpegts, from 'udp://239.1.1.134:2222':
  Duration: N/A, start: 10997.797144, bitrate: 15128 kb/s
  Program 5480
    Metadata:
      service_name    : ChildRussia
      service_provider: Overon
    Stream #0.0[0x1569]: Video: mpeg2video (Main), yuv420p, 352x576 [PAR 24:11 DAR 4:3], 15000 kb/s, 25.40 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x156c]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s

Нормализованный ffmpeg
ffmpeg -i udp://239.1.1.134:2222 -vcodec mpeg2video -pix_fmt yuv420p -me_method epzs -threads 4 -r 29.97 -g 15 -s 800x600 -b 1500k -bt 300k -acodec copy -f mpegts udp://239.1.1.134:3333?pkt_size=1316



Комментариев нет:

Отправить комментарий