Giter Club home page Giter Club logo

crusher264's People

Stargazers

 avatar

Watchers

 avatar  avatar

crusher264's Issues

Problems Compiling On Arm With FFMpeg

When I tried to configure ffmpeg 0.6.1 with crusher264 on a Dockstar, I ran 
into several problems.  First off, I had to use the SVN crusher264 to get the 
program to work because I was having issues with the crusher264-1.1.1.  Next, 
ffmpeg complained about the CFLAG "mv=5e", so I removed it from the 
configure.ac script.  Lastly, there looked to be a typo in crusher264.c which 
caused the program to looked for the firmware in a relative folder rather than 
an absolute folder.  I've attached a patch file which contains my fixes for 
this.

Original issue reported on code.google.com by [email protected] on 27 Oct 2010 at 3:04

Attachments:

crusher264-1.1.1.tar.gz not found

http://tipok.org.ua/downloads/hardware/crusher264/lib/crusher264-1.1.1.tar.gz

returns a "page not found" ...

any mirror or way the have :D


Original issue reported on code.google.com by [email protected] on 7 May 2014 at 11:18

error in mg1264-io.c, mg1264_reset_b1

What steps will reproduce the problem?
1. build and run using elgato turbo264hd

What is the expected output? What do you see instead?
crusher_init_device fails without the following change

What version of the product are you using? On what operating system?
mac/linux

Please provide any additional information below.

in mg1264-io.c, line 36
has
  return ret; 
should be
   return (ret == 0);  

Original issue reported on code.google.com by [email protected] on 5 Feb 2011 at 6:31

  • Merged into: #5

Aspect ratio is wrong after convertion

What steps will reproduce the problem?

1- test.ts is 720x576 16/9

/usr/local/bin/ffmpeg -i test.ts -deinterlace \
 -f mpegts \
 -acodec libmp3lame -ab 128k -ac 2 \
 -vcodec libcrusher264 -b 1000k -flags +loop+mv4 -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1800k -maxrate 1800k -bufsize 1800k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -r 25 -g 90 -async 2\
 -s 320x240 \
 ./test_enc.ts

What is the expected output? What do you see instead?
The output should be in 16/9, like the source.
But mediainfo says:

Width                            : 320 pixels
Height                           : 240 pixels
Display aspect ratio             : 4/3

instead of :

Width                            : 320 pixels
Height                           : 240 pixels
Display aspect ratio             : 16/9


What version of the product are you using? On what operating system?

- ffmpeg git a 6 sept 2011
- patch attached

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Sep 2011 at 12:22

Attachments:

Where is configure?

Followed instructions at http://code.google.com/p/crusher264/wiki/Install but 
can't find configure (also can't find source tar ball so checking out of svn 
instead):

$ svn checkout http://crusher264.googlecode.com/svn/trunk/ crusher264-read-only

$ cd crusher264-read-only/

$ tar xvfz ../firmware.tar.gz 
firmware/
firmware/FX2Firmware.hex
firmware/cap.qmmapp.seve1-eb-16mb.bin
firmware/hd.FX2Firmware.hex
firmware/VideoRecorder.hex
firmware/qmmapp.mg3500-2ddr2_264MHz_from48_128MB-codec.bin
firmware/qmmapp.seve1-eb-16mb.bin

$ ./configure
bash: ./configure: No such file or directory

$ ll
total 84
drwxrwxr-x 7 me me  4096 Jul 17 18:55 ./
drwxrwxr-x 3 me me  4096 Jul 17 18:55 ../
-rwxrwxr-x 1 me me  3448 Jul 17 18:55 bootstrap*
-rw-rw-r-- 1 me me  8879 Jul 17 18:55 configure.ac
-rw-rw-r-- 1 me me 18092 Jul 17 18:55 COPYING.GPL
-rw-rw-r-- 1 me me  6843 Jul 17 18:55 crusher264-config.in
-rw-rw-r-- 1 me me   420 Jul 17 18:55 crusher264.pc.in
-rw-rw-r-- 1 me me  1252 Jul 17 18:55 crusher264.spec.in
drwxr-xr-x 3 me me  4096 Jun 19  2010 firmware/
drwxrwxr-x 3 me me  4096 Jul 17 18:55 include/
-rw-rw-r-- 1 me me   234 Jul 17 18:55 Makefile.am
drwxrwxr-x 3 me me  4096 Jul 17 18:55 sample/
drwxrwxr-x 3 me me  4096 Jul 17 18:55 src/
drwxrwxr-x 6 me me  4096 Jul 17 18:55 .svn/

Where is configure?

Original issue reported on code.google.com by [email protected] on 18 Jul 2013 at 2:01

Audio is out of sync after convertion

What steps will reproduce the problem?

1- test.ts is 720x576 mpeg2 video/ mpeg audio

