Eugene wrote:merlinus wrote:Eugene wrote:
Можно попробовать использовать основной транскодер без VLC, Настройки - Транскодер - Профили - сделать копию профиля Фильмы (основной) - Изменить
Code: Select all
HmsTranscodingInputParams + HmsTranscodingVideoParams + HmsTranscodingMapParams(mpAudioStreamNo)
Выбрать новый профиль для канала.
А так вообще не работает

Что происходит при тестовом транскодировании ?
Для каналов с кодеком mpga, профиль на основании "Фильмы основной"
C:\Program Files (x86)\Home Media Server>"C:\Program Files (x86)\Home Media Server\hmsmpeg.exe" "C:\Program Files (x86)\
VideoLAN\VLC\vlc.exe" -Idummy --language=en --sout-ffmpeg-strict-rc --sout=#transcode{vcodec=mp2v,vb=8000,fps=24,width=9
60,height=576,scale=1,vfilter=croppadd{paddleft=160,paddright=160,paddtop=0,paddbottom=0},aspect=16:9,acodec=mpga,ab=192
,channels=2,samplerate=48000}:duplicate{dst=std{access=file,mux=mpeg1,dst="C:\DOCUME~1\ADMINI~1\LOCALS~1\APPLIC~1\HOMEME
~1\HMS\Temp\Test_fb022d23c9938a0566731429fe336a58.mpg"}} "
http://192.168.0.8:7781/udp/239.100.0.1:5004 "
[0x2527124] dummy interface: VLC media player - version 1.0.2 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x2527124] dummy interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC an
d run "vlc -I qt"
[0x2527124] dummy interface: using the dummy interface module...
[0x24dae7c] mux_ps mux: Open
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 6190
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0) for PID 18
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 17
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 0
............ сообщения повторяются в разной последовотельности ............
для каналов с кодеком h264, профиль на основании "Фильмы основной"
C:\Program Files (x86)\Home Media Server>"C:\Program Files (x86)\Home Media Server\hmsmpeg.exe" -i "
http://192.168.0.8:7
781/udp/239.101.2.1:5004" -f dvd -vcodec mpeg2video -b 8000000 -aspect 16:9 -copyts -pix_fmt yuv420p -padleft 150 -padr
ight 150 -padtop 0 -padbottom 0 -padcolor 303030 -s 980x720 -threads 2 -acodec ac3 -ab 448000 -ar 48000 -ac 2 -map 0:0 -
map 0:1 "C:\Documents and Settings\Administrator\Local Settings\Application Data\Home Media Server\HMS\Temp\Test_36908a7
c37d6540748601e5fd8b3bd76.mpg" -v -1
FFmpeg version SVN-r20212, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Dec 19 2009 00:45:55 with gcc 4.2.4 [Sherpya]
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.37. 0 / 52.37. 0
libavformat 52.39. 0 / 52.39. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
[NULL @ 0x24832f0]non-existing PPS referenced
[h264 @ 0x24832f0]B picture before any references, skipping
[h264 @ 0x24832f0]decode_slice_header error
[h264 @ 0x24832f0]B picture before any references, skipping
[h264 @ 0x24832f0]decode_slice_header error
[h264 @ 0x24832f0]B picture before any references, skipping
[h264 @ 0x24832f0]decode_slice_header error
[h264 @ 0x24832f0]no frame!
[h264 @ 0x24832f0]non-existing PPS referenced
[h264 @ 0x24832f0]B picture before any references, skipping
[h264 @ 0x24832f0]decode_slice_header error
....... много раз ....... секунд 5-7
[h264 @ 0x24832f0]decode_slice_header error
[h264 @ 0x24832f0]no frame!
[h264 @ 0x24832f0]number of reference frames exceeds max (probably corrupt input), discarding one
frame= 198 fps= 76 q=2.0 size= 1434kB time=5.86 bitrate=2006.0kbits/s
Последняя строка вроде говорит о том, что процесс пошел, но на телеке все-равно черный экран