Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (81)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11737)

  • avcodec/nvenc : unify CBR filler data insertion for all codecs

    31 mars, par Cameron Gutman
    avcodec/nvenc : unify CBR filler data insertion for all codecs
    

    Previously, AV1 used filler data with CBR by default while H.264
    and HEVC may or may not depending on driver version. Make this
    consistent by using not filler data in CBR mode for all codecs.

    Since there are valid reasons to use CBR with or without filler,
    also add a cbr_padding option to allow users to override this.

    Signed-off-by : Cameron Gutman <aicommander@gmail.com>
    Signed-off-by : Timo Rothenpieler <timo@rothenpieler.org>

    • [DH] libavcodec/nvenc.c
    • [DH] libavcodec/nvenc.h
    • [DH] libavcodec/nvenc_av1.c
    • [DH] libavcodec/nvenc_h264.c
    • [DH] libavcodec/nvenc_hevc.c
    • [DH] libavcodec/version.h
  • How to record the bluetooth audio from my phone in my pc using ffmpeg ?

    12 septembre 2023, par Juan Inzunza

    I have my phone connected via Bluetooth to my PC and playing audio in my phone so i can hear that audio in my pc and i was trying to record that audio in my PC using ffmpeg this is the command i got so far

    &#xA;

    ffmpeg -f pulse -ac 1 -ar 44100 -i alsa_input.usb-KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000--00.mono-fallback -f pulse -ac 2 -ar 44100 -i bluez_source.84_5F_04_75_B9_F6.a2dp_source -filter_complex amix=inputs=2 -i /dev/video5 -s 640x480 -vcodec libx264 -preset veryfast -crf 18 -acodec libmp3lame -ar 44100 -q:a 1 -pix_fmt yuv420p -aq 0 ~/Videos&#xA;

    &#xA;

    "bluez_source.84_5F_04_75_B9_F6.a2dp_source" is the name of the bluetooth audio source (my phone) but the problem is, if i am not playing audio on the device, just disappears when i execute this command "pactl list sources", and appears again when i play audio, so is listed when i run "pactl list sources" and i have to keep the phone playing audio so ffmpeg recognizes that device and not fail when executed.

    &#xA;

    Finally my question is how can i keep that device in running state or suspended state without need to play audio all the time.

    &#xA;

    gandalf@Mordor:~$ pactl list sources&#xA;Source #64&#xA;    State: IDLE&#xA;    Name: alsa_output.usb-KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000--00.analog-stereo.monitor&#xA;    Description: Monitor of KT USB Audio Analog Stereo&#xA;    Driver: module-alsa-card.c&#xA;    Sample Specification: s16le 2ch 44100Hz&#xA;    Channel Map: front-left,front-right&#xA;    Owner Module: 85&#xA;    Mute: no&#xA;    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB&#xA;            balance 0.00&#xA;    Base Volume: 65536 / 100% / 0.00 dB&#xA;    Monitor of Sink: alsa_output.usb-KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000--00.analog-stereo&#xA;    Latency: 0 usec, configured 2000000 usec&#xA;    Flags: DECIBEL_VOLUME LATENCY &#xA;    Properties:&#xA;        device.description = "Monitor of KT USB Audio Analog Stereo"&#xA;        device.class = "monitor"&#xA;        alsa.card = "1"&#xA;        alsa.card_name = "KT USB Audio"&#xA;        alsa.long_card_name = "KTMicro KT USB Audio at usb-0000:03:00.3-3, full speed"&#xA;        alsa.driver_name = "snd_usb_audio"&#xA;        device.bus_path = "pci-0000:03:00.3-usb-0:3:1.0"&#xA;        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-3/1-3:1.0/sound/card1"&#xA;        udev.id = "usb-KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000--00"&#xA;        device.bus = "usb"&#xA;        device.vendor.id = "12d1"&#xA;        device.vendor.name = "Huawei Technologies Co., Ltd."&#xA;        device.product.id = "0010"&#xA;        device.product.name = "KT USB Audio"&#xA;        device.serial = "KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000-"&#xA;        device.string = "1"&#xA;        module-udev-detect.discovered = "1"&#xA;        device.icon_name = "audio-card-usb"&#xA;    Formats:&#xA;        pcm&#xA;&#xA;Source #65&#xA;    State: SUSPENDED&#xA;    Name: alsa_input.usb-KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000--00.mono-fallback&#xA;    Description: KT USB Audio Mono&#xA;    Driver: module-alsa-card.c&#xA;    Sample Specification: s16le 1ch 44100Hz&#xA;    Channel Map: mono&#xA;    Owner Module: 85&#xA;    Mute: no&#xA;    Volume: mono: 65536 / 100% / 0.00 dB&#xA;            balance 0.00&#xA;    Base Volume: 65536 / 100% / 0.00 dB&#xA;    Monitor of Sink: n/a&#xA;    Latency: 0 usec, configured 0 usec&#xA;    Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY &#xA;    Properties:&#xA;        alsa.resolution_bits = "16"&#xA;        device.api = "alsa"&#xA;        device.class = "sound"&#xA;        alsa.class = "generic"&#xA;        alsa.subclass = "generic-mix"&#xA;        alsa.name = "USB Audio"&#xA;        alsa.id = "USB Audio"&#xA;        alsa.subdevice = "0"&#xA;        alsa.subdevice_name = "subdevice #0"&#xA;        alsa.device = "0"&#xA;        alsa.card = "1"&#xA;        alsa.card_name = "KT USB Audio"&#xA;        alsa.long_card_name = "KTMicro KT USB Audio at usb-0000:03:00.3-3, full speed"&#xA;        alsa.driver_name = "snd_usb_audio"&#xA;        device.bus_path = "pci-0000:03:00.3-usb-0:3:1.0"&#xA;        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-3/1-3:1.0/sound/card1"&#xA;        udev.id = "usb-KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000--00"&#xA;        device.bus = "usb"&#xA;        device.vendor.id = "12d1"&#xA;        device.vendor.name = "Huawei Technologies Co., Ltd."&#xA;        device.product.id = "0010"&#xA;        device.product.name = "KT USB Audio"&#xA;        device.serial = "KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000-"&#xA;        device.string = "hw:1"&#xA;        device.buffering.buffer_size = "176400"&#xA;        device.buffering.fragment_size = "88200"&#xA;        device.access_mode = "mmap&#x2B;timer"&#xA;        device.profile.name = "mono-fallback"&#xA;        device.profile.description = "Mono"&#xA;        device.description = "KT USB Audio Mono"&#xA;        module-udev-detect.discovered = "1"&#xA;        device.icon_name = "audio-card-usb"&#xA;    Ports:&#xA;        analog-input-mic: Microphone (type: Mic, priority: 8700, availability unknown)&#xA;    Active Port: analog-input-mic&#xA;    Formats:&#xA;        pcm&#xA;&#xA;Source #68&#xA;    State: RUNNING&#xA;    Name: bluez_source.84_5F_04_75_B9_F6.a2dp_source&#xA;    Description: Juan&#x27;s S20 FE&#xA;    Driver: module-bluez5-device.c&#xA;    Sample Specification: s16le 2ch 44100Hz&#xA;    Channel Map: front-left,front-right&#xA;    Owner Module: 23&#xA;    Mute: no&#xA;    Volume: front-left: 53151 /  81% / -5.46 dB,   front-right: 53151 /  81% / -5.46 dB&#xA;            balance 0.00&#xA;    Base Volume: 65536 / 100% / 0.00 dB&#xA;    Monitor of Sink: n/a&#xA;    Latency: 68928 usec, configured 68537 usec&#xA;    Flags: HARDWARE DECIBEL_VOLUME LATENCY &#xA;    Properties:&#xA;        bluetooth.protocol = "a2dp_source"&#xA;        bluetooth.codec = "sbc"&#xA;        device.description = "Juan&#x27;s S20 FE"&#xA;        device.string = "84:5F:04:75:B9:F6"&#xA;        device.api = "bluez"&#xA;        device.class = "sound"&#xA;        device.bus = "bluetooth"&#xA;        device.form_factor = "phone"&#xA;        bluez.path = "/org/bluez/hci0/dev_84_5F_04_75_B9_F6"&#xA;        bluez.class = "0x5a020c"&#xA;        bluez.alias = "Juan&#x27;s S20 FE"&#xA;        device.icon_name = "audio-card-bluetooth"&#xA;    Ports:&#xA;        phone-input: Phone (type: Phone, priority: 0, available)&#xA;    Active Port: phone-input&#xA;    Formats:&#xA;        pcm&#xA;

    &#xA;

    This is the error i am getting when there's no playing audio in my phone.

    &#xA;

    ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;  libavutil      56. 70.100 / 56. 70.100&#xA;  libavcodec     58.134.100 / 58.134.100&#xA;  libavformat    58. 76.100 / 58. 76.100&#xA;  libavdevice    58. 13.100 / 58. 13.100&#xA;  libavfilter     7.110.100 /  7.110.100&#xA;  libswscale      5.  9.100 /  5.  9.100&#xA;  libswresample   3.  9.100 /  3.  9.100&#xA;  libpostproc    55.  9.100 / 55.  9.100&#xA;Guessed Channel Layout for Input Stream #0.0 : mono&#xA;Input #0, pulse, from &#x27;alsa_input.usb-KTMicro_KT_USB_Audio_2021-06-25-0000-0000-0000--00.mono-fallback&#x27;:&#xA;  Duration: N/A, start: 1694557964.268337, bitrate: 705 kb/s&#xA;  Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s&#xA;bluez_source.84_5F_04_75_B9_F6.a2dp_source: Input/output error&#xA;&#xA;

    &#xA;

  • why am i getting very low encoding bitrate using vaapi in ffmpeg

    19 janvier 2021, par ohroblot

    I am using this command :

    &#xA;

    ffmpeg -y \&#xA;-vaapi_device /dev/dri/renderD128 \&#xA;-loop 1 -r 1 -i ./image.jpg -pix_fmt vaapi_vld \                                          &#xA;-b:v 18000k -minrate 18000k \&#xA;-vf &#x27;format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720&#x27; \ &#xA;-rc_mode 3 \&#xA;-r 30 -g 60 \&#xA;-c:v h264_vaapi -f flv /dev/null&#xA;

    &#xA;

    I am getting very low bitrate with this, the bitrate is as low as 100Kbits/s. I get faster encoding using libx264 and my cpu. Is it an underpowered GPU ? am I missing some ffmpeg arguments ?

    &#xA;

    I am not sure what's going on, could this be an issue with linux, mesa drivers, did i miss some options when I compiled ffmpeg ?

    &#xA;

    vainfo

    &#xA;

    error: can&#x27;t connect to X server!&#xA;libva info: VA-API version 1.8.0&#xA;libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so&#xA;libva info: Found init function __vaDriverInit_1_8&#xA;libva info: va_openDriver() returns 0&#xA;vainfo: VA-API version: 1.8 (libva 2.8.0)&#xA;vainfo: Driver version: Mesa Gallium driver 20.2.6 for AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.38.0, 5.8.0-7630-generic, LLVM 11.0.0)&#xA;vainfo: Supported profile and entrypoints&#xA;      VAProfileMPEG2Simple            : VAEntrypointVLD&#xA;      VAProfileMPEG2Main              : VAEntrypointVLD&#xA;      VAProfileVC1Simple              : VAEntrypointVLD&#xA;      VAProfileVC1Main                : VAEntrypointVLD&#xA;      VAProfileVC1Advanced            : VAEntrypointVLD&#xA;      VAProfileH264ConstrainedBaseline: VAEntrypointVLD&#xA;      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice&#xA;      VAProfileH264Main               : VAEntrypointVLD&#xA;      VAProfileH264Main               : VAEntrypointEncSlice&#xA;      VAProfileH264High               : VAEntrypointVLD&#xA;      VAProfileH264High               : VAEntrypointEncSlice&#xA;      VAProfileHEVCMain               : VAEntrypointVLD&#xA;      VAProfileHEVCMain               : VAEntrypointEncSlice&#xA;      VAProfileHEVCMain10             : VAEntrypointVLD&#xA;      VAProfileJPEGBaseline           : VAEntrypointVLD&#xA;      VAProfileNone                   : VAEntrypointVideoProc&#xA;

    &#xA;

    ffmpeg -buildconf

    &#xA;

    ffmpeg version N-100671-gc48110a4a4 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 10 (Ubuntu 10.2.0-13ubuntu1)&#xA;  configuration: --prefix=/home/_user/Dev/ffmpeg_build/build --extra-cflags=&#x27;-I/home/_user/Dev/ffmpeg_build/build/include -I/usr/include&#x27; --extra-ldflags=&#x27;-L/home/_user/Dev/ffmpeg_build/build/lib -L/home/_user/Dev/ffmpeg_build/build/lib/x86_64-linux-gnu -Wl,-rpath=/home/_user/Dev/ffmpeg_build/build/lib/x86_64-linux-gnu -ldrm -L/usr/lib&#x27; --pkg-config-flags=--static --extra-libs=&#x27;-lpthread -lm&#x27; --bindir=/home/_user/Dev/ffmpeg_build/bin --arch=amd64 --disable-shared --disable-ffprobe --disable-ffplay --disable-gnutls --enable-openssl --enable-zlib --enable-librtmp --enable-static --enable-chromaprint --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-vdpau --enable-ladspa --enable-libaom --enable-libbs2b --enable-libcaca --enable-libcodec2 --enable-libdav1d --enable-libfontconfig --enable-libfribidi --enable-libgme --enable-libopenjpeg --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-libass --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librabbitmq --enable-libvorbis --enable-libvpx --enable-libflite --enable-chromaprint --enable-frei0r&#xA;  libavutil      56. 63.101 / 56. 63.101&#xA;  libavcodec     58.117.101 / 58.117.101&#xA;  libavformat    58. 65.101 / 58. 65.101&#xA;  libavdevice    58. 11.103 / 58. 11.103&#xA;  libavfilter     7. 96.100 /  7. 96.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;&#xA;  configuration:&#xA;    --prefix=/home/_user/Dev/ffmpeg_build/build&#xA;    --extra-cflags=&#x27;-I/home/_user/Dev/ffmpeg_build/build/include -I/usr/include&#x27;&#xA;    --extra-ldflags=&#x27;-L/home/_user/Dev/ffmpeg_build/build/lib -L/home/_user/Dev/ffmpeg_build/build/lib/x86_64-linux-gnu -Wl,-rpath=/home/_user/Dev/ffmpeg_build/build/lib/x86_64-linux-gnu -ldrm -L/usr/lib&#x27;&#xA;    --pkg-config-flags=--static&#xA;    --extra-libs=&#x27;-lpthread -lm&#x27;&#xA;    --bindir=/home/_user/Dev/ffmpeg_build/bin&#xA;    --arch=amd64&#xA;    --disable-shared&#xA;    --disable-ffprobe&#xA;    --disable-ffplay&#xA;    --disable-gnutls&#xA;    --enable-openssl&#xA;    --enable-zlib&#xA;    --enable-librtmp&#xA;    --enable-static&#xA;    --enable-chromaprint&#xA;    --enable-gpl&#xA;    --enable-libass&#xA;    --enable-libfdk-aac&#xA;    --enable-libfreetype&#xA;    --enable-libmp3lame&#xA;    --enable-libopus&#xA;    --enable-libvorbis&#xA;    --enable-libvpx&#xA;    --enable-libx264&#xA;    --enable-libx265&#xA;    --enable-nonfree&#xA;    --enable-vdpau&#xA;    --enable-ladspa&#xA;    --enable-libaom&#xA;    --enable-libbs2b&#xA;    --enable-libcaca&#xA;    --enable-libcodec2&#xA;    --enable-libdav1d&#xA;    --enable-libfontconfig&#xA;    --enable-libfribidi&#xA;    --enable-libgme&#xA;    --enable-libopenjpeg&#xA;    --enable-librsvg&#xA;    --enable-librubberband&#xA;    --enable-libshine&#xA;    --enable-libsnappy&#xA;    --enable-libsoxr&#xA;    --enable-libspeex&#xA;    --enable-libsrt&#xA;    --enable-libssh&#xA;    --enable-libtheora&#xA;    --enable-libtwolame&#xA;    --enable-libvidstab&#xA;    --enable-libwebp&#xA;    --enable-libxml2&#xA;    --enable-libxvid&#xA;    --enable-libzmq&#xA;    --enable-libzvbi&#xA;    --enable-lv2&#xA;    --enable-omx&#xA;    --enable-openal&#xA;    --enable-opencl&#xA;    --enable-opengl&#xA;    --enable-sdl2&#xA;    --enable-pocketsphinx&#xA;    --enable-libdc1394&#xA;    --enable-libdrm&#xA;    --enable-libiec61883&#xA;    --enable-libass&#xA;    --enable-libfreetype&#xA;    --enable-libgsm&#xA;    --enable-libmp3lame&#xA;    --enable-libmysofa&#xA;    --enable-libopenjpeg&#xA;    --enable-libopenmpt&#xA;    --enable-libopus&#xA;    --enable-librabbitmq&#xA;    --enable-libvorbis&#xA;    --enable-libvpx&#xA;    --enable-libflite&#xA;    --enable-chromaprint&#xA;    --enable-frei0r&#xA;

    &#xA;

    a link to full logs : http://0x0.st/-i2j.txt

    &#xA;