mplayer

Error getting video thumbnails with mplayer in loop

空扰寡人 提交于 2020-01-06 14:06:24
问题 I need to get video thumbnails with mplayer using a loop, but mplayer gives me error. However the same command works fine out of the loop How do I prevent my command is affected by the loop? I've tried to encapsulate in a sub-shell or redirected stdin / stdout ... but I fail This is the code while read video; do .... mplayer -ss 60 -nosound -vo jpeg -frames 1 "$video" done < video_list.txt output mplayer ...... No bind found for key '~'. No bind found for key 'l'. No bind found for key 'b'.

Error getting video thumbnails with mplayer in loop

随声附和 提交于 2020-01-06 14:05:55
问题 I need to get video thumbnails with mplayer using a loop, but mplayer gives me error. However the same command works fine out of the loop How do I prevent my command is affected by the loop? I've tried to encapsulate in a sub-shell or redirected stdin / stdout ... but I fail This is the code while read video; do .... mplayer -ss 60 -nosound -vo jpeg -frames 1 "$video" done < video_list.txt output mplayer ...... No bind found for key '~'. No bind found for key 'l'. No bind found for key 'b'.

Address of a Global Variable in the Heap Address Range

假装没事ソ 提交于 2020-01-02 10:22:21
问题 I was debugging the MPlayer-1.3.0 source code, and I saw a global variable whose address (returned by GDB or even simple printing) was in the range for the heap allocations, instead of the data section. I checked the heap range using procfs . 555555554000-555555834000 r-xp 00000000 08:12 798876 /usr/bin/mplayer 555555a33000-555555b25000 r--p 002df000 08:12 798876 /usr/bin/mplayer 555555b25000-555555b2b000 rw-p 003d1000 08:12 798876 /usr/bin/mplayer 555555b2b000-555556479000 rw-p 00000000 00

Re-sampling H264 video to reduce frame rate while maintaining high image quality

情到浓时终转凉″ 提交于 2019-12-31 08:28:21
问题 Here's the mplayer output for a video of interest: br@carina:/tmp$ mplayer foo.mov mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing foo.mov. libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid

rtsp stream capturing

北慕城南 提交于 2019-12-29 14:16:32
问题 I'm looking for some universal way to dump rtsp stream. I want to figure out, that some rtsp stream is working well and server is sending some watchable video. openRTSP At first, google recommends me openRTSP tool. openRTSP -4 ${stream_link} > ${output_file} But output video file dumped by that tool is not really correct. Video decoder (ffdec) returns many errors like "Failed to decode video packet" and "[h264] no frame!", which don't suit me. ffmpeg Then I've tried to dump rtsp stream with

rtsp stream capturing

时光怂恿深爱的人放手 提交于 2019-12-29 14:14:48
问题 I'm looking for some universal way to dump rtsp stream. I want to figure out, that some rtsp stream is working well and server is sending some watchable video. openRTSP At first, google recommends me openRTSP tool. openRTSP -4 ${stream_link} > ${output_file} But output video file dumped by that tool is not really correct. Video decoder (ffdec) returns many errors like "Failed to decode video packet" and "[h264] no frame!", which don't suit me. ffmpeg Then I've tried to dump rtsp stream with

MPlayer – changing ‘ao=’ codec order in mplayer.conf does not appear to work for per user config?

为君一笑 提交于 2019-12-25 17:16:29
问题 Quoting mplayer.conf: " Configuration files are read system-wide from /etc/mplayer/mplayer.conf and per user from ~/.mplayer/config, where per-user settings override system-wide settings, all of which are overrriden by the command line." However, changing the order of audio codec so that 'alsa' is first in user config file does not appear to work. My preference is to leave the /etc/mplayer/mplayer.conf file as is and make changes to the mplayer.conf file in ~/.mplayer/config Using the

MPlayer – changing ‘ao=’ codec order in mplayer.conf does not appear to work for per user config?

孤街醉人 提交于 2019-12-25 17:15:31
问题 Quoting mplayer.conf: " Configuration files are read system-wide from /etc/mplayer/mplayer.conf and per user from ~/.mplayer/config, where per-user settings override system-wide settings, all of which are overrriden by the command line." However, changing the order of audio codec so that 'alsa' is first in user config file does not appear to work. My preference is to leave the /etc/mplayer/mplayer.conf file as is and make changes to the mplayer.conf file in ~/.mplayer/config Using the

QRubberBand and MPlayer in QLabel

偶尔善良 提交于 2019-12-25 07:46:46
问题 I have already tried many solution that are provided on stackoverflow to make it transparent. I want to make QRubberBand transparent and i am also facing problem regarding that green color which is due to mplayer. #include "physician.h" #include "ui_physician.h" Physician::Physician(QWidget *parent) : QMainWindow(parent), ui(new Ui::Physician) { ui->setupUi(this); ui->sendROIButton->setStyleSheet( "background-color: #d9d9d9;" "border-radius: 10px;" "color: Black; " "font-size: 15px;" ); }

Play m4a in python script with mplayer

六眼飞鱼酱① 提交于 2019-12-13 19:50:35
问题 I'm posting to a URL, downloading an audio file (m4a) and trying to play it from the terminal with a Python script. When I type mplayer asdf.m4a in the terminal it plays fine. But when I execute the following code from mplayer import Player player = Player() player.loadfile('asdf.m4a') as shown in the mplayer guide, I get the following errors: mplayer: could not connect to socket mplayer: No such file or directory I've been trying to figure this out for a couple days now and it seems like it