yashsingh1/xdaforums huggingface dataset:
[Google Chromecast] Budius:
It was build as a Java UI (using JavaFX), so I reckon the code it's not good for a headless server (although the objects in the code are quite modular and should be totally possible with minimum modification to do it)

BUT,

I urge anyone to not use it with a RaspberryPi, I have one myself and tried some FFMPEG on it and it's just so painfully slow!!! So so slow!

Like a 20 seconds video would take 5 min to process.

ps.: If anyone find a way to build FFMPEG on a raspPi that properly uses the GPU and makes stuff runs at proper speed, please let us know. :laugh:
[Google Chromecast] nigelhealy:
Hmm ok. I been using a quad-core desktop and it just about does real-time. I been using get-iplayer it does something with ffmpeg to make an mp4 (which casts fine).

So your script it.... must have read-write access to the path presumably, so I'd have to have a CIFs mount? I'm Windows-less here on Ubuntu desktop so I can give it a SSFS folder, will that work? It is its delete function which scares me from simply trying it...

(edited) I'm running on my desktop it is only seeing local files folders, no CIFs mounts no SSH mounts. Means I'd have to copy all my videos to local first.

(double edit) on 2nd thoughts, I'm being dumb, I just move the external USB drive from my NAS (Raspberry) to my desktop, let it convert all needs it and then move it back.
[Google Chromecast] Budius:
yeah, as you can see it's a very basic software. Specially the GUI.

I focused more on the conversion bits and hopeful that ppl from the OpenSource community can help a bit on the GUI.

Yeah, that's exactly what I've done here. My main PC is on the table there for the past 10 hours processing 1127 files of series I have. Next it will be the Movies folder.

I'm running on Linux too, and Linux is beautiful and there's all different ways you can mount a NAS folder locally but that means that all those tera-bytes of data will have to flow through the network, and that will certainly slow down the process even more.

ps.: any file that it doesn't manage to convert for whatever reason will be listed on a ChromecastConverterError.log on the folder location.

I know the feeling. I promise you that I tried on every way I could think of to only delete if it's sure it was a successful conversion (checks for success flag, then checks if the generated file exist and its size is greater than zero)

At the moment my stuff I'm running on local copy on my machine, but I'm really confident.