/usr/local/bin/ffmpeg -i test.ts -deinterlace \
 -f mpegts \
 -acodec libmp3lame -ab 128k -ac 2 \
 -vcodec libcrusher264 -b 1000k -flags +loop+mv4 -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1800k -maxrate 1800k -bufsize 1800k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -r 25 -g 90 -async 2\
 -s 320x240 \
 ./test_enc.ts

What is the expected output? What do you see instead?
Audio is completely desynched and should be synched.

What version of the product are you using? On what operating system?

- ffmpeg git a 6 sept 2011

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 8 Sep 2011 at 12:23

Device Reset and "app: init failed" - firmware issue?

What steps will reproduce the problem?
Build recent crusher264 lib from SVN on ARM system (Seagate Dockstar)
Run crusher264 or ffmpeg on a test file.

When doing so, in both cases the device gets a reset (dmesg output)

[ 6779.231900] usb 1-1.4: reset high speed USB device using orion-ehci and 
address 7

and an error (see bottom).


I'm not all through the code but I guess it is an issue when uploading the 
firmware to the device.

crusher264 Output:

# crusher264 -i /root/test.mp4 -o /root/text.flv -d
[DEBUG] app: Picture size: 640x480
[DEBUG] app: IN: /root/test.mp4, OUT: /root/text.flv dev=0 fmt=es
[INFO] app: You have encoder device
[INFO] app: Optimisations:
[DEBUG] app: YFrame=640x480 (640x480), iUVFrame=640x256 (10x8).
[DEBUG]: firmware version=3221357203
[DEBUG] app: init failed

Emptying the firmware directory leads into crusher264 complaining about missing 
fw:

root@debian:/usr/src# crusher264 -i /root/test.mp4 -o /root/text.flv -dd
[DEBUG] app: Picture size: 640x480
[DEBUG] app: IN: /root/test.mp4, OUT: /root/text.flv dev=0 fmt=es
[INFO] app: You have encoder device
[INFO] app: Optimisations:
[DEBUG] app: YFrame=640x480 (640x480), iUVFrame=640x256 (10x8).
[ERROR]: Open file 
/usr/local/share/crusher264/firmware/qmmapp.seve1-eb-16mb.bin failed.
[DEBUG] app: init failed

Copying back only the requested fw file brings up the first crusher264 output 
shown above. FX2Firmware.hex seems not to be touched.
So I guess there is an issue.

ffmpeg output:

# ffmpeg -i /root/test.mp4 -f flv -vcodec libcrusher264 -deinterlace -g 25 -r 
25 -sc_threshold 1 -b 500k -s 320x240 -acodec aac -ab 64k -ac 1 -ar 22050 -y 
/root/test.flv

FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec 14 2010 19:40:06 with gcc 4.4.5
  configuration: --enable-gpl --enable-libcrusher264 --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-shared
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.61. 0 / 52.61. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: mp41isom3gp5
  Duration: 00:00:53.63, start: 0.000000, bitrate: 4490 kb/s
    Stream #0.0(eng): Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 4450 kb/s, 27.30 fps, 60 tbr, 1k tbn, 60 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, mono, s16, 48 kb/s
[DEBUG]: firmware version=3221357203
[libcrusher264 @ 0x46a10]init failedOutput #0, flv, to '/root/test.flv':
    Stream #0.0(eng): Video: libcrusher264, nv12, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 500 kb/s, 90k tbn, 25 tbc
    Stream #0.1(eng): Audio: aac, 22050 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters 
such as bit_rate, rate, width or height


When -vcodec libcrusher264 Option is removed, software encoding works without 
flaws.

My kernel version:
# uname -a
Linux debian 2.6.32-5-kirkwood #1 Wed Oct 20 12:58:44 UTC 2010 armv5tel 
GNU/Linux


Original issue reported on code.google.com by [email protected] on 14 Dec 2010 at 10:15

Does anybody have a mirror of http://tipok.org.ua/downloads/hardware/crusher264/firmware/firmware.tar.gz

I would like to attempt to use this patch but I can't seem to download the 
firmware.   I was able to checkout the crusher264 repo.


wget http://tipok.org.ua/downloads/hardware/crusher264/firmware/firmware.tar.gz
--2010-08-31 14:15:56--  
http://tipok.org.ua/downloads/hardware/crusher264/firmware/firmware.tar.gz
Resolving tipok.org.ua... 217.20.191.23
Connecting to tipok.org.ua|217.20.191.23|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: 
http://tipok.ath.cx/downloads/hardware/crusher264/firmware/firmware.tar.gz 
[following]
--2010-08-31 14:15:56--  
http://tipok.ath.cx/downloads/hardware/crusher264/firmware/firmware.tar.gz
Resolving tipok.ath.cx... 178.137.4.105
Connecting to tipok.ath.cx|178.137.4.105|:80... failed: Connection refused.


Thanks -Jason

Original issue reported on code.google.com by [email protected] on 31 Aug 2010 at 6:18

Make Error

