CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 12:02:52 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=309.518923,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=862.498195,issue_conversation_sidebar-fragment;desc="issue_conversation_sidebar fragment";dur=63.264379,nginx;desc="NGINX";dur=0.771252,glb;desc="GLB";dur=101.619171
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: 321f992
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=03L9g3BTKLoVmHk2J%2F16dX%2F2aOI2ZUyggnWouOoeoJbD7fVuO2TaP9oqyQuCML%2BWp1sLzAuNlzLYlhmo45gd4crnqSSHhBBIxSYyU15vVIadMvZOZP81lKLLl%2Bb6M9RStX8%2FN%2FC0JK86U9V2X%2BBTfP8enpkVSASmhRGmFtfvLRBIJtExRA%2Boqjcrx9yLWoASC3I8Tr7mHX7WcHV3Jj4fXOj4H2TkbclueOhN6mZdYGM68Jc9ZBHEBal0uyC0bFhTVOB%2B%2F4vut5%2FX%2F0Gy0HOoig%3D%3D--pk6EAI099ek9nzhn--%2BQwpcazM%2FyJ4hHl%2FzLd0fg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1196466068.1753876971; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 12:02:51 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 12:02:51 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E2CE:397358:199B254:1E70591:688A09EB
Unable to transcode mkv to mp4 on Debian Jessie · Issue #231 · PHP-FFMpeg/PHP-FFMpeg · GitHub

No one assignedNo typeNo projectsNo milestoneNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 901
Open
Labels
Description
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Version Used | 0.6.1 |
FFmpeg Version | avconv version 11.7-6:11.7-1~deb8u1 |
OS | Debian 8.0.4 Jessie: Linux storage 3.16.0-4-amd64 1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux |
PHP-Version | PHP 7.0.8-1~dotdeb+8.1 (cli) ( NTS ) |
Actual Behavior
PHP-FFMpeg is sending me a PHP Fatal Error.
PHP Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffmpeg failed to execute command '/usr/bin/avconv' '-y' '-i' '/media/disk/git/video-encoding/videos/test.mkv' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes579341d3262b8kkw4s/pass-579341d32643e' '/media/disk/git/video-encoding/test-X264.mp4' in /media/disk/git/video-encoding/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:100
Stack trace:
#0 /media/disk/git/video-encoding/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php(72): Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(''/usr/bin/avcon...')
#1 /media/disk/git/video-encoding/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(209): Alchemy\BinaryDriver\ProcessRunner->run(Object( in /media/disk/git/video-encoding/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/Video.php on line 168
As I'm executing the command PHP-FFMpeg ran on the console I see that avconv is complaining about the audio-encoder libfaac.
avconv version 11.7-6:11.7-1~deb8u1, Copyright (c) 2000-2016 the Libav developers
built on Jun 12 2016 21:51:35 with gcc 4.9.2 (Debian 4.9.2-10)
Input #0, matroska,webm, from '/media/disk/git/video-encoding/videos/test.mkv':
Metadata:
title : Test
Duration: 01:45:28.41, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 340.833000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 340.833000, end 668.292000
Metadata:
title : 00:05:40.833
Chapter #0.2: start 668.292000, end 1032.917000
Metadata:
title : 00:11:08.292
Chapter #0.3: start 1032.917000, end 1354.958000
Metadata:
title : 00:17:12.917
Chapter #0.4: start 1354.958000, end 1688.792000
Metadata:
title : 00:22:34.958
Chapter #0.5: start 1688.792000, end 2050.625000
Metadata:
title : 00:28:08.792
Chapter #0.6: start 2050.625000, end 2318.333000
Metadata:
title : 00:34:10.625
Chapter #0.7: start 2318.333000, end 2693.333000
Metadata:
title : 00:38:38.333
Chapter #0.8: start 2693.333000, end 3001.583000
Metadata:
title : 00:44:53.333
Chapter #0.9: start 3001.583000, end 3366.125000
Metadata:
title : 00:50:01.583
Chapter #0.10: start 3366.125000, end 3669.292000
Metadata:
title : 00:56:06.125
Chapter #0.11: start 3669.292000, end 3989.250000
Metadata:
title : 01:01:09.292
Chapter #0.12: start 3989.250000, end 4294.542000
Metadata:
title : 01:06:29.250
Chapter #0.13: start 4294.542000, end 4621.167000
Metadata:
title : 01:11:34.542
Chapter #0.14: start 4621.167000, end 4957.375000
Metadata:
title : 01:17:01.167
Chapter #0.15: start 4957.375000, end 5262.750000
Metadata:
title : 01:22:37.375
Chapter #0.16: start 5262.750000, end 5578.417000
Metadata:
title : 01:27:42.750
Chapter #0.17: start 5578.417000, end 5871.458000
Metadata:
title : 01:32:58.417
Chapter #0.18: start 5871.458000, end 6027.542000
Metadata:
title : 01:37:51.458
Chapter #0.19: start 6027.542000, end 6328.417000
Metadata:
title : 01:40:27.542
Stream #0.0(eng): Video: h264 (High), yuv420p, 720x390 [PAR 1:1 DAR 24:13], 24 fps, 1k tbn, 48 tbc (default)
Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, fltp, 384 kb/s (default)
Unknown encoder 'libfaac'
I also ran that command with ajusted parameters ('aac' instead of 'libfaac') and got the following:
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Here is my execution log created with monolog:
[2016-07-23 10:07:14] Execution.INFO: ffprobe running command '/usr/bin/avprobe' '-help' '-loglevel' 'quiet' [] []
[2016-07-23 10:07:14] Execution.INFO: ffprobe executed command successfully [] []
[2016-07-23 10:07:14] Execution.INFO: ffprobe running command '/usr/bin/avprobe' '/media/disk/git/video-encoding/videos/test.mkv' '-show_streams' '-of' 'json' [] []
[2016-07-23 10:07:15] Execution.INFO: ffprobe executed command successfully [] []
[2016-07-23 10:07:15] Execution.INFO: ffmpeg running command '/usr/bin/avconv' '-y' '-i' '/media/disk/git/video-encoding/videos/test.mkv' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes579341d3262b8kkw4s/pass-579341d32643e' '/media/disk/git/video-encoding/test-X264.mp4' [] []
[2016-07-23 10:07:15] Execution.INFO: ffprobe running command '/usr/bin/avprobe' '/media/disk/git/video-encoding/videos/test.mkv' '-show_format' '-of' 'json' [] []
[2016-07-23 10:07:15] Execution.INFO: ffprobe executed command successfully [] []
[2016-07-23 10:07:15] Execution.ERROR: ffmpeg failed to execute command '/usr/bin/avconv' '-y' '-i' '/media/disk/git/video-encoding/videos/test.mkv' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes579341d3262b8kkw4s/pass-579341d32643e' '/media/disk/git/video-encoding/test-X264.mp4' [] []
Expected Behavior
Save my file to desired location encoded with the expected codec (H.264) in .mp4 format.
Steps to Reproduce
Transcode mkv video to .mp4 (H.264) with PHP-FFMpeg on my platform:
$this->video->save(new \FFMpeg\Format\Video\X264(), $path);
Possible Solutions
At this time now I kind of think, that PHP-FFMpeg got this "libfaac" from some kind of previous command with avprobe. If not: might some deprecated relation between AAC-codec and libfaac.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Issue actions
You can’t perform that action at this time.