Zanonimizowana wersja forum tylko do odczytu

Problem podczas restreamu rtmp

Pobieranie, nagrywanie, kopiowanie, transkodowanie strumienia audio/wideo.
Post Reply
anonim
Posts: 1
Joined: 2013-10-08, 20:29

Problem podczas restreamu rtmp

Post by anonim »

Witam,

mam taki problem. Probuje restreamowac weebtv poprzez rtmp na serwer pubcaster.com

mam taka komende

Code: Select all

ffmpeg -i http://mojstream -re -isync -vcodec libx264 -b 600k -acodec libfaac -ab 128000 -ar 32000 -f flv rtmp://pubucaster.com/live/fuqet?key=costam
Jednak ffmpeg zatrzymuje sie w pewnym momencie i stoji.

Code: Select all

root@s1:~# ffmpeg version git-2016-01-08-53ada3a Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      55. 13.100 / 55. 13.100
  libavcodec     57. 22.100 / 57. 22.100
  libavformat    57. 21.101 / 57. 21.101
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 23.100 /  6. 23.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
I nie chce dalej nic zrobic. W czym jest tutaj problem? Mial ktos juz taki przypadek?

Dodaj ze z innymi serwerami streamingu tez tak sie dzieje

Pozdrawiam

anonim
Początkujący
Posts: 84
Joined: 2013-07-30, 19:01

Re: Problem podczas restreamu rtmp

Post by anonim »

Pokaż jak wygląda adres źródła. Bo jeśli ffmpeg stoi to nie może odczytać wejścia. Próbowałeś z innymi źródłami?

anonim
Weteran
Posts: 826
Joined: 2013-05-04, 15:44

Re: Problem podczas restreamu rtmp

Post by anonim »

WeebTV chyba nie ma streamu na http z tego co pamiętam (może coś się zmieniło).

anonim
Weteran
Posts: 932
Joined: 2013-09-04, 17:49

Re: Problem podczas restreamu rtmp

Post by anonim »

Nie zmienilo sie nic i ty restreamujesz przez skrypt czy poprostu walnales adres weebtv ze strony.

anonim
Początkujący
Posts: 73
Joined: 2014-03-10, 17:22

Re: Problem podczas restreamu rtmp

Post by anonim »

Panowie może ktoś pomoże ja mam taki błąd przy próbie restreamingu:

Code: Select all

[h264 @ 0x13585a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x13585a0] non-existing PPS referenced
[h264 @ 0x13585a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x13585a0] non-existing PPS 0 referenced
[h264 @ 0x13585a0] decode_slice_header error
[h264 @ 0x13585a0] no frame!
[h264 @ 0x13585a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x13585a0] non-existing PPS referenced
[h264 @ 0x13585a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x13585a0] non-existing PPS 0 referenced
[h264 @ 0x13585a0] decode_slice_header error
[h264 @ 0x13585a0] no frame!
[mpegts @ 0x1351320] max_analyze_duration reached
[mpegts @ 0x1351320] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -                                                                                       > 50.00 (50/1)
Input #0, mpegts, from 'http://11.111.111.1111/stream/kanal/1':
  Duration: N/A, start: 87484.772856, bitrate: 512 kb/s
  Program 1
    Stream #0.0[0x66]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],                                                                                        55.86 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x67](pol): Audio: mp2, 48000 Hz, stereo, s16, 160 kb/s
    Stream #0.2[0x68](qaa): Audio: eac3, 48000 Hz, 5.1, s16, 256 kb/s
    Stream #0.3[0x6c](und): Audio: eac3, 48000 Hz, stereo, s16, 96 kb/s
    Stream #0.4[0x6a](pol): Subtitle: dvbsub
    Stream #0.5[0x6d](eng): Subtitle: dvbsub
  No Program
    Stream #0.6[0x69]: Data: [0][0][0][0] / 0x0000
Unable to find a suitable output format for 'flv'
W streami idzie głos i pojawia się obraz na pare sekund i koniec....

Komende jaką wpisuje to:

Code: Select all

ffmpeg -re -i http://11.11.11.111:1111/stream/kanal/1 -vcod ec libx264 -acodec aac -strict -5 -preset ultrafast -f flv rtmp://live.abcast.net/live/vere73131b43f1694039bf3fe

anonim
Bywalec
Posts: 211
Joined: 2014-05-21, 00:38

Re: Problem podczas restreamu rtmp

Post by anonim »

zajmują się restreamem a nie znają podstaw programu ......

opcja ( map ) dla programu ffmpeg

Code: Select all

czyli ffmpeg -i blablabla -vcodec copy -acodec copy -map 0:0 -map 0:1 -f flv blablabla
i dajcie se spokój z restremem z dosugtv

anonim
Początkujący
Posts: 73
Joined: 2014-03-10, 17:22

Re: Problem podczas restreamu rtmp

Post by anonim »

Dziękuje za odp zaraz będę testował :)
Len1o wrote:zajmują się restreamem a nie znają podstaw programu ......
Nie zajmują się a uczą się, od tego jest chyba forum aby zasięgać opinii ekspertów i się uczyć, chce się nauczyć chyba nic złego w tym nie jest, nie mam żadnej strony ani nie mam zamiaru resteramować po prostu wiedza dla siebie.
Len1o wrote: i dajcie se spokój z restremem z dosugtv
to nie jest dosugtv kolego, to jest prywatna sieć za którą parę zł miesięcznie, to że stream przypomina jakiś inny nie znaczy że nim jest ;)


Buja dzięki za odpowiedź ;-)
A zarzucił byś komendę z UDP na rtmp i z m3u8 na rtmp abym miał zabawę na weekend ?

anonim
Bywalec
Posts: 211
Joined: 2014-05-21, 00:38

Re: Problem podczas restreamu rtmp

Post by anonim »

Wszystko jest podane na tym forum posiedź z godzinkę i przeglądnij a na pewno znajdziesz

Post Reply