ps.: that's another thing I wanted someone from the OpenSource community to help out, to have options to save to different folder and not delete the original.
[Google Chromecast] nigelhealy:
(moving here, you're right keep bug tracking in this thread)

Quote:

Originally Posted by Budius View Post

what does say in the LOG tab?

Try running from the terminal: ffprobe <video_path>.mp4 Does it work or does it say "can't find command ffprobe" ?

at the end of this https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide it shows how to add the ffmpeg to the path

Your tool says

[ERROR] Failed to get FFPROBE for /mnt/320gb/TEMP/Downloads/Lakes Sep 2013/VID_20130926_112924.mp4

Command line just works

ffprobe VID_20130926_112924.mp4

avprobe version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers

built on Feb 6 2014 20:56:59 with gcc 4.6.3

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'VID_20130926_112924.mp4':

Metadata:

major_brand : isom

minor_version : 0

compatible_brands: isom3gp4

creation_time : 2013-09-26 10:29:58

Duration: 00:00:32.57, start: 0.000000, bitrate: 5109 kb/s

Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 720x480, 5056 kb/s, PAR 65536:65536 DAR 3:2, 30.31 fps, 90k tbr, 90k tbn, 180k tbc

Metadata:

creation_time : 2013-09-26 10:29:58

Stream #0.1(eng): Audio: aac, 48000 Hz, mono, s16, 96 kb/s

Metadata:

creation_time : 2013-09-26 10:29:58
[Google Chromecast] Budius:
well, I can see that it's a different version of the ffprobe I'm using, so let's try the exact same command the software is doing, try this:

ffprobe -v quiet -print_format json -show_format -show_streams VID_20130926_112924.mp4

it should give a Json string, something similar to this (but with the information about your video):

{
"streams": [{
"index": 0,
"codec_name": "wmv3",
"codec_long_name": "Windows Media Video 9",
"codec_type": "video",
"codec_time_base": "1/1000",
"codec_tag_string": "WMV3",
"codec_tag": "0x33564d57",
"width": 320,
"height": 240,
"has_b_frames": 0,
"pix_fmt": "yuv420p",
"level": -99,
"r_frame_rate": "30000/1001",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_time": "0.000",
"duration": "300.066",
"tags": {
"language": "eng"
}
}],
"format": {
"filename": "somefile.asf",
"nb_streams": 1,
"format_name": "asf",
"format_long_name": "ASF format",
"start_time": "0.000",
"duration": "300.066",
"tags": {
"WMFSDKVersion": "10.00.00.3646",
"WMFSDKNeeded": "0.0.0.0000",
"IsVBR": "0"
}
}
}
[Google Chromecast] nigelhealy:
Nope it just gives nothing, like it worked

ls -l VID_20130926_112924.mp4
-rwxrwxrwx 1 root root 20805982 Sep 26 2013 VID_20130926_112924.mp4
ffprobe -v quiet -print_format json -show_format -show_streams VID_20130926_112924.mp4
$

other info

whereis ffprobe
ffprobe: /usr/bin/ffprobe /usr/bin/X11/ffprobe

ffprobe -version
avprobe version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers
built on Feb 6 2014 20:56:59 with gcc 4.6.3
avprobe 0.8.10-4:0.8.10-0ubuntu0.12.04.1
libavutil 51. 22. 2 / 51. 22. 2
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0

---------- Post added at 12:24 PM ---------- Previous post was at 12:21 PM ----------

command line syntax error in what you asked? If I remove the -quiet it says

Unrecognized option 'print_format'
Failed to set value 'json' for option 'print_format'
[Google Chromecast] Budius:
well that's the problem then. Somehow your version of FFPROBE does not understand to give a Json output.

The ffmpeg and ffprobe I'm using here are brand new compilations I did last week using that guide.

I should remove the -quiet option so whenever it fails it gives a more descriptive error in the app.

That's what my -version looks like

ffprobe version 2.2.git
built on Mar 22 2014 15:55:09 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: --prefix=/home/budius/ffmpeg_build --extra-cflags=-I/home/budius/ffmpeg_build/include --extra-ldflags=-L/home/budius/ffmpeg_build/lib --bindir=/home/budius/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-x11grab
libavutil 52. 67.100 / 52. 67.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 34.101 / 55. 34.101
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100

so my best advice if you want to use the tool is to, remove/delete your current version of FFMPEG/FFPROBE and re-compile it using the guide =]
[Google Chromecast] Budius:
First of all, I'm very happy that you got it working :highfive: . I wish I could just pack FFMPEG with the software so it would be more user friendly, but because it uses the "-non-free" stuff I don't want to get in trouble for helping others.

I don't believe it's improving in any way, but I'll tell your what is happening.

Those are the format officially supported by the Chromecast https://developers.google.com/cast/docs/media

I did noticed that in reality it can run some little variations, for example, your video is h264 Profile: Main avc1 and it works.

Another example, it will cast without issues .MKV files with an appropriate h264 stream.

But for correctness the software converts anything that is not exactly as shown in the official website. I mean, I gotta follow the official stuff.

I just think it's very weird that the log is not showing as it's supposed to show the same thing from your console output.
[Google Chromecast] Budius:
regarding raspberry Pi.

I just found the official compilation guide and I'll give it a try.

https://trac.ffmpeg.org/wiki/How to compile FFmpeg for Raspberry Pi (Raspbian)

I'll see how the performance is etc.

It will obviously be worse than in a full PC, but maybe the pre-build bins I used before were not very well done, and if it can achieve a bare minimum it could be a good running as a daemon so every new file added to a certain folder gets auto-converted.

I mean, if 1 off, 2 hous movie takes 5-6 hours to convert, it's ok. I still believe that tera-bytes conversion would be too slow, but as daemon.
[Google Chromecast] nigelhealy:
Well that is your feedback, make it remove re-coding that which actually works on Chromecast, it will save hours of recoding.
[Google Chromecast] Budius:
it does make sense, but also means I have to go ahead and test a bunch of variations to see what works and what doesn't.

I mean, I agree with you, it's a improvement, and I'll put in the TODO list, it might just take a bit to happen :silly:
[Google Chromecast] bhiga:
Report (the triangle) it under General thread/post maintenance and ask mod to delete it.
[Google Chromecast] paracha3:
Dear OP,

I tried converting a mkv file using your converter and at the end of conversion it created a mp4 file but message said that it failed. When i played the converted mp4 file on my PC, it plays video but no audio? any idea whey the audio is not playing back? I did not try on chromecast yet but i assume the audio wont play on it either.

Thoughts? Thanks
[Google Chromecast] Budius:
the conversion uses a two-pass method for best quality.

