Playing video on PEPPER's tablet using Choregraphe - nao-robot

Whenever I try to play a video (on PEPPERS tablet), that is locally saved, I encounter the following problem - on the PEPPER's tablet the error message "Video could not be played" is displayed. I am using Choregraphe and its standard 'play video' box.
Here is a screenshot of the project
EDITED
I think the problem may occur because:
The path to the video is not set correctly, but I highly doubt this is the case.
The video formats I have tested are mp4 and mov, that are converted from random youtube videos.
So my question is why the video can not be played on the PEPPER's tablet this way?

Try with just the name my_video.mp4 as parameter, no quote or "/".
Recommended format is mp4 container, video codec H.264, audio codec AAC...
Also, disconnect the output, otherwise as soon as you video starts, it will be required to stop ;-)

Related

Chromium Embedded Framework cannot access system audio with getDisplayMedia

Is it possible to capture system screen & audio with chromium embedded framework using getUserMedia or getDisplayMedia? I've managed to get a video only stream of the system so far, but i cannot get audio capture to work.
In standard Chrome you can get the system audio by using:
navigator.mediaDevices.getDisplayMedia({ video: true, audio: true })
This results in a popup where you can tick a checkbox to enable audio capture. The stream has an audio track labeled as "System Audio".
In cef this popup-dialog does not exist (but can be skipped using a launch-config flag). When calling getDisplayMedia in the web-application, you get an audio track aswell, but the track is labeled as "Fake audio". It seems that this track is actually the sound of a microphone and not the system audio.
Any idea why this does not work? Is it actually implemented in the Cef core? I wasn't able to find any info on this. Thanks in advance!
This is supported with the Chrome runtime.
Run your app with the key --enable-chrome-runtime or set chrome_runtime CEF setting to true (1).

It rcording but recorded video is not playin.it gives the error "moov data not found",plese help me to solve this

I am working on gstreamer. I need to capture the video from a web cam and store as a specific .mp4 file. For this I developed an application, it works fine for capturing recording and playing. But if I press the ctrl+c signal, it records but the recorded video does not play. It gives the error "moov data not found". I searched that error in google. I got the what is the problem but I don't know how to solve it. please help me to solve this
MP4 files or not be introupted while recording. They need need to be cleanly closed (ie write the moov box). Eaither shut down the stream cleanly (not cancel via ctrl c) or use a streamable format like flv, and remix to MP4 as a post processing step.

Create a binary file extension reader for mobile

It is an ancient binary file extension, actually a video file created by Inter-Tel Web Conference software. It contains a screen recording video and voice audio, and also can capture the keyboard chat log, attendees and the document manager window during a conference. It can be played with Inter-Tel Collaboration Player, a standalone application included with the Web Conference software package.
What I am trying to do now is finding a way to play these files on mobile, although Inter-Tel Collaboration Player offers exporting the files in AVI format, I want to know how to make a command line script for that because the application have lots of problems with Windows 7,8,10 and don't have a Mac OS version.
What is the way to create a new player for that kind of extensions?
"Linktivity stopped support on this app, http://linktivity.com even disappeared from the web..."
It seems they were bought out by Mitel Software so now everything is under the Mitel brand name.
"I just want to find a way to manipulate this file extension, a new good player for mobile and computer"
To open/edit those .lrec files with modern software you'll have to look at their :
Collaboration products.
Unified Communication products.
I tried :
To contact them just to double-check facts but they expect a realtime phone conversation with a salesperson so it wasn't an option. I'd be a fake potential customer, but you can provide a real-world issue (with background details) to see if they can solve it.
Also downloaded for Android the MiCollab app but it needs login details before even starting anything (so no progress to just check if an .lrec file from PC would open within Android).
Export videos for mobile playback :
I've tried the desktop software. Unfortunately it does not accept external commands so there is no way to make a script that takes multiple lrecs and gives back multiple AVI.
The only option is to extract frames from .lrec bytes and use a tool like FFmpeg to combine the images (since appears to do image grabs as frames) into one .MP4 video. MP4 is then playable on mobile devices.
Also any of your existing AVI files should be converted with FFmpeg to MP4.
You can download FFmpeg for Windows here (just the big blue button, ignore other options).
Copy the ffmpeg.exe file to some folder like c:\ffmpeg and put your avi's there.
Now open Command prompt and do cd C:\ffmpeg to reach folder, then type : ffmpeg -i filename.avi filename.mp4 (replace filename with preferred for input and output)
If you know how, just include ffmpeg.exe path to Control Panel PATH settings so that FFmpeg can be accessed from any folder (no need to move files to its own folder).
PS:
I am still researching how to get the frames it's an akward format without the specs (bytes order is Big Endian but then entry values are filled as Little Endian, then also not sure whether to reverse every two or four bytes cos it's mixed up like that etc and the pixel bytes themselves seem to have compression but it's not JPEG more like ZIP or whatever). Only confirmed bytes so far are for video width and video height. It seems doable though if the .lrec only contains screen recordings.
After some research, I found that Media Player Classic can play .lrec files. I don't know, if this helps you a bit.
For a own video player for your company, you would need the encoding infos or a decoder directly from Inter-Tel since they own the licences, without it you can't create one.
Edit: Deprecated info see comments.

Can I play mpga auido in ios?

I want to play one media stream by MPMoviePlayer, it can play h264 video but there is no sound output. I want to know is there any framework can handle the mpga audio ?
I can play it by VLC and got the media information as follow:
Apple's documentation states that MPMoviePlayerController can play any audio file that iOS supports natively.
But unfortunately for you, "mpga" format is not one of the audio file formats supported natively in iOS.
You're going to have to find a way to convert the "mpga" track to something iOS can use.
MPGAs files are basically mp3 but AvPlayer can't play them due to its file extension .
you can change file extention to mp3 easily and then player will work and can play the file.

WP7 MediaElement download problems

I'm running into problems on the WP7 with MediaElement downloading a 128kbps mp3 stream from a web service for a music player app that i'm working on. The file downloads correctly when the wp7 is on a wifi connection, but downloading sometimes stops when off of wifi. The problem is that i'm not getting any errors or exceptions when the downloading fails and the MediaElement state is "playing". MediaElement runs right past the downloaded portion of the stream and acts like it is playing, but there is nothing to play since the download stopped. I can somewhat replicate this issue based upon my location and using the 3g instead of wifi, so i believe it is due to a low connection. I don't believe any code needs to be shown in this instance, but i try to post something. I want to know if I have any control over this? Are there any other events I could use to detect when the download has failed? Is there another way I could download a mp3 stream that is more reliable and play it? Is there another player/component I should try?
Thanks in advance
You could always use MediaStreamSource to try to handle the download and implement streaming, to some extent. It is a more "painful" way of doing this since you will have to work with an extra media layer, but it pays off by improving playback stability.
Here is a starter example by Tim Heuer. Take a look specifically at how he takes advantage of a custom implementation of MediaStreamSource. Here is a more complex sample.
If streaming is not a requirement, you could download the file (and store it in the Isolated Storage) and then play from there.

Resources