[FFmpeg-user] Unable to play or import video files in an app that uses ffmpeg
Tim Stiles
tim.stiles79 at gmail.com
Wed Sep 9 00:30:09 EEST 2020
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 <list+ffmpeg-user at jdlh.com>
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 <chris at miceli.net.au> 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
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list