What steps will reproduce the problem?
1. Download actually GIT FFMPEG Source
2. Patch ffmpeg manually
3. Make FFMPEG

I Use the actually crusher and ffmpeg version under Debian Lenny.



Hi, i become follow Error for make ( I use Debian Lenny, actually GIT FFMPEG, 
with manually patch):

test:~/ffmpeg# make
CC      libavdevice/alldevices.o
CC      libavdevice/alsa-audio-common.o
CC      libavdevice/alsa-audio-dec.o
libavdevice/alsa-audio-dec.c: In function 'audio_read_header':
libavdevice/alsa-audio-dec.c:66: warning: 'sample_rate' is deprecated (declared 
at ./libavformat/avformat.h:246)
libavdevice/alsa-audio-dec.c:67: warning: 'sample_rate' is deprecated (declared 
at ./libavformat/avformat.h:246)
libavdevice/alsa-audio-dec.c:69: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/alsa-audio-dec.c:70: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/alsa-audio-dec.c:62: warning: unused variable 'sw_params'
libavdevice/alsa-audio-dec.c: In function 'audio_read_packet':
libavdevice/alsa-audio-dec.c:109: warning: unused variable 'st'
CC      libavdevice/alsa-audio-enc.o
CC      libavdevice/avdevice.o
CC      libavdevice/crushercap.o
libavdevice/crushercap.c: In function 'crushercap_read_header':
libavdevice/crushercap.c:90: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/crushercap.c:91: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/crushercap.c:95: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:96: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:101: warning: 'standard' is deprecated (declared at 
./libavformat/avformat.h:252)
libavdevice/crushercap.c:101: warning: 'standard' is deprecated (declared at 
./libavformat/avformat.h:252)
libavdevice/crushercap.c:107: warning: 'channel' is deprecated (declared at 
./libavformat/avformat.h:251)
libavdevice/crushercap.c:107: warning: 'channel' is deprecated (declared at 
./libavformat/avformat.h:251)
libavdevice/crushercap.c:108: warning: 'channel' is deprecated (declared at 
./libavformat/avformat.h:251)
libavdevice/crushercap.c:113: warning: 'width' is deprecated (declared at 
./libavformat/avformat.h:248)
libavdevice/crushercap.c:113: warning: 'height' is deprecated (declared at 
./libavformat/avformat.h:249)
libavdevice/crushercap.c:114: warning: 'width' is deprecated (declared at 
./libavformat/avformat.h:248)
libavdevice/crushercap.c:115: warning: 'height' is deprecated (declared at 
./libavformat/avformat.h:249)
libavdevice/crushercap.c:118: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:119: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/crushercap.c:210: error: 'CODEC_TYPE_AUDIO' undeclared (first use 
in this function)
libavdevice/crushercap.c:210: error: (Each undeclared identifier is reported 
only once
libavdevice/crushercap.c:210: error: for each function it appears in.)
libavdevice/crushercap.c:219: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:234: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:247: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:255: error: 'CODEC_TYPE_VIDEO' undeclared (first use 
in this function)
libavdevice/crushercap.c: In function 'crushercap_read_packet':
libavdevice/crushercap.c:351: error: 'PKT_FLAG_KEY' undeclared (first use in 
this function)
make: *** [libavdevice/crushercap.o] Fehler 1


Original issue reported on code.google.com by [email protected] on 4 Jul 2011 at 1:40

updated patch for ffmpeg

What steps will reproduce the problem?
1. Download git
2. Patch
3. Build

What is the expected output? What do you see instead?

Patch fails, build fails.

What version of the product are you using? On what operating system?

crusher264 1.1.1 on Linux amd64

Please provide any additional information below.

Enclosed patch is a hack from the released patch, adjusted to fit configure. 
Some variable names have changed to work with the recent ffmpeg.

Original issue reported on code.google.com by [email protected] on 4 Mar 2011 at 5:09

Attachments:

error in sample app for HD encoder

What steps will reproduce the problem?
1. build and run the current svn against an elgato turbo264 HD

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
elgato turbo264 HD.  Mac (10.6.6)  and Linux (fedora 14)

Please provide any additional information below.

