Unable to play or import video files in an app that uses ffmpeg

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to play or import video files in an app that uses ffmpeg

Tim Stiles
Hello!

This is my first time posting a help question, hopefully I'm doing
it correctly.

Background: There is a Windows app called Pinball Browser. It is used to
make video and audio updates to .RAW pinball machine firmwares. Within it
has features to play videos from that firmware as well as import / replace
certain videos within. For these features to work, the app doesn't require
that the entire ffmpeg libraries be installed. It simply requires that
ffmpeg.exe and ffprobe.exe are located in its root directory.

Issue: For me specifically on my Windows 10 PC, these video playback and
import features do not work. When I select a video to play, nothing happens
(the app is supposed to have an inner window that displays the playback but
that is non-existent when I hit play). When I import I get some nasty
exceptions (See screenshots attached. I also pasted in the entire exception
log that the app spits out upon attempting to import a video .mp4 file).

I have the latest ffmpeg.exe and ffprobe.exe files/buids located in the
app's root directory. The app detects they are there but like I said
something is failing in the background when the app tries to use them for
playback or import. The app's developer, for some reason cannot help me
troubleshoot this. I don't know what kind of logging tool I can use to see
what's failing in the background. Can anyone here help me? Please let me
know if you need more information. Thanks!

[image: Exception 2 - PB video import.png]

[image: Exception 1 - PB video import.png]

