|
|
#256 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
whats the exact revision of your device...
and the exact commands ON BOTH ENDS that you run... |
|
|
|
|
|
#257 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 29918
Join Date: Nov 2011
Location: Murrieta, CA
Device: Kindle Touch
|
I have a Touch 5.1.2 and a Keyboard 3.4.
On my computer I run: To send the video to a file: Code:
ffmpeg -i <FILE> -pix_fmt gray -f rawvideo -s 800x600 -r 7.7 -|/root/raw2gmv|gzip > file.gmv.gz Code:
ffmpeg -i <FILE> -pix_fmt gray -f rawvideo -s 800x600 -|/root/raw2gmv|nc -l 5555 Code:
zcat file.gmv.gz|./gmplay Code:
nc 192.168.1.3 5555|./gmplay |
|
|
|
|
|
#258 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
PC:
me@dev ~ $ ffmpeg -i /home/me/BACKUPS/backup/BarbiePt1.avi -pix_fmt gray -f rawvideo -s 800x600 -| raw2gmvPC |nc -l 5555 Touch 5.3.2: [root@kindle us]# nc dev 5555 | ./gmplay Plays as expected... hmm... You tried a few movies? Last edited by twobob; 03-10-2013 at 11:38 PM. |
|
|
|
|
|
#259 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 29918
Join Date: Nov 2011
Location: Murrieta, CA
Device: Kindle Touch
|
[deleted]
Last edited by sean.fosterbrown; 06-15-2021 at 06:56 AM. |
|
|
|
|
|
#260 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Wow! these videos are pretty neat! They work fine on my Touch - I didn't netcat them, just copied and played them. Sure makes a great demo, though I can't imagine watching an action flick all the way through?
Do I understand the only way to get sound is to play both streams simultaniously? like with mplayer or ffmpeg? |
|
|
|
|
|
#261 |
|
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Wait... so I'm learning something new every day. I never knew that netcat could work in the "wrong direction" - have the sending end listen, and the receiving end connecting to it. Weird but cool
|
|
|
|
|
|
#262 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
I've try to run ffmpeg+raw2gmv+raw2gmv directly on my KT but it didn't work.
First run ffmpeg+raw2gmv+nc on KT5: Code:
./ffmpeg -i tj.mp4 -pix_fmt gray -f rawvideo -s 800x450 -|./raw2gmv | /mnt/us/nc -l 5555 Code:
ffmpeg version N-44781-g299c0b3 Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 27 2012 14:26:04 with gcc 4.6.3 (Sourcery CodeBench Lite 2012.03-57)
configuration: --enable-cross-compile --cross-prefix=/home/ppoo/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/ --sysroot=/root/sbox2/sysroot_soft --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --extra-cflags=-fPIC --enable-static --enable-shared --prefix=/home/ppoo/Downloads/ffmpeg/kindle_sf --disable-doc --enable-gpl --enable-nonfree --enable-ffmpeg --enable-ffplay --disable-ffserver --enable-postproc --enable-swscale --enable-indevs --enable-outdevs --enable-pthreads --disable-zlib --disable-armv6 --disable-neon --disable-armvfp
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 28.101 / 54. 28.101
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tj.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
creation_time : 1940-04-15 12:23:10
Duration: 00:06:46.59, start: 0.000000, bitrate: 332 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 54 kb/s
Metadata:
creation_time : 1940-04-15 12:23:10
handler_name : (C) 2007 Google Inc. v08.13.2007.
Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 275 kb/s, 29.92 fps, 29.92 tbr, 29924 tbn, 59.85 tbc
Metadata:
creation_time : 1940-04-15 12:23:10
handler_name : (C) 2007 Google Inc. v08.13.2007.
Output #0, rawvideo, to 'pipe:':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
encoder : Lavf54.28.101
Stream #0:0(und): Video: rawvideo (Y800 / 0x30303859), gray, 800x450 [SAR 3:4 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.92 tbc
Metadata:
creation_time : 1940-04-15 12:23:10
handler_name : (C) 2007 Google Inc. v08.13.2007.
Stream mapping:
Stream #0:1 -> #0:0 (h264 -> rawvideo)
Press [q] to stop, [?] for help
PHP Code:
Code:
ffmpeg version N-44781-g299c0b3 Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 27 2012 14:26:04 with gcc 4.6.3 (Sourcery CodeBench Lite 2012.03-57)
configuration: --enable-cross-compile --cross-prefix=/home/ppoo/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/ --sysroot=/root/sbox2/sysroot_soft --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --extra-cflags=-fPIC --enable-static --enable-shared --prefix=/home/ppoo/Downloads/ffmpeg/kindle_sf --disable-doc --enable-gpl --enable-nonfree --enable-ffmpeg --enable-ffplay --disable-ffserver --enable-postproc --enable-swscale --enable-indevs --enable-outdevs --enable-pthreads --disable-zlib --disable-armv6 --disable-neon --disable-armvfp
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 28.101 / 54. 28.101
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tj.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
creation_time : 1940-04-15 12:23:10
Duration: 00:06:46.59, start: 0.000000, bitrate: 332 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 54 kb/s
Metadata:
creation_time : 1940-04-15 12:23:10
handler_name : (C) 2007 Google Inc. v08.13.2007.
Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 275 kb/s, 29.92 fps, 29.92 tbr, 29924 tbn, 59.85 tbc
Metadata:
creation_time : 1940-04-15 12:23:10
handler_name : (C) 2007 Google Inc. v08.13.2007.
Output #0, rawvideo, to 'pipe:':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
encoder : Lavf54.28.101
Stream #0:0(und): Video: rawvideo (Y800 / 0x30303859), gray, 800x450 [SAR 3:4 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.92 tbc
Metadata:
creation_time : 1940-04-15 12:23:10
handler_name : (C) 2007 Google Inc. v08.13.2007.
Stream mapping:
Stream #0:1 -> #0:0 (h264 -> rawvideo)
Press [q] to stop, [?] for help
invalid connection to [127.0.0.1] from (UNKNOWN) [127.0.0.1] 39718
Code:
[root@kindle gmplayer]# netstat -ntpl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:20450 0.0.0.0:* LISTEN 1137/webreader tcp 4 0 127.0.0.1:9101 0.0.0.0:* LISTEN 1224/cvm tcp 0 0 0.0.0.0:48850 0.0.0.0:* LISTEN 25146/nc tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 684/dropbear tcp 0 0 0.0.0.0:40317 0.0.0.0:* LISTEN 1026/phd |
|
|
|
|
|
#263 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Hi. Why would you use netcat on the same device?
That part of the solution is to provide "paused" network traffic from a remote device. ./ffmpeg -i tj.mp4 -pix_fmt gray -f rawvideo -s 800x450 -|./raw2gmv | ./gmplay would be the correct solution. IF it worked on one device. As far as I remember it doesn't work on one device. A blank screen is outputted. With regards to your ACTUAL setup. you said. /mnt/us/nc -l 5555 so that would be port 5555 so the other bit would be nc localhost 5555 It's kind of early in the morning here but that would maybe be the wrong end of the socket you identified or something, not awake properly. HTH |
|
|
|
|
|
#264 |
|
Penguin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
|
Hello.
I've completely failed to get gmplay to work. I keep it and gmvid in a directory mnt/us/videos and use the following commands from XTerm: cd mnt/us/videos/ zcat gmvid.gmv.gz|./gmplay And I get: zcat: error inflating zcat: broken pipe I have looked at the rest of this thread and found nothing helpful. Help would be appreciated. |
|
|
|
|
|
#265 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
I got it work, maybe you could show what video you are trying (one of the first links on this thread) then re-download and copy over the version you have? maybe the video you have wasn't downloaded fully?
|
|
|
|
|
|
#266 | |
|
Penguin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
|
Quote:
zcat: error inflating zcat: broken pipe |
|
|
|
|
|
|
#267 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
cd /mnt/us/videos/ not
cd mnt/us/videos/ did you try a ls just to check you were in the right place? just a thought... |
|
|
|
|
|
#268 |
|
Penguin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
|
|
|
|
|
|
|
#269 |
|
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The command (present working directory):
pwd will tell you where you are at. Just entering: cd in *nix will return you to your home directory, not show you where you are at like some other OS cd commands do. |
|
|
|
|
|
#270 |
|
Penguin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
|
Well I've been a bit of an idiot. I didn't realise gmplay-1.5a was an archive. Once I unpacked it into mnt/us/extensions/videos/ everything went smoothly.
And now to celebrate by giving everyone ridiculous amounts of karma .
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hacks free kindle video player | geekmaster | Amazon Kindle | 0 | 05-07-2012 01:17 AM |
| Video Player | wilbrich | Kobo Tablets | 1 | 11-24-2011 03:40 PM |
| Video player, Video streaming,Remote | mint121 | enTourage eDGe | 1 | 11-18-2011 04:31 PM |
| Frustrated with the video player | TonyToews | Kobo Tablets | 10 | 11-01-2011 02:15 PM |