line 349 of sample/crusherenc.c has the following
} else if (crusher.devmode == DEV_TYPE_ENCODER) {

it should be

} else if (crusher.devmode == DEV_TYPE_ENCODER_HD) {

Original issue reported on code.google.com by [email protected] on 4 Feb 2011 at 4:11

EncoderHD // [DEBUG] app: init failed

I'm trying to get an Elgato turbo.264 HD to work, using r71 on Ubuntu 11.04 
(amd64)

# sample/crusher264 -dddd -i ../test.raw -o ../test.h264 
[DEBUG] app: Picture size: 640x480
[DEBUG] app: IN: ../test.raw, OUT: ../test.h264 dev=0 fmt=es
[DEBUG]: MG1264/MG3500 firmware: 
firmware/qmmapp.mg3500-2ddr2_264MHz_from48_128MB-codec.bin.
[INFO] app: You have HD-encoder device
[XTREME] app: usbdevice=21433344
[DEBUG] app: init failed

i found the line that makes it fail...

src/crusher.c:387: 
   if(!mg1264_reset_b1(crusher, 0x0001)) return 0;

uncommenting it, or removing the "!", makes it return:

[DEBUG] app: Picture size: 640x480
[DEBUG] app: IN: ../test.raw, OUT: ../test.h264 dev=0 fmt=es
[DEBUG]: MG1264/MG3500 firmware: 
firmware/qmmapp.mg3500-2ddr2_264MHz_from48_128MB-codec.bin.
[INFO] app: You have HD-encoder device
[XTREME] app: usbdevice=9174016
[DEBUG]: firmware version: 192.2.3.67
[ERROR]: codec Memory Block write prepare FAILED! (-110 bytes sended from 9).
[DEBUG] app: init failed

I know that support for MG3500 isn't finished yet, so let me know if you need 
anything else!

Original issue reported on code.google.com by [email protected] on 12 Aug 2011 at 1:35

  • Merged into: #5

crusher264 patch for Vlc Media Player

Hi,

has anyone already written a libcrusher264 patch for Vlc?
http://www.videolan.org -> "VLC Media Player"
Transcoding with FFmpeg seems to be very buggy so far :-(

What version of the product are you using? On what operating system?
FFmpeg version git-c25543c with libcrusher264 r71.

What is the expected output? What do you see instead?
I've tried to transcode a live mpeg2 video stream with ffmpeg and 
libcrusher264, but unfortunately this job fails with ffmpeg, because the input 
buffer seems to be too small or buggy: 

Please provide any additional information below.
flo@liba:~$ CRUSHER_DEV=0 ffmpeg -async 1 -i udp://@239.57.3.1:1234?reuse=1 
-probesize 1024 -f mpegts -deinterlace -vcodec libcrusher264 -aspect 16:9 -s 
512x288 -g 25 -b 800k -acodec libmp3lame -ab 128k -ar 48000 -ac 2 -y 
udp://233.81.166.99:1234
FFmpeg version git-c25543c, Copyright (c) 2000-2010 the FFmpeg developers
  built on Feb 19 2011 19:15:32 with gcc 4.3.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-pic --enable-postproc --enable-pthreads --enable-libcrusher264 --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libxvid --enable-libvorbis --enable-x11grab --disable-static --enable-vaapi --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=ac3
  libavutil     50.32. 1 / 50.32. 1
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.79. 0 / 52.79. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpegts @ 0x73d470] Unable to seek back to the start
[mpeg2video @ 0x752700] mpeg_decode_postinit() failure
    Last message repeated 9 times
[mpegts @ 0x73d470] max_analyze_duration reached
[mpegts @ 0x73d470] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'udp://@239.57.3.1:1234?reuse=1':
  Duration: N/A, start: 58225.922256, bitrate: 15320 kb/s
  Program 34
    Stream #0.0[0x221]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 26.68 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x222](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
    Stream #0.2[0x225](2ch): Audio: mp2, 48000 Hz, 2 channels, s16, 128 kb/s
    Stream #0.3[0x224](deu): Subtitle: [6][0][0][0] / 0x0006
    Stream #0.4[0x22a]: Data: [144][0][0][0] / 0x0090
    Stream #0.5[0x22b]: Data: [145][0][0][0] / 0x0091
[buffer @ 0x7d8bf0] w:720 h:576 pixfmt:yuv420p
[scale @ 0x7690c0] w:720 h:576 fmt:yuv420p -> w:512 h:288 fmt:nv12 
flags:0xa0000004
[DEBUG]: MG1264/MG3500 firmware: 
/usr/local/share/crusher264/firmware/qmmapp.seve1-eb-16mb.bin.
[DEBUG]: firmware version: 192.2.2.147
[DEBUG]: sending encoder textconfig
[DEBUG]: crusher start
[mpegts @ 0x1a62f70] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt 
every 40 pkts
Output #0, mpegts, to 'udp://233.81.166.99:1234':
  Metadata:
    encoder         : Lavf52.79.0
    Stream #0.0: Video: libcrusher264, nv12, 512x288 [PAR 1:1 DAR 16:9], q=2-31, 800 kb/s, 90k tbn, 25 tbc
    Stream #0.1(deu): Audio: libmp3lame, 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x752700] warning: first frame is no keyframe
frame=   24 fps=  0 q=0.0 size=       5kB time=0.32 bitrate= 117.5kbits/s dup=7 
frame=   45 fps= 43 q=0.0 size=     156kB time=1.04 bitrate=1230.7kbits/s dup=7 
frame=   65 fps= 42 q=0.0 size=     241kB time=1.84 bitrate=1072.4kbits/s dup=7 
frame=   86 fps= 42 q=0.0 size=     365kB time=2.68 bitrate=1116.8kbits/s dup=7 
frame=  107 fps= 41 q=0.0 size=     497kB time=3.52 bitrate=1155.8kbits/s dup=7 
frame=  127 fps= 41 q=0.0 size=     627kB time=4.32 bitrate=1188.6kbits/s dup=7 
frame=  147 fps= 41 q=0.0 size=     732kB time=5.12 bitrate=1171.8kbits/s dup=7 
frame=  168 fps= 41 q=0.0 size=     865kB time=5.96 bitrate=1189.1kbits/s dup=7 
frame=  188 fps= 41 q=0.0 size=    1002kB time=6.76 bitrate=1214.1kbits/s dup=7 
frame=  207 fps= 24 q=0.0 size=    1100kB time=7.52 bitrate=1197.8kbits/s dup=7 
frame=  229 fps= 25 q=0.0 size=    1212kB time=8.40 bitrate=1181.5kbits/s dup=7 
[mpeg2video @ 0x752700] 00 motion_type at 16 23
[mpeg2video @ 0x752700] ac-tex damaged at 2 13
[mpeg2video @ 0x752700] 00 motion_type at 2 14
[mpeg2video @ 0x752700] ac-tex damaged at 4 15
[mpeg2video @ 0x752700] 00 motion_type at 4 17
[mpeg2video @ 0x752700] 00 motion_type at 26 17
[mpeg2video @ 0x752700] slice mismatch
[mpeg2video @ 0x752700] invalid cbp at 6 19
[mpeg2video @ 0x752700] ac-tex damaged at 26 20
[mpeg2video @ 0x752700] invalid mb type in P Frame at 9 21
[mpeg2video @ 0x752700] 00 motion_type at 6 22
[mpeg2video @ 0x752700] 00 motion_type at 5 23
[mpeg2video @ 0x752700] 00 motion_type at 13 24
[mpeg2video @ 0x752700] mb incr damaged
[mpeg2video @ 0x752700] 00 motion_type at 6 26
[mpeg2video @ 0x752700] invalid mb type in P Frame at 22 27
[mpeg2video @ 0x752700] ac-tex damaged at 0 28
[mpeg2video @ 0x752700] invalid mb type in P Frame at 7 29
[mpeg2video @ 0x752700] invalid mb type in P Frame at 4 30
[mpeg2video @ 0x752700] 00 motion_type at 2 31
[mpeg2video @ 0x752700] 00 motion_type at 12 32
[mpeg2video @ 0x752700] 00 motion_type at 8 33
[mpeg2video @ 0x752700] 00 motion_type at 17 34
[mpeg2video @ 0x752700] 00 motion_type at 6 35
[mpeg2video @ 0x752700] Warning MVs not available
[mpeg2video @ 0x752700] concealing 1035 DC, 1035 AC, 1035 MV errors
frame=  400 fps= 33 q=0.0 size=    1306kB time=9.12 bitrate=1173.2kbits/s 
dup=16[mp2 @ 0x752b50] Header missing
Error while decoding stream #0.1
frame=  405 fps= 30 q=0.0 size=    1932kB time=15.44 bitrate=1024.9kbits/s 
dup=1frame=  423 fps= 29 q=0.0 size=    2130kB time=16.16 bitrate=1079.6kbits/s 
dup=1frame=  438 fps= 28 q=0.0 size=    2239kB time=16.76 bitrate=1094.2kbits/s 
dup=1frame=  458 fps= 29 q=0.0 size=    2384kB time=17.56 bitrate=1112.3kbits/s 
dup=1frame=  469 fps= 28 q=0.0 size=    2455kB time=18.00 bitrate=1117.3kbits/s 
dup=1frame=  489 fps= 28 q=0.0 size=    2583kB time=18.80 bitrate=1125.4kbits/s 
dup=1[mpeg2video @ 0x752700] Warning MVs not available
[mpeg2video @ 0x752700] concealing 0 DC, 0 AC, 0 MV errors
frame=  579 fps= 30 q=0.0 size=    2634kB time=19.15 bitrate=1126.6kbits/s 
dup=2[mp2 @ 0x752b50] Header missing
Error while decoding stream #0.1
frame=  597 fps= 31 q=0.0 size=    3086kB time=23.12 bitrate=1093.4kbits/s 
dup=2[mpeg2video @ 0x752700] ac-tex damaged at 6 3
[mpeg2video @ 0x752700] ac-tex damaged at 0 17
[mpeg2video @ 0x752700] ac-tex damaged at 0 18
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 19
[mpeg2video @ 0x752700] ac-tex damaged at 0 20
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 21
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 22
[mpeg2video @ 0x752700] ac-tex damaged at 0 23
[mpeg2video @ 0x752700] ac-tex damaged at 0 24
[mpeg2video @ 0x752700] ac-tex damaged at 0 25
[mpeg2video @ 0x752700] ac-tex damaged at 0 26
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 27
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 28
[mpeg2video @ 0x752700] ac-tex damaged at 0 29
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 30
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 31
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 32
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 33
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 34
[mpeg2video @ 0x752700] invalid mb type in I Frame at 0 35
[mpeg2video @ 0x752700] Warning MVs not available
[mpeg2video @ 0x752700] concealing 1485 DC, 1485 AC, 1485 MV errors
frame=  617 fps= 31 q=0.0 size=    3446kB time=23.92 bitrate=1180.1kbits/s 
dup=2[mp2 @ 0x752b50] Header missing
Error while decoding stream #0.1
Error while decoding stream #0.1s
    Last message repeated 1 times
[mpeg2video @ 0x752700] slice mismatch
[mpeg2video @ 0x752700] invalid mb type in P Frame at 14 13
[mpeg2video @ 0x752700] ac-tex damaged at 0 14
[mpeg2video @ 0x752700] ac-tex damaged at 0 15
[mpeg2video @ 0x752700] mb incr damaged
[mpeg2video @ 0x752700] 00 motion_type at 6 17
[mpeg2video @ 0x752700] invalid cbp at 1 18
[mpeg2video @ 0x752700] slice mismatch
[mpeg2video @ 0x752700] ac-tex damaged at 0 20
[mpeg2video @ 0x752700] ac-tex damaged at 0 21
[mpeg2video @ 0x752700] ac-tex damaged at 7 22
[mpeg2video @ 0x752700] invalid mb type in P Frame at 7 23
[mpeg2video @ 0x752700] invalid mb type in P Frame at 29 24
[mpeg2video @ 0x752700] invalid cbp at 1 25
[mpeg2video @ 0x752700] ac-tex damaged at 0 26
[mpeg2video @ 0x752700] 00 motion_type at 3 27
[mpeg2video @ 0x752700] ac-tex damaged at 0 28
[mpeg2video @ 0x752700] slice mismatch
[mpeg2video @ 0x752700] 00 motion_type at 1 30
[mpeg2video @ 0x752700] invalid mb type in P Frame at 6 31
[mpeg2video @ 0x752700] 00 motion_type at 3 32
[mpeg2video @ 0x752700] 00 motion_type at 1 33
[mpeg2video @ 0x752700] ac-tex damaged at 4 34
[mpeg2video @ 0x752700] ac-tex damaged at 5 35
[mpeg2video @ 0x752700] concealing 1395 DC, 1395 AC, 1395 MV errors
frame=  642 fps= 31 q=0.0 size=    3598kB time=24.92 bitrate=1182.8kbits/s 
dup=2[DEBUG]: No more data from source, flushing...
[DEBUG]: Encoder Finished
[DEBUG]: ME Status
[DEBUG]: Aud: In 661 Out 0 Dec 0 Enc 8394
[DEBUG]: Vid: In 10635 Out 0 Dec 0 Enc 0
[DEBUG]: ISR: vin 0 ain 0 vout 22661 aout 0
[DEBUG]: Enc PTS: vin 0 ain 0 venc 0 aenc 0 vmux 0 amux 0
[DEBUG]: Dec PTS: vdmx 0 admx 0 vdec 0 adec 0 vout 0 aout 0
[DEBUG]: AV Sync: vin drops 665 vin repeats 0 vout drops 1326 vout repeats 933
[DEBUG]: VFR: frames sent 1918/0
frame=  643 fps= 31 q=0.0 Lsize=    3713kB time=25.18 bitrate=1208.2kbits/s 
dup=261 drop=0
video:2962kB audio:393kB global headers:0kB muxing overhead 10.665644%
flo@liba:~$

Using this workaround works better, but then the output is no live stream and 
stalls everytime the buffer is empty:
flo@liba:~$ ffmpeg -async 1 -i udp://@239.57.3.1:1234?multicast=1 -f mpegts 
-acodec copy -vcodec copy -sameq - | bfr | ffmpeg -i - -probesize 1024 -f 
mpegts -vcodec libcrusher264 -s 512x288 -aspect 16:9 -g 25 -b 800k -acodec 
libmp3lame -ab 128k -ar 48000 -ac 2 -y udp://233.81.166.99:1234
FFmpeg version git-c25543c, Copyright (c) 2000-2010 the FFmpeg developers
  built on Feb 19 2011 19:15:32 with gcc 4.3.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-pic --enable-postproc --enable-pthreads --enable-libcrusher264 --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libxvid --enable-libvorbis --enable-x11grab --disable-static --enable-vaapi --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=ac3
  libavutil     50.32. 1 / 50.32. 1
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.79. 0 / 52.79. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
FFmpeg version git-c25543c, Copyright (c) 2000-2010 the FFmpeg developers
  built on Feb 19 2011 19:15:32 with gcc 4.3.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-pic --enable-postproc --enable-pthreads --enable-libcrusher264 --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libxvid --enable-libvorbis --enable-x11grab --disable-static --enable-vaapi --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=ac3
  libavutil     50.32. 1 / 50.32. 1
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.79. 0 / 52.79. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpegts @ 0x1127470] Unable to seek back to the start
[mpeg2video @ 0x113c700] mpeg_decode_postinit() failure
    Last message repeated 4 times