Full exception log from the above screenshot:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Exception: Exception of type 'System.Exception' was thrown.
   at DiskTools.FileSystemExt4. .set_Position(Int64 )
   at . (Int64 )
   at . ( , UInt32 , List`1 , Byte )
   at . ( , Int32 , Int32 )
   at PinballBrowser.FormMainWindow. (Object , EventArgs )
   at PinballBrowser.FormMainWindow. (Boolean )
   at PinballBrowser.FormMainWindow. (Boolean )
   at PinballBrowser.FormMainWindow. (Object , EventArgs )
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Pinball-Browser
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase:
file:///C:/Users/Tim%20Stiles/Documents/JP%20Sound%20Replacement%20(MOVED%204-18x03-19-20)/PinballBrowser756/Pinball-Browser.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
NAudio
    Assembly Version: 1.7.0.15
    Win32 Version: 1.7.0.15
    CodeBase:
file:///C:/Users/Tim%20Stiles/Documents/JP%20Sound%20Replacement%20(MOVED%204-18x03-19-20)/PinballBrowser756/NAudio.DLL
----------------------------------------
Microsoft.CSharp
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Dynamic
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase:
file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
DiscUtils
    Assembly Version: 0.11.0.0
    Win32 Version: 0.11.0.0
    CodeBase:
file:///C:/Users/Tim%20Stiles/Documents/JP%20Sound%20Replacement%20(MOVED%204-18x03-19-20)/PinballBrowser756/DiscUtils.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

Exception 2 - PB video import.png (205K) Download Attachment
Exception 1 - PB video import.png (311K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

Jim DeLaHunt-2
On 2020-09-07 10:19, Tim Stiles wrote:

> Hello!
>
> This is my first time posting a help question, hopefully I'm doing
> it correctly.

Welcome to the ffmpeg-user list. I'm sorry to hear that you are
encountering obstacles. I'm not the world expert on FFmpeg, but I know a
little.

> Background: There is a Windows app called Pinball Browser. It is used to
> make video and audio updates to .RAW pinball machine firmwares.… [snip]
> Issue: For me specifically on my Windows 10 PC, these video playback and
> import features do not work. When I select a video to play, nothing happens
> (the app is supposed to have an inner window that displays the playback but
> that is non-existent when I hit play). When I import I get some nasty
> exceptions (See screenshots attached.…


OK, first question: where does FFmpeg come in to the problem? You report
that the app you are running, Pinball Browser, seems to use use FFmpeg.
However, I don't see a mention of FFmpeg in any of the error messages
you are showing.

People on this list can be more helpful if you start with a problem
description which consists of running FFmpeg by itself from the command
line, when you include the complete, uncut command line and all of the
FFmpeg output. That isn't what you have supplied, so I suspect that will
limit the help you get here.

Second question: Have you taken this problem to the support for Pinball
Browser?  What do they have to say about it?

Sorry I couldn't be more helpful. Best regards,
       —Jim DeLaHunt


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

Chris Miceli
Hi Tim,

As Jim was saying it's unfortunately a little difficult from what we can
see if it's ffmpeg causing you this trouble.

The stack trace seems to point at a dynamic library called DiskUtil and an
ext4 device. It's all a guess but I think the best starting point may be
the software developers over there, as this seems to me like the
application is trying to mount the RAW file you mentioned.

Best of luck.
Chris

On Tue, Sep 8, 2020, 6:52 AM Jim DeLaHunt <[hidden email]> wrote:

> On 2020-09-07 10:19, Tim Stiles wrote:
>
> > Hello!
> >
> > This is my first time posting a help question, hopefully I'm doing
> > it correctly.
>
> Welcome to the ffmpeg-user list. I'm sorry to hear that you are
> encountering obstacles. I'm not the world expert on FFmpeg, but I know a
> little.
>
> > Background: There is a Windows app called Pinball Browser. It is used to
> > make video and audio updates to .RAW pinball machine firmwares.… [snip]
> > Issue: For me specifically on my Windows 10 PC, these video playback and
> > import features do not work. When I select a video to play, nothing
> happens
> > (the app is supposed to have an inner window that displays the playback
> but
> > that is non-existent when I hit play). When I import I get some nasty
> > exceptions (See screenshots attached.…
>
>
> OK, first question: where does FFmpeg come in to the problem? You report
> that the app you are running, Pinball Browser, seems to use use FFmpeg.
> However, I don't see a mention of FFmpeg in any of the error messages
> you are showing.
>
> People on this list can be more helpful if you start with a problem
> description which consists of running FFmpeg by itself from the command
> line, when you include the complete, uncut command line and all of the
> FFmpeg output. That isn't what you have supplied, so I suspect that will
> limit the help you get here.
>
> Second question: Have you taken this problem to the support for Pinball
> Browser?  What do they have to say about it?
>
> Sorry I couldn't be more helpful. Best regards,
>        —Jim DeLaHunt
>
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

Tim Stiles
Thanks guys. I totally get your points about whether this is actually an
ffmpeg issue or not. I say that it is because these are the only features
of the app that are failing -- the ones that use ffmpeg.exe and
ffprobe.exe. I was able to get sysmon running and I could at least see that
when I hit the Play button in the app, ffprobe.exe is leveraged but no
video plays (this is not the step that leads to one of those errors, it's
the 3rd issue about playback within the Pinball Browser App).

Is it bad that, for ffprobe.exe a ProcessCreate event occurs, then and a
ProcessTerminate follows just milliseconds after? This is simply me
selecting a video and clicking Play.in the Pinball Browser app.
I see no errors in sysmon I just see these informational events:

-------------------------
ProcessCreate

EventData

RuleName -
UtcTime 2020-09-07 18:06:34.366
ProcessGuid {9094b94b-76aa-5f56-3b05-000000001c00}
ProcessId 3832
Image C:\Windows\System32\conhost.exe
FileVersion 10.0.19041.153 (WinBuild.160101.0800)
Description Console Window Host
Product Microsoft® Windows® Operating System
Company Microsoft Corporation
OriginalFileName CONHOST.EXE
CommandLine \??\C:\WINDOWS\system32\conhost.exe 0xffffffff -ForceV1
CurrentDirectory C:\WINDOWS
User DESKTOP-60KTN20\My Name
LogonGuid {9094b94b-54e4-5f56-1ccf-480000000000}
LogonId 0x48cf1c
TerminalSessionId 2
IntegrityLevel High
Hashes SHA1=578C53A7A785A7238272E28C53684FB51995E663
ParentProcessGuid {9094b94b-76aa-5f56-3a05-000000001c00}
ParentProcessId 9048
ParentImage C:\PB_short_path_test\PinballBrowser756\ffprobe.exe
ParentCommandLine "C:\PB_short_path_test\PinballBrowser756\ffprobe.exe" -v
error -show_format -show_streams -print_format xml C:\Users\My
Name\AppData\Local\Temp\pbi2.mp4

Then the next event is immediately...

------------------
ProcessTerminate

EventData

RuleName -
UtcTime 2020-09-07 18:06:34.425
ProcessGuid {9094b94b-76aa-5f56-3a05-000000001c00}
ProcessId 9048
Image C:\PB_short_path_test\PinballBrowser756\ffprobe.exe
-------------------

I have reached out to the developer and have done everything he's
recommended. For some reason he cannot tell me what's going on, he just
keeps saying it's probably a problem with ffmpeg on my machine. I will push
him to look closer at the exceptions that seem to not be ffmpeg related.

Maybe you guys can still help though? Could you please let me know what
command line I could run just to see if ffmpeg.exe or ffprobe.exe are
working as expected? I can tell you that I have ffplay.exe too (dev says
the app doesn't use that) and I can successfully launch any given .mp4 or
my machine via running ffplay.exe agains the file in my command prompt. I
don't know how to test the other two .exe's. Thank YOU!!



On Mon, Sep 7, 2020 at 2:05 PM Chris Miceli <[hidden email]> wrote:

> Hi Tim,
>
> As Jim was saying it's unfortunately a little difficult from what we can
> see if it's ffmpeg causing you this trouble.
>
> The stack trace seems to point at a dynamic library called DiskUtil and an
> ext4 device. It's all a guess but I think the best starting point may be
> the software developers over there, as this seems to me like the
> application is trying to mount the RAW file you mentioned.
>
> Best of luck.
> Chris
>
> On Tue, Sep 8, 2020, 6:52 AM Jim DeLaHunt <[hidden email]>
> wrote:
>
> > On 2020-09-07 10:19, Tim Stiles wrote:
> >
> > > Hello!
> > >
> > > This is my first time posting a help question, hopefully I'm doing
> > > it correctly.
> >
> > Welcome to the ffmpeg-user list. I'm sorry to hear that you are
> > encountering obstacles. I'm not the world expert on FFmpeg, but I know a
> > little.
> >
> > > Background: There is a Windows app called Pinball Browser. It is used
> to
> > > make video and audio updates to .RAW pinball machine firmwares.… [snip]
> > > Issue: For me specifically on my Windows 10 PC, these video playback
> and
> > > import features do not work. When I select a video to play, nothing
> > happens
> > > (the app is supposed to have an inner window that displays the playback
> > but
> > > that is non-existent when I hit play). When I import I get some nasty
> > > exceptions (See screenshots attached.…
> >
> >
> > OK, first question: where does FFmpeg come in to the problem? You report
> > that the app you are running, Pinball Browser, seems to use use FFmpeg.
> > However, I don't see a mention of FFmpeg in any of the error messages
> > you are showing.
> >
> > People on this list can be more helpful if you start with a problem
> > description which consists of running FFmpeg by itself from the command
> > line, when you include the complete, uncut command line and all of the
> > FFmpeg output. That isn't what you have supplied, so I suspect that will
> > limit the help you get here.
> >
> > Second question: Have you taken this problem to the support for Pinball
> > Browser?  What do they have to say about it?
> >
> > Sorry I couldn't be more helpful. Best regards,
> >        —Jim DeLaHunt
> >
> >
> > _______________________________________________
> > ffmpeg-user mailing list
> > [hidden email]
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

Jim DeLaHunt-2

On 2020-09-07 14:32, Tim Stiles wrote:
> Thanks guys. I totally get your points about […snip…]
>
> On Mon, Sep 7, 2020 at 2:05 PM Chris Miceli <[hidden email]> wrote:
>
>> Hi Tim,
>>
>> As Jim was saying it's unfortunately a little difficult from what we can
>> see if it's ffmpeg causing you this trouble.


There are bots which monitor this list and send cryptic messages about
"learn what top-posting is and stop doing it". You may have just
triggered them. This
<http://ffmpeg.org/mailing-list-faq.html#What-is-top_002dposting_003f>
is a hint about what they mean.


On 2020-09-07 14:32, Tim Stiles wrote:
> …Is it bad that, for ffprobe.exe a ProcessCreate event occurs, then and a
> ProcessTerminate follows just milliseconds after?…
>
> ParentImage C:\PB_short_path_test\PinballBrowser756\ffprobe.exe
> ParentCommandLine "C:\PB_short_path_test\PinballBrowser756\ffprobe.exe" -v
> error -show_format -show_streams -print_format xml C:\Users\My
> Name\AppData\Local\Temp\pbi2.mp4
>
Maybe, maybe not. The purpose of FFprobe is to examine a media file and
print out facts about its structure, format, size, etc. Maybe it can do
that in a few milliseconds. Computers these days are very fast. Or maybe
it is just failing immediately.
> …I have reached out to the developer and have done everything he's
> recommended.…

Good, good. That context matters for this list.


> …For some reason he cannot tell me what's going on, he just
> keeps saying it's probably a problem with ffmpeg on my machine. I will push
> him to look closer at the exceptions that seem to not be ffmpeg related.…
I can think of something the developer could do. The event log entries
you included in your message show that FFprobe was called, but they
don't show the result, or even whether the result indicated success or
failure.  The developer could ensure that some indication of result made
it into these logs.
> … Could you please let me know what
> command line I could run just to see if ffmpeg.exe or ffprobe.exe are
> working as expected?…

The first log entry appears to show how the app called FFprobe. You
could try to run that same command yourself from the Command Prompt:

C:\> "C:\PB_short_path_test\PinballBrowser756\ffprobe.exe" -v error
-show_format -show_streams -print_format xml "C:\Users\My
Name\AppData\Local\Temp\pbi2.mp4"

When you run that, what do you get?

Also, the final quoted entry in that command is the location of the file
being probed. Maybe try this again, but with you filling in the location
of the file you want to use.

Try posting the complete uncut command and output of those two experiments.

Best regards,
       —Jim DeLaHunt


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

Tim Stiles
Hi Jim! Hopefully I'm responding correctly, I'm not used to this email way
of posting. Unsure if I'm supposed to add my comments inline.

Tests you asked for:

"The first log entry appears to show how the app called FFprobe. You
could try to run that same command yourself from the Command Prompt:

C:\> "C:\PB_short_path_test\PinballBrowser756\ffprobe.exe" -v error
-show_format -show_streams -print_format xml "C:\Users\My
Name\AppData\Local\Temp\pbi2.mp4"

When you run that, what do you get?

Also, the final quoted entry in that command is the location of the file
being probed. Maybe try this again, but with you filling in the location
of the file you want to use.

Try posting the complete uncut command and output of those two experiments."

[Tim] Here is the command line output of both tests one after the other (I
just left them with my name in the directory paths since I suppose there's
no issue in doing so):

C:\Users\Tim Stiles>"C:\PB_short_path_test\PinballBrowser756\ffprobe.exe"
-v error -show_format -show_streams -print_format xml "C:\Users\Tim
Stiles\AppData\Local\Temp\pbi2.mp4"
<?xml version="1.0" encoding="UTF-8"?>
<ffprobe>
    <streams>
        <stream index="0" codec_name="h264" codec_long_name="H.264 / AVC /
MPEG-4 AVC / MPEG-4 part 10" profile="Constrained Baseline"
codec_type="video" codec_time_base="1/60" codec_tag_string="avc1"
codec_tag="0x31637661" width="1360" height="768" coded_width="1360"
coded_height="768" closed_captions="0" has_b_frames="0" pix_fmt="yuv420p"
level="30" chroma_location="left" refs="1" is_avc="true"
nal_length_size="4" r_frame_rate="30/1" avg_frame_rate="30/1"
time_base="1/15360" start_pts="0" start_time="0.000000"
duration_ts="236032" duration="15.366667" bit_rate="986381"
bits_per_raw_sample="8" nb_frames="461">
            <disposition default="1" dub="0" original="0" comment="0"
lyrics="0" karaoke="0" forced="0" hearing_impaired="0" visual_impaired="0"
clean_effects="0" attached_pic="0" timed_thumbnails="0"/>
            <tag key="language" value="eng"/>
            <tag key="handler_name" value="VideoHandler"/>
            <tag key="encoder" value="Lavc57.15.100 libx264"/>
        </stream>
    </streams>

    <format filename="C:\Users\Tim Stiles\AppData\Local\Temp\pbi2.mp4"
nb_streams="1" nb_programs="0" format_name="mov,mp4,m4a,3gp,3g2,mj2"
format_long_name="QuickTime / MOV" start_time="0.000000"
duration="15.367000" size="1897367" bit_rate="987761" probe_score="100">
        <tag key="major_brand" value="qt  "/>
        <tag key="minor_version" value="512"/>
        <tag key="compatible_brands" value="qt  "/>
        <tag key="date" value="2018-11-08T21:49:34.493414"/>
        <tag key="encoder" value="Lavf57.16.100"/>
    </format>
</ffprobe>

C:\Users\Tim Stiles>"C:\PB_short_path_test\PinballBrowser756\ffprobe.exe"
-v error -show_format -show_streams -print_format xml
"C:\PB_short_path_test\123.mp4"
<?xml version="1.0" encoding="UTF-8"?>
<ffprobe>
    <streams>
        <stream index="0" codec_name="h264" codec_long_name="H.264 / AVC /
MPEG-4 AVC / MPEG-4 part 10" profile="High" codec_type="video"
codec_time_base="1001/120000" codec_tag_string="avc1"
codec_tag="0x31637661" width="1920" height="1080" coded_width="1920"
coded_height="1088" closed_captions="0" has_b_frames="0"
sample_aspect_ratio="1:1" display_aspect_ratio="16:9" pix_fmt="yuv420p"
level="42" color_range="tv" color_space="bt709" color_transfer="bt709"
color_primaries="bt709" chroma_location="left" field_order="progressive"
refs="1" is_avc="true" nal_length_size="4" r_frame_rate="60000/1001"
avg_frame_rate="60000/1001" time_base="1/60000" start_pts="0"
start_time="0.000000" duration_ts="1577576" duration="26.292933"
bit_rate="20046181" bits_per_raw_sample="8" nb_frames="1576">
            <disposition default="1" dub="0" original="0" comment="0"
lyrics="0" karaoke="0" forced="0" hearing_impaired="0" visual_impaired="0"
clean_effects="0" attached_pic="0" timed_thumbnails="0"/>
            <tag key="creation_time" value="2020-09-07T19:57:49.000000Z"/>
            <tag key="language" value="und"/>
            <tag key="handler_name" value="Core Media Video"/>
        </stream>
    </streams>

    <format filename="C:\PB_short_path_test\123.mp4" nb_streams="1"
nb_programs="0" format_name="mov,mp4,m4a,3gp,3g2,mj2"
format_long_name="QuickTime / MOV" start_time="0.000000"
duration="26.292933" size="66199052" bit_rate="20142006" probe_score="100">
        <tag key="major_brand" value="mp42"/>
        <tag key="minor_version" value="1"/>
        <tag key="compatible_brands" value="mp41mp42isom"/>
        <tag key="creation_time" value="2020-09-07T19:57:49.000000Z"/>
    </format>
</ffprobe>

On Mon, Sep 7, 2020 at 3:03 PM Jim DeLaHunt <[hidden email]>
wrote:

>
> On 2020-09-07 14:32, Tim Stiles wrote:
> > Thanks guys. I totally get your points about […snip…]
> >
> > On Mon, Sep 7, 2020 at 2:05 PM Chris Miceli <[hidden email]> wrote:
> >
> >> Hi Tim,
> >>
> >> As Jim was saying it's unfortunately a little difficult from what we can
> >> see if it's ffmpeg causing you this trouble.
>
>
> There are bots which monitor this list and send cryptic messages about
> "learn what top-posting is and stop doing it". You may have just
> triggered them. This
> <http://ffmpeg.org/mailing-list-faq.html#What-is-top_002dposting_003f>
> is a hint about what they mean.
>
>
> On 2020-09-07 14:32, Tim Stiles wrote:
> > …Is it bad that, for ffprobe.exe a ProcessCreate event occurs, then and a
> > ProcessTerminate follows just milliseconds after?…
> >
> > ParentImage C:\PB_short_path_test\PinballBrowser756\ffprobe.exe
> > ParentCommandLine "C:\PB_short_path_test\PinballBrowser756\ffprobe.exe"
> -v
> > error -show_format -show_streams -print_format xml C:\Users\My
> > Name\AppData\Local\Temp\pbi2.mp4
> >
> Maybe, maybe not. The purpose of FFprobe is to examine a media file and
> print out facts about its structure, format, size, etc. Maybe it can do
> that in a few milliseconds. Computers these days are very fast. Or maybe
> it is just failing immediately.
> > …I have reached out to the developer and have done everything he's
> > recommended.…
>
> Good, good. That context matters for this list.
>
>
> > …For some reason he cannot tell me what's going on, he just
> > keeps saying it's probably a problem with ffmpeg on my machine. I will
> push
> > him to look closer at the exceptions that seem to not be ffmpeg related.…
> I can think of something the developer could do. The event log entries
> you included in your message show that FFprobe was called, but they
> don't show the result, or even whether the result indicated success or
> failure.  The developer could ensure that some indication of result made
> it into these logs.
> > … Could you please let me know what
> > command line I could run just to see if ffmpeg.exe or ffprobe.exe are
> > working as expected?…
>
> The first log entry appears to show how the app called FFprobe. You
> could try to run that same command yourself from the Command Prompt:
>
> C:\> "C:\PB_short_path_test\PinballBrowser756\ffprobe.exe" -v error
> -show_format -show_streams -print_format xml "C:\Users\My
> Name\AppData\Local\Temp\pbi2.mp4"
>
> When you run that, what do you get?
>
> Also, the final quoted entry in that command is the location of the file
> being probed. Maybe try this again, but with you filling in the location
> of the file you want to use.
>
> Try posting the complete uncut command and output of those two experiments.
>
> Best regards,
>        —Jim DeLaHunt
>
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

Jim DeLaHunt-2
On 2020-09-08 14:30, Tim Stiles wrote:

> Hi Jim! Hopefully I'm responding correctly, I'm not used to this email way
> of posting. Unsure if I'm supposed to add my comments inline.


Ehh, you are doing fine. Start by doing a "reply to all", and your email
program may indent the message to which you are replying, as mine has
done. Or set it off with "> " prefixes on each line. Then delete the
unnecessary part of the message, and interleave your reply.

The point is to make it easier to follow the thread of messages replying
to messages replying to messages, by reading from top to bottom.


> > The first log entry appears to show how the app called FFprobe. You
> > could try to run that same command yourself from the Command Prompt…
>
> [Tim] Here is the command line output of both tests one after the other…
>
> C:\Users\Tim Stiles>"C:\PB_short_path_test\PinballBrowser756\ffprobe.exe"
> -v error -show_format -show_streams -print_format xml "C:\Users\Tim
> Stiles\AppData\Local\Temp\pbi2.mp4"
> <?xml version="1.0" encoding="UTF-8"?>
> <ffprobe>
>      <streams>
>          …snip…
>      </streams>
>
>      <format filename=  …snip…
>      </format>
> </ffprobe>


What this seems to show is that FFprobe is installed, and runs
correctly, giving reasonable output. That makes it more likely that the
log entries you posted are noting a successful run of FFprobe, instead
of a failed run.  I think that puts the ball back in the PinballBrowser
court. Is it getting the same result when it calls FFprobe?  And that is
a question for them, not for this list.


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

kumowoon1025
In reply to this post by Tim Stiles
Hi,

> Issue: For me specifically on my Windows 10 PC, these video playback and
> import features do not work. When I select a video to play, nothing happens
> (the app is supposed to have an inner window that displays the playback but
> that is non-existent when I hit play).

Perhaps some differential diagnosis could be helpful. It sounds like the program worked, and you used it successfully at some point, what has changed? Which operating system did you run before?

Regards,
Ted Park
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unable to play or import video files in an app that uses ffmpeg

Tim Stiles
> > > The first log entry appears to show how the app called FFprobe. You
> > > could try to run that same command yourself from the Command Prompt…
>
> > [Tim] Here is the command line output of both tests one after the other…
> >
> > C:\Users\Tim
Stiles>"C:\PB_short_path_test\PinballBrowser756\ffprobe.exe"

> > -v error -show_format -show_streams -print_format xml "C:\Users\Tim
> > Stiles\AppData\Local\Temp\pbi2.mp4"
> > <?xml version="1.0" encoding="UTF-8"?>
> > <ffprobe>
> >      <streams>
> >          …snip…
> >      </streams>
> >
> >      <format filename=  …snip…
> >      </format>
> > </ffprobe>


> What this seems to show is that FFprobe is installed, and runs
> correctly, giving reasonable output. That makes it more likely that the
> log entries you posted are noting a successful run of FFprobe, instead
> of a failed run.  I think that puts the ball back in the PinballBrowser
> court. Is it getting the same result when it calls FFprobe?  And that is
> a question for them, not for this list.

Thank you! I will follow up again with the PB dev and see what he has to
say.

>
> > > Issue: For me specifically on my Windows 10 PC, these video playback
> and
> > > import features do not work. When I select a video to play, nothing
> happens
> > > (the app is supposed to have an inner window that displays the
> playback but
> > > that is non-existent when I hit play).
>
> > Perhaps some differential diagnosis could be helpful. It sounds like the
> program worked, and you used it successfully at some point, what has
> changed? Which operating system did you run before?
>
> Actually I don't think these features of the program ever worked for me,
on this Windows PC having the issue. My version of Windows 10 is kept up to
date. I unfortunately don't have a different PC to use and PB is only
supported for Windows/PC.
So,when you download the app those 3 .exe's are not included. You need to
go download them and copy them to the root Pinball Browser folder. Early
on, I didn't realize it was that simple. And I think I may have gone
overboard and "installed" the entire FFmpeg library/package. Could that
have been a bad idea? I feel like I would have gone and uninstalled any of
that once I realized but I'm not quite sure. When I look around I cannot
find any ffmpeg in programs and features. I only find these executables in
the PB directory. Is it possible that a bad version of ffmpeg is lurking on
my machine and conflicting with the "successful uses" by Pinball Browser or
my command line tests? Probably a stretch.
I guess beyond that, I'm curious if there are any other apps, drivers,
video cards, etc. specific to my PC that are known to cause issues with
ffmpeg in general? I have an Nvidia GE Force video card and am running
Nvidia's drivers. Pinball Browser is the only app that supports video
playback or import that I have any issues with though.. Thoughts?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".