benjojo / de-ip-hdmi

Convert a IP HDMI converter into a MKV stream

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No JPEG data found in image

GrumpyKater opened this issue · comments

hey guys,

i have the same issue as mentioned in #5.
both, the deb package and the self compiled binary arent working.

me@my:~/gopath/src/github.com/de-ip-hdmi$ sudo ./de-ip-hdmi -interface enp0s25 -sender-mac 00f019d9d3df
ffmpeg version 2.8.6-1ubuntu2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311
configuration: --prefix=/usr --extra-version=1ubuntu2 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
^C[mjpeg @ 0x103c5e0] No JPEG data found in image
[mjpeg @ 0x1033500] decoding for stream 0 failed
[mjpeg @ 0x1033500] Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
/tmp/hdmi-Vfifo-1NVZN: could not find codec parameters
Input #0, mjpeg, from '/tmp/hdmi-Vfifo-1NVZN':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 25 tbr, 1200k tbn, 25 tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, s32be, from 'pipe:0':
Duration: N/A, bitrate: 2822 kb/s
Stream #1:0: Audio: pcm_s32be, 44100 Hz, 2 channels, s32, 2822 kb/s
[matroska @ 0x10478a0] dimensions not set
Output #0, matroska, to 'pipe:1':
Stream #0:0: Video: mjpeg, none, q=2-31, 25 tbr, 1200k tbn, 1200k tbc
Stream #0:1: Audio: pcm_s32be, 44100 Hz, stereo (32 bit), 2822 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #1:0 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

using wireshark, i can see these packets comming in:

239335 133.833210874 192.168.1.238 239.255.42.42 MPEG TS 1358 [MP2T fragment of a reassembled packet]

the file created in /tmp is always empty. am i doing something wrong?

sorrys, my mistake, i have a different version of this device.