[mpegts @ 0x1127470] max_analyze_duration reached
[mpegts @ 0x1127470] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'udp://@239.57.3.1:1234?multicast=1':
  Duration: N/A, start: 58505.402256, bitrate: 15320 kb/s
  Program 34
    Stream #0.0[0x221]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25.60 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x222](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
    Stream #0.2[0x225](2ch): Audio: mp2, 48000 Hz, 2 channels, s16, 128 kb/s
    Stream #0.3[0x224](deu): Subtitle: [6][0][0][0] / 0x0006
    Stream #0.4[0x22a]: Data: [144][0][0][0] / 0x0090
    Stream #0.5[0x22b]: Data: [145][0][0][0] / 0x0091
[mpegts @ 0x2789d60] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt 
every 40 pkts
Output #0, mpegts, to 'pipe:':
  Metadata:
    encoder         : Lavf52.79.0
    Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 15000 kb/s, 90k tbn, 25 tbc
    Stream #0.1(deu): Audio: mp2, 48000 Hz, 2 channels, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpegts @ 0xf89470] max_analyze_duration reached
[mpegts @ 0xf89470] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'pipe:':
  Duration: N/A, start: 1.541544, bitrate: 15192 kb/s
  Program 1 Service01
    Metadata:
      name            : Service01
      provider_name   : FFmpeg
    Stream #0.0[0x100]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x101](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