1st pass is only processing the video and doesn't even look at the audio. On the 2nd pass the audio is added/processed.

The video you got without audio is the result of the 1st pass, and the 2nd pass never executed because it failed.

My guess is that your compilation of FFMPEG does not have libfdk_aac (the audio library used for conversion keeping the best quality possible).

Unfortunately this library is tagged as "-non-free" so you can't just download from somewhere. It's illegal to do so. You have to follow the guide here https://trac.ffmpeg.org/wiki/CompilationGuide to compile the library yourself on your PC..

As I said before, I really wished it would be more user-friendly. But that's out of my control.

Probably in a future version I'll try to detect if this library is available and if it's not use the native one, that renders a not so great quality, but at least works in all cases.
[Google Chromecast] paracha3:
Thanks. Is there a compiled binary for windows 7 available? so i dont have to go through self compilation step?

Update: Just read "License restrictions prohibit distribution of already compiled FFmpeg with libfdk-aac, so if I want to use it I must make my own build of FFmpeg."
[Google Chromecast] Budius:
as I said. The libfdk_aac is proprietary (a.k.a.: -non-free), so it's illegal for people to distribute it pre-compiled.

It's probably possible to Google and find it, but the compilation guides are very well explained in my opinion.

Just remember to compile with libfdk_aac and with x264 codecs.
[Google Chromecast] Budius:
Although it seems to be working very reliably, the software is still a bit rough around the edges. I'll try in a future version to check for what is available, for example, if libfdk_aac is not there I can use MP3 instead.
[Android Q&A, Help & Troubleshooting] Crown Clown:
hi

i'm new and this is my first post in XDA

many thanks of all of dev to cooking and building the custom ROM , I've always use all of those to many of device and i start huawei device flashing and i think it's good idea to create a section of huawei device for all user's

thanks and sorry for my bad english
[Sony Xperia T, TL, TX, V] Rken09:
hello everyone.. can someone help me on my xperia tx lt29i 4.3deodex jelly bean..

i want make my external sd cad a default storage for when im installing apps..

or use my external sd card as an internal memory of my phone..

thanks!
[Sony Xperia T, TL, TX, V] arturiu:
Regarding default app install location, this guide has worked for me in the past.
[Nexus 5 Themes and Apps] alen1901:
"Vision" layer - my own version of android Lollipop

DATE OF LATEST UPDATE

: 11.05.2015

CHANGELOGS are in 2nd post!

This is NOT vr-theme, and its NOT a theme chooser theme, this is a LAYER theme for HAMMERHEAD (Nexus 5) devices.

DOWNLOAD link

:

https://www.dropbox.com/s/yge85ucc06bk017/Vision Layers_v4.6.zip?dl=0

What's themed

:

- Clock/alarm app

- Keep

- Google messenger

- Google keyboard

- Hangouts

- Gmail

- Calculator

- Instagram

- Tapatalk

- Root Explorer

- Youtube

- Settings

- Framework

- SystemUI

Working on (as far as i know)

:

- Purity

- Cataclysm

- Xenon

- AOSP?

NOTES:

*MAKE BACKUP, it is a good idea to prevent loosing your stuff.

*if you have some other layer installed, this might not work, it could look strange and could make your device bootloop.

*if you find any problems, or you have any suggestions, please report and say, i will gladly consider any idea, but be prepared to hear a NO too.

*this is zip layer with preview images in there so you can see what you are applying and you dont have to apply it one by one

*if you want a support for your rom, please ask and ill see what i can do

*this layers are tested only on Cataclysm rom by me

INSTRUCTIONS:

Just use Layers Manager app to apply my layers.

Dont forget to PRESS THANKS button to support my work. :)

LINK to Android L bootanimation (original):

https://www.dropbox.com/s/vfj0q207qxw22eg/PurityLBoot.zip

LINK to Android L bootanimation (loop fade):

https://www.dropbox.com/s/u3zdem0acpbez7r/PurityLoopBoot.zip

SCREENS:

https://www.dropbox.com/sh/whvvv9r799teqo0/AAASLZBX82GwShIeLU8mAPhda?dl=0

CREDITS:

[MENTION=677805]chrishale[/MENTION] for playstation softkeys

[MENTION=6073515]BitsykoDevelopment[/MENTION] for awesome theming stuff

All XDA users

XDA community

All users of my theme
[Nexus 5 Themes and Apps] alen1901:
Changelogs

Vision v4.6 - 11.05.2015.

- Updated instagram layer to work properly on latest instagram version

Vision v4.5 - 08.05.2015.

- Themed Instagram

- InCall volume adjust phone icon to lollipop one

- Tapatalk blue into material blue

- Keyboard settings into material blue

- Incoming call contact picture transparency increased (you can see picture more clearly)

- Make volume expand arrow bigger on Purity ROM

- QS brightness slider matched to volume sliders (we know in qs there is only a brightness slider, no volume slider there)

- Removed Layers Manager theme

- Theme screenshots are updated too

Vision v4.0 - 03.04.2015.

- themed gmail

- fixed root explorer icons

- themed keep

- reduced framework and calculator layers to one

- themed layer manager

- themed youtube

- separated playstation and stock softkeys

Vision v2.5 - 26.02.2015.

- added xenon rom icons

- themed superSU icon

- google music player notification is little brighter now

- playstation navbar icons are now separated

Vision v1.0 - 23.02.2015.

- first release

.
[Nexus 5 Themes and Apps] alen1901:
BUGS and REVERT to STOCK look

BUGS

:

-non for now

.
[Nexus 5 Themes and Apps] lezzi:
changed settings background to grayish

what does it mean? I'm on purity, settings background is already gray as stock google

a hint: maybe turn it to white?
[Nexus 5 Themes and Apps] alen1901:
It should ne only one color (grayish or brownish). Screen attached. And i wont make it white because there are some bugs with it (white on white).

Sent from Pure Nexus 5
[Nexus 5 Themes and Apps] iburnhearts:
I like your vision :)
[Nexus 5 Themes and Apps] alen1901:
Thanks, im working on a black theme right now, maybe ill release it before next purity rom update. Stay tuned. ;)

Sent from Pure Nexus 5
[Nexus 5 Themes and Apps] alen1901:
Black theme updated for latest hammerhead purity 22/03 !!

link is below. enjoy! :)

NOTE:

keep in mind that i didnt test this theme, if you have any problems please report.

dont forget to PRESS THANKS button if you like it. :)

LINK:

https://www.dropbox.com/s/wlh5a1139znlpqs/HammerPurity2203Black.zip

EDIT: revert to stock zip and bugs updated on 3rd post.

.
[Nexus 5 Themes and Apps] Tex99:
Very happy to see you here from nexus 4 ;) I appreciated your work!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Themes and Apps] alen1901:
Purity FTW. :D

Sent from Pure Nexus 5
[Nexus 5 Themes and Apps] Tex99:
installed black version. I had some mod by candyshop (icons for status bar, lockring, softkeys, black scrubber). It's all black but there aren't nav bar and status bar. It 's better to flash first the theme and then some mod by candyshop (file with aroma) or are not compatible ? thank you
[Nexus 5 Themes and Apps] alen1901:
Theme is not compatible with other mods, you can try: flash theme, reboot phone, flash mod, but im not sure it would work.

Sent from Pure Nexus 5
[Nexus 5 Themes and Apps] Tex99:
azz I'll try. I read that you don't want to make a vrtheme, I understand it but....think about it a bit :D:D:D always only for purity, so you'll not receive bug about other rom. Sorry for the inopportune suggestion :) btw thanks for attention :good:
[Nexus 5 Themes and Apps] alen1901:
Nah, i preffer this way because i test it this way and its easier to control changes. It will stay that way. ;)

Sent from Pure Nexus 5
[Nexus 5 Themes and Apps] eep2378:
Love the black theme! Nice job [MENTION=3579148]alen1901[/MENTION]

Sent from my Nexus 5
[Nexus 5 Themes and Apps] alen1901:
Im glad you like it. there is also a thanks button. ;)

Sent from Pure Nexus 5
[Nexus 5 Themes and Apps] ReynaldoH:
Screens look awesome! Quick question, is the circle battery mod obligatory? I prefer the stock battery icon, any way to keep it?
[Nexus 5 Themes and Apps] alen1901:
I didnt include circle battery mod, you can choose which you want in purity settings. I will include only my version of percentage one day which cannot be removed, but not for now.

Sent from Pure Nexus 5
[Nexus 5 Themes and Apps] Incredible_Culp:
So i cant install this until it gets updated to the 4/04 build, correct?

may i give a suggestion..? I havent flashed this before, but after seeing the screenies, I think itll look 'cleaner if you got rid of the divider lines in the black theme.. Much like the Black Infinitum Theme does :p

Ill be a first time flasher of Purity Rom (what kept me is the lack of theme chooser), so im really excited there's a black theme for it! After I saw this thread, I went and downloaded purity lol -- cant wait until this gets updated so i can flash :)
[Nexus 5 Themes and Apps] alen1901:
i thought about that, but removing that dividers would probably remove them on some other things too. i will check that out, but not in next update. :) also, Vision theme will be released first, always, because i use it. :P black theme usually comes the day after :)
[Galaxy S 4 Q&A, Help & Troubleshooting] sahem:
where can i find ubuntu font for galaxy s4 i9500 ??
[Galaxy S 4 Q&A, Help & Troubleshooting] benni_1994:
http://xdaforums.com/showthread.php?t=2589428

It is in the first post :)

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 Q&A, Help & Troubleshooting] sahem:
I tried this one but I was unable to dowload from the provided link ?
[Sony Xperia M] metalftw7:
I successfully downloaded the proper apk for my device but I'm getting parse error while trying to install shadowgun on my Xperia M(Android 4.3)

is there anyway to fix this?
[Sony Xperia M] fipsix:
I've got the same issue with my Xperia Tablet Z :/

Did you found any solution?
[Sony Xperia M] paper13579:
Don't post threads like this. Piracy isn't supported on xda
[Sony Xperia M] stalin.sk2:
I tried Google now launcher on 4.2.2 it also gives parse error then I Googled

it's an api level problem that means support only for 4.4.2
[Sony Xperia M] rizla2:
I played both Shadowgun and Shadowgun Deadzone on 4.3, they both work fine.
[Galaxy S 4 Q&A, Help & Troubleshooting] navid_hiphop:
dim display galaxy i9500 fater update android 4.4.2 ota ?

plz help ? how fix
[Galaxy S 4 Q&A, Help & Troubleshooting] navid_hiphop:
help ?
[Galaxy S 4 Q&A, Help & Troubleshooting] aayushkhajuria2842:
Arent the brightness adjustment working
[HTC One SV] zebidybob:
Hi, first post in this section of the forum, I have a Sensation but I have received a One SV from my friend (It is now mine), it doesn't boot but when I connect it to a pc it shows up as download mode (QPST also shows download mode)

I have found this thread for helping to find the partition tables, don't know if it will help but I am willing to do anything to help get this and anyone else's working again (if possible), as I say I have a working Sensation and I am thinking about going to get a One M8 tomorrow :) so this device is just a nice paper weight at the moment.

The other thing is I don't know what actually works e.g the screen, I think it was water damaged so I have no guarantee that anything will work I have read most of the bricked HTC threads but as no one has got a sure fire method I thought I would ask here as if it is possible to do a full system dump that I might be able to send to my device, I did want to just get a new mobo for it then sell it on but I can't find one :(

Any help would be greatly appreciated.

Edit: It is a PL80100 LTE
[HTC One SV] old.splatterhand:
We need more information, and i'm not sure what "download mode" is.

Can you boot into bootloader, then post all info from there here.
[HTC One SV] zebidybob:
No, I can't.
[Sony Xperia M] dblane79:
Hi

Im due an upgrade soon. Currently have a samsung galaxy Ace 2, which is ok. A bit sluggish but Ive rooted it and it runs ok.

This phone is in a similar price range, is it any good compared to the ace 2? or should i look for something else?

thanks
[Sony Xperia M] Trppmdm:
Pretty good phone, but the display is really bad. If you want to play subway surfers or dead trigger and similar games, it's perfect. However if you're some reckless Asphalt of GTA:SA player that doesn't remove unused apps then you will get stutters very often. If you can find a Moto G, get it! It's a steal.
[T-Mobile Samsung Galaxy S 4] RobertR3750:
I'm aware of apps such as Tasker, but it's not clear to me what they're able to do. I want to schedule actions in an app that has nothing to do with "system" functions such as changing screen brightness, turning on wifi, etc. Briefly, I want to do this automatically:

1. At time X (which can be every day), launch app Z that has nothing whatsoever to do with system settings.

2. Touch a specific button, which will take the app to another menu.

3. Touch another specific button, which causes another action.

4. Repeat steps 1 and 2 at time Y.

5. Touch a specific button that's different from the button in step 3.

How can I do this? Help is appreciated.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] jdoiv:
Did a search and didn't see a thread on this. Is is possible to set up an ad hoc wifi connection with my 8125 and my laptop then surf the web from the laptop using the phone as a modem? If so, how would I set it up? Thanks in advance...