[buffer @ 0xf91ce0] w:720 h:576 pixfmt:yuv420p
[scale @ 0xfb2160] w:720 h:576 fmt:yuv420p -> w:512 h:288 fmt:nv12 
flags:0xa0000004
[DEBUG]: MG1264/MG3500 firmware: 
/usr/local/share/crusher264/firmware/qmmapp.seve1-eb-16mb.bin.
[DEBUG]: firmware version: 192.2.2.147
[DEBUG]: sending encoder textconfig 2979kB time=5.71 bitrate=4274.0kbits/s
[DEBUG]: crusher start-1.0 size=    3316kB time=6.29 bitrate=4321.4kbits/s
[mpegts @ 0x1283d70] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt 
every 40 pkts
Output #0, mpegts, to 'udp://233.81.166.99:1234':
  Metadata:
    encoder         : Lavf52.79.0
    Stream #0.0: Video: libcrusher264, nv12, 512x288 [PAR 1:1 DAR 16:9], q=2-31, 800 kb/s, 90k tbn, 25 tbc
    Stream #0.1(deu): Audio: libmp3lame, 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
frame=   24 fps=  0 q=0.0 size=      32kB time=0.32 bitrate= 808.4kbits/s 
dup=12frame=   45 fps= 44 q=0.0 size=     157kB time=1.04 bitrate=1237.9kbits/s 
dup=12frame=   66 fps= 43 q=0.0 size=     265kB time=1.88 bitrate=1152.8kbits/s 
dup=12frame=   87 fps= 43 q=0.0 size=     412kB time=2.72 bitrate=1240.2kbits/s 
dup=12frame=  109 fps= 42 q=0.0 size=     545kB time=3.60 bitrate=1239.1kbits/s 
dup=12frame=  129 fps= 42 q=0.0 size=     644kB time=4.40 bitrate=1198.8kbits/s 
dup=12frame=  150 fps= 42 q=0.0 size=     765kB time=5.24 bitrate=1196.0kbits/s 
dup=12frame=  164 fps= 40 q=0.0 size=     865kB time=5.80 bitrate=1221.4kbits/s 
dup=12frame=  185 fps= 40 q=0.0 size=     995kB time=6.64 bitrate=1227.4kbits/s 
dup=12frame=  200 fps= 35 q=0.0 size=    1070kB time=7.24 bitrate=1210.7kbits/s 
dup=12frame=  221 fps= 35 q=0.0 size=    1165kB time=8.08 bitrate=1180.9kbits/s 
dup=12frame=  229 fps= 30 q=0.0 size=    1210kB time=8.40 bitrate=1180.5kbits/s 
dup=12frame=  250 fps= 31 q=0.0 size=    1329kB time=9.24 bitrate=1178.3kbits/s 
dup=12frame=  271 fps= 31 q=0.0 size=    1452kB time=10.08 
bitrate=1180.1kbits/s dup=1frame=  292 fps= 32 q=0.0 size=    1583kB time=10.92 
bitrate=1187.6kbits/s dup=1frame=  310 fps= 32 q=0.0 size=    1699kB time=11.64 
bitrate=1195.4kbits/s dup=1frame=  331 fps= 33 q=0.0 size=    1823kB time=12.48 
bitrate=1196.7kbits/s dup=1frame=  352 fps= 33 q=0.0 size=    1934kB time=13.32 
bitrate=1189.7kbits/s dup=1frame=  372 fps= 33 q=0.0 size=    2048kB time=14.12 
bitrate=1188.4kbits/s dup=1frame=  381 fps= 30 q=0.0 size=    2106kB time=14.48 
bitrate=1191.6kbits/s dup=1frame=  402 fps= 30 q=0.0 size=    2232kB time=15.32 
bitrate=1193.8kbits/s dup=1frame=  423 fps= 30 q=0.0 size=    2358kB time=16.16 
bitrate=1195.2kbits/s dup=1frame=  444 fps= 31 q=0.0 size=    2488kB time=17.00 
bitrate=1198.9kbits/s dup=1frame=  465 fps= 31 q=0.0 size=    2597kB time=17.84 
bitrate=1192.4kbits/s dup=1frame=  486 fps= 31 q=0.0 size=    2701kB time=18.68 
bitrate=1184.6kbits/s dup=1frame=  507 fps= 32 q=0.0 size=    2822kB time=19.52 
bitrate=1184.5kbits/s dup=1frame=  512 fps= 28 q=0.0 size=    2856kB time=19.72 
bitrate=1186.3kbits/s dup=1frame=  534 fps= 28 q=0.0 size=    2996kB time=20.60 
bitrate=1191.4kbits/s dup=1frame=  555 fps= 28 q=0.0 size=    3111kB time=21.44 
bitrate=1188.7kbits/s dup=1frame=  577 fps= 28 q=0.0 size=    3245kB time=22.32 
bitrate=1191.0kbits/s dup=1frame=  598 fps= 28 q=0.0 size=    3367kB time=23.16 
bitrate=1191.1kbits/s dup=1frame=  619 fps= 29 q=0.0 size=    3482kB time=24.00 
bitrate=1188.7kbits/s dup=1frame=  622 fps= 28 q=0.0 size=    3499kB time=24.12 
bitrate=1188.3kbits/s dup=1frame=  643 fps= 28 q=0.0 size=    3629kB time=24.96 
bitrate=1191.2kbits/s dup=1frame=  651 fps= 28 q=0.0 size=    3687kB time=25.28 
bitrate=1194.8kbits/s dup=1frame=  672 fps= 28 q=0.0 size=    3824kB time=26.12 
bitrate=1199.4kbits/s dup=1frame=  693 fps= 28 q=0.0 size=    3941kB time=26.96 
bitrate=1197.5kbits/s dup=1frame=  714 fps= 28 q=0.0 size=    4048kB time=27.80 
bitrate=1192.9kbits/s dup=1frame=  735 fps= 29 q=0.0 size=    4170kB time=28.64 
bitrate=1192.7kbits/s dup=1frame=  756 fps= 29 q=0.0 size=    4295kB time=29.48 
bitrate=1193.4kbits/s dup=1frame=  777 fps= 29 q=0.0 size=    4414kB time=30.32 
bitrate=1192.5kbits/s dup=1frame=  799 fps= 29 q=0.0 size=    4554kB time=31.20 
bitrate=1195.6kbits/s dup=1frame=  820 fps= 30 q=0.0 size=    4667kB time=32.04 
bitrate=1193.2kbits/s dup=1frame=  848 fps= 25 q=-1.0 Lsize=   19598kB 
time=34.13 bitrate=4704.7kbits/s
video:17339kB audio:796kB global headers:0kB muxing overhead 8.065432%
frame=  834 fps= 26 q=0.0 size=    4743kB time=32.60 bitrate=1191.8kbits/s 
dup=1qframe=  855 fps= 26 q=0.0 size=    4871kB time=33.44 
bitrate=1193.2kbits/s dup=[DEBUG]: No more data from source, flushing...
[DEBUG]: Encoder Finished
[DEBUG]: ME Status
[DEBUG]: Aud: In 876 Out 0 Dec 0 Enc 8391
[DEBUG]: Vid: In 10904 Out 0 Dec 0 Enc 0
[DEBUG]: ISR: vin 0 ain 0 vout 20400 aout 0
[DEBUG]: Enc PTS: vin 0 ain 0 venc 0 aenc 0 vmux 0 amux 0
[DEBUG]: Dec PTS: vdmx 0 admx 0 vdec 0 adec 0 vout 0 aout 0
[DEBUG]: AV Sync: vin drops 880 vin repeats 0 vout drops 1756 vout repeats 1234
[DEBUG]: VFR: frames sent 2983/0
frame=  858 fps= 26 q=0.0 Lsize=    4987kB time=34.01 bitrate=1201.3kbits/s 
dup=12 drop=0
video:3986kB audio:531kB global headers:0kB muxing overhead 10.392736%
flo@liba:~$ 

Thank you for your feedback,
-Florian

Original issue reported on code.google.com by [email protected] on 7 Mar 2011 at 12